fbs diff themes/default/init.sh @ rev 8

Remove ashism ==
author Pascal Bellard <pascal.bellard@slitaz.org>
date Tue Feb 26 12:27:47 2019 +0100 (2019-02-26)
parents
children
line diff
     1.1 --- /dev/null	Thu Jan 01 00:00:00 1970 +0000
     1.2 +++ b/themes/default/init.sh	Tue Feb 26 12:27:47 2019 +0100
     1.3 @@ -0,0 +1,8 @@
     1.4 +#!/bin/sh
     1.5 +# Expand the progress bar 
     1.6 +
     1.7 +width=$(fbset | fgrep "geometry" | cut -d " " -f 2)
     1.8 +bar_width=$(($width - 160))
     1.9 +
    1.10 +sed -i s"/BAR_WIDTH=.*/BAR_WIDTH=$bar_width/"  \
    1.11 +	$(dirname $0)/splash.cfg