wok diff tazpkg/receipt @ rev 23654
Up openssh (8.2p1)
author | Pascal Bellard <pascal.bellard@slitaz.org> |
---|---|
date | Tue Apr 21 06:14:03 2020 +0000 (2020-04-21) |
parents | a890cf5553ee |
children | 924febe49050 |
line diff
1.1 --- a/tazpkg/receipt Sun Jan 13 11:43:59 2019 +0100 1.2 +++ b/tazpkg/receipt Tue Apr 21 06:14:03 2020 +0000 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