wok-6.x rev 8157
LOCAL_STATE typo fix was not applied as /etc/slitaz/slitaz.conf is a config file
author | Antoine Bodin <gokhlayeh@slitaz.org> |
---|---|
date | Wed Jan 26 21:35:51 2011 +0100 (2011-01-26) |
parents | 03ce89cf27d3 |
children | a177dbf487db |
files | tazpkg/receipt |
line diff
1.1 --- a/tazpkg/receipt Wed Jan 26 14:54:09 2011 +0000 1.2 +++ b/tazpkg/receipt Wed Jan 26 21:35:51 2011 +0100 1.3 @@ -37,3 +37,10 @@ 1.4 ln -s /usr/share/pixmaps/tazpkg.png package-x-tazpkg.png 1.5 ln -s /usr/share/pixmaps/tazpkg.png gnome-mime-application-x-tazpkg.png 1.6 } 1.7 + 1.8 +post_install() 1.9 +{ 1.10 + #Apply a fix to config file /etc/slitaz/slitaz.conf 1.11 + [ -f /etc/slitaz/slitaz.conf ] && sed 's/LOCAL_STATE/LOCALSTATE/'\ 1.12 + -i /etc/slitaz/slitaz.conf 1.13 +} 1.14 \ No newline at end of file