# HG changeset patch # User Aleksej Bobylev # Date 1444265054 -10800 # Node ID 181af255e4286c4681876ddeb0cd0bbc84c4b0a9 # Parent 815908f4108703ceaa7b60987c5566e043e31b32 syslinux: fix post-install when upgrade the package No more "XXXXXXXX" here, so post_install() fails diff -r 815908f41087 -r 181af255e428 syslinux/receipt --- a/syslinux/receipt Thu Oct 08 00:36:08 2015 +0300 +++ b/syslinux/receipt Thu Oct 08 03:44:14 2015 +0300 @@ -125,5 +125,6 @@ # Pre and post install commands for Tazpkg. post_install() { - sed -i "s/XXXXXXXX/$(date +%Y%m%d)/" $1/boot/isolinux/isolinux.cfg + sed "/MENU TITLE SliTaz GNU\/Linux/ s| [0-9X]*$| $(date +%Y%m%d)|" \ + "$1/boot/isolinux/isolinux.cfg" }