# HG changeset patch # User Antoine Bodin # Date 1296074151 -3600 # Node ID cc653a39a5c7adef2f5765d801f90eda832504e6 # Parent 03ce89cf27d39964db5d8257e0bca3183ed13963 LOCAL_STATE typo fix was not applied as /etc/slitaz/slitaz.conf is a config file diff -r 03ce89cf27d3 -r cc653a39a5c7 tazpkg/receipt --- a/tazpkg/receipt Wed Jan 26 14:54:09 2011 +0000 +++ b/tazpkg/receipt Wed Jan 26 21:35:51 2011 +0100 @@ -37,3 +37,10 @@ ln -s /usr/share/pixmaps/tazpkg.png package-x-tazpkg.png ln -s /usr/share/pixmaps/tazpkg.png gnome-mime-application-x-tazpkg.png } + +post_install() +{ + #Apply a fix to config file /etc/slitaz/slitaz.conf + [ -f /etc/slitaz/slitaz.conf ] && sed 's/LOCAL_STATE/LOCALSTATE/'\ + -i /etc/slitaz/slitaz.conf +} \ No newline at end of file