wok-6.x diff usbmuxd/receipt @ rev 18949
mdocml: add LDFLAGS
author | Pascal Bellard <pascal.bellard@slitaz.org> |
---|---|
date | Sun Mar 06 21:11:00 2016 +0100 (2016-03-06) |
parents | 2a21689b0af7 |
children | 970c5ec9a60a |
line diff
1.1 --- a/usbmuxd/receipt Thu Oct 03 09:52:57 2013 +0000 1.2 +++ b/usbmuxd/receipt Sun Mar 06 21:11:00 2016 +0100 1.3 @@ -38,15 +38,15 @@ 1.4 post_install() 1.5 { 1.6 # adduser usbmuxd if needed 1.7 - if ! grep -q usbmuxd $1/etc/passwd; then 1.8 + if ! grep -q usbmuxd "$1/etc/passwd"; then 1.9 echo -n "Adding user privoxy..." 1.10 - chroot $1/ adduser -s /bin/false -H -D -u 140 usbmuxd 1.11 + chroot "$1/" adduser -s /bin/false -H -D -u 140 usbmuxd 1.12 status 1.13 fi 1.14 1.15 - if ! grep -q usbmuxd $1/etc/group; then 1.16 + if ! grep -q usbmuxd "$1/etc/group"; then 1.17 echo -n "Adding group privoxy..." 1.18 - chroot $1/ addgroup -g 140 usbmuxd 1.19 + chroot "$1/" addgroup -g 140 usbmuxd 1.20 status 1.21 fi 1.22 } 1.23 @@ -54,6 +54,6 @@ 1.24 # Del user usbmuxd when pkg is removed. 1.25 post_remove() 1.26 { 1.27 - chroot $1/ deluser usbmuxd 1.28 - chroot $1/ delgroup usbmuxd 1.29 + chroot "$1/" deluser usbmuxd 1.30 + chroot "$1/" delgroup usbmuxd 1.31 }