wok diff tazpkg/receipt @ rev 23803
updated awesome (3.5.1 -> 4.3)
author | Hans-G?nter Theisgen |
---|---|
date | Sun May 24 07:53:22 2020 +0100 (2020-05-24) |
parents | a890cf5553ee |
children | 924febe49050 |
line diff
1.1 --- a/tazpkg/receipt Sun Jan 13 11:43:59 2019 +0100 1.2 +++ b/tazpkg/receipt Sun May 24 07:53:22 2020 +0100 1.3 @@ -49,12 +49,12 @@ 1.4 post_install() 1.5 { 1.6 # Apply a fix to config file /etc/slitaz/slitaz.conf 1.7 - [ -f /etc/slitaz/slitaz.conf ] && \ 1.8 - sed -i 's/LOCAL_STATE/LOCALSTATE/' /etc/slitaz/slitaz.conf 1.9 + [ -f $1/etc/slitaz/slitaz.conf ] && \ 1.10 + sed -i 's/LOCAL_STATE/LOCALSTATE/' $1/etc/slitaz/slitaz.conf 1.11 1.12 # Make sure new config is present 1.13 - if ! grep -q ^NOTIFY_GEOM "$root/etc/slitaz/tazpkg.conf"; then 1.14 - cat >> "$root/etc/slitaz/tazpkg.conf" << "EOT" 1.15 + if ! grep -q ^NOTIFY_GEOM "$1/etc/slitaz/tazpkg.conf"; then 1.16 + cat >> "$1/etc/slitaz/tazpkg.conf" << "EOT" 1.17 # The geometry of the desktop notification 1.18 NOTIFY_GEOM="360x80-0+24" 1.19