wok diff urbackup-server/receipt @ rev 19954
urbackup-server: add post_install (again)
author | Pascal Bellard <pascal.bellard@slitaz.org> |
---|---|
date | Mon May 08 14:46:01 2017 +0200 (2017-05-08) |
parents | 781e09fb8b54 |
children | 970c5ec9a60a |
line diff
1.1 --- a/urbackup-server/receipt Mon May 08 13:50:13 2017 +0200 1.2 +++ b/urbackup-server/receipt Mon May 08 14:46:01 2017 +0200 1.3 @@ -17,7 +17,7 @@ 1.4 # Rules to configure and make the package. 1.5 compile_rules() 1.6 { 1.7 - sed -i 's/chown/echo &/' Makefile* 1.8 + sed -i 's/chown/echo &/;s/adduser/echo &/g' Makefile* 1.9 ./configure --prefix=/usr \ 1.10 --localstatedir=/var \ 1.11 $CONFIGURE_ARGS && 1.12 @@ -46,7 +46,7 @@ 1.13 if ! grep -q $user "$1/etc/passwd"; then 1.14 echo -n "Adding user/group $user..." 1.15 chroot "$1/" addgroup -S $group 1.16 - chroot "$1/" adduser -s /bin/false -S -D -H -G $group $user 1.17 + chroot "$1/" adduser -s /bin/false -S -D -h /var/urbackup -G $group $user 1.18 status 1.19 fi 1.20 chroot "$1/" chown urbackup:urbackup /usr/share/urbackup /usr/share/urbackup/urbackup_ecdsa409k1.pub