wok-6.x diff syslinux/receipt @ rev 18480
syslinux: fix post-install when upgrade the package
No more "XXXXXXXX" here, so post_install() fails
No more "XXXXXXXX" here, so post_install() fails
author | Aleksej Bobylev <al.bobylev@gmail.com> |
---|---|
date | Thu Oct 08 03:44:14 2015 +0300 (2015-10-08) |
parents | 325d6b98268c |
children | f9743cf20afc |
line diff
1.1 --- a/syslinux/receipt Sat Oct 03 16:36:26 2015 +0300 1.2 +++ b/syslinux/receipt Thu Oct 08 03:44:14 2015 +0300 1.3 @@ -125,5 +125,6 @@ 1.4 # Pre and post install commands for Tazpkg. 1.5 post_install() 1.6 { 1.7 - sed -i "s/XXXXXXXX/$(date +%Y%m%d)/" $1/boot/isolinux/isolinux.cfg 1.8 + sed "/MENU TITLE SliTaz GNU\/Linux/ s| [0-9X]*$| $(date +%Y%m%d)|" \ 1.9 + "$1/boot/isolinux/isolinux.cfg" 1.10 }