tazlito rev 471

typo in update_metaiso_sizes()
author Pascal Bellard <pascal.bellard@slitaz.org>
date Wed Nov 29 23:33:43 2017 +0100 (21 months ago)
parents ed96060657d4
children 4bae445cd0bf
files tazlito
line diff
     1.1 --- a/tazlito	Sun Oct 15 10:17:25 2017 +0200
     1.2 +++ b/tazlito	Wed Nov 29 23:33:43 2017 +0100
     1.3 @@ -1258,7 +1258,7 @@
     1.4  		done
     1.5  		sed -i -e "/append [0-9]/s/append .*/append$new $1/" -e \
     1.6  			"/append ifmem [0-9]/s/append .*/append ifmem$new $1/" $cfg
     1.7 -		sed -i 's|\(initrd=\)\(.[^/]*\)\(/rootfs.\.gz\)|\1\2/rootfs.gz,\3|' $cfg
     1.8 +		sed -i 's|\(initrd=\)\(.[^/]*/\)\(rootfs\)|\1\2rootfs.gz,\2\3|' $cfg
     1.9  		sed -i '/LABEL base/{NNNNp;s|base .ive|cdrom|;s|base|cdrom|;s|,[^ ]*||}' $cfg
    1.10  		sed -i '/LABEL cdrom/{NNNNp;s|z cdrom|& text|;s|L cdrom|&text|;s|root=|screen=text &|;s|,[^ ]*||}' $cfg
    1.11  	done