tazusb rev 30

Fix: Update common.inc file if exist.
author Eric Joseph-Alexandre <erjo@slitaz.org>
date Wed Jun 25 15:59:58 2008 +0200 (2008-06-25)
parents de13a60336ca
children c7f6657928b2
files tazusb
line diff
     1.1 --- a/tazusb	Wed Jun 25 11:26:18 2008 +0000
     1.2 +++ b/tazusb	Wed Jun 25 15:59:58 2008 +0200
     1.3 @@ -245,6 +245,10 @@
     1.4  		sed -i s/isolinux.msg/$ST.msg/ $cfg
     1.5  	done
     1.6  
     1.7 +	# Modifing include file if exist.
     1.8 +	if [ -f $TARGET_ROOT/boot/$ST/common.inc ]; then
     1.9 +		sed -i -e "s/isolinux.msg/$ST.msg/" $TARGET_ROOT/boot/$ST/common.inc
    1.10 +	fi
    1.11  
    1.12  }
    1.13