wok rev 18480

syslinux: fix post-install when upgrade the package
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 815908f41087
children 6492649051cf
files syslinux/receipt
line diff
     1.1 --- a/syslinux/receipt	Thu Oct 08 00:36:08 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  }