wok diff partimage-pam/receipt @ rev 20245
Add dciutil
author | Pascal Bellard <pascal.bellard@slitaz.org> |
---|---|
date | Sat Mar 10 18:59:00 2018 +0100 (2018-03-10) |
parents | 9e01bc6321ea |
children | 8dd8bab3f0ca |
line diff
1.1 --- a/partimage-pam/receipt Sun Dec 20 15:13:45 2015 +0100 1.2 +++ b/partimage-pam/receipt Sat Mar 10 18:59:00 2018 +0100 1.3 @@ -20,10 +20,13 @@ 1.4 { 1.5 sed -i 's/gzFile \*m_gzImageFile/gzFile m_gzImageFile/' src/client/imagefile.h 1.6 sed -i 's/(gzFile \*) gzdopen/gzdopen/' src/client/imagefile.cpp 1.7 - ./configure --prefix=/usr --enable-pam \ 1.8 - --sysconfdir=/etc \ 1.9 - --infodir=/usr/share/info \ 1.10 - --mandir=/usr/share/man $CONFIGURE_ARGS && 1.11 + ./configure \ 1.12 + --prefix=/usr \ 1.13 + --enable-pam \ 1.14 + --sysconfdir=/etc \ 1.15 + --infodir=/usr/share/info \ 1.16 + --mandir=/usr/share/man \ 1.17 + $CONFIGURE_ARGS && 1.18 make && 1.19 make DESTDIR=$DESTDIR install 1.20 } 1.21 @@ -40,28 +43,28 @@ 1.22 1.23 post_install() 1.24 { 1.25 - echo "Processing post install commands..." 1.26 + newline 1.27 echo "Adding user/group partimag..." 1.28 chroot "$1/" adduser -S -H -D partimag 1.29 1.30 echo "Setting permissions for config files" 1.31 chmod 0600 "$1"/etc/partimaged/* 1.32 chroot "$1/" chown partimag.partimag "$1"/etc/partimaged/* 1.33 - 1.34 - echo " Creating image files directory" 1.35 + 1.36 + echo "Creating image files directory" 1.37 chroot "$1/" install -g partimag -o partimag -m 0755 -d "$1/var/lib/partimaged" 1.38 - 1.39 + 1.40 echo "" 1.41 echo -e "\nTo starts $SOURCE server you can run :\n" 1.42 - echo "/etc/init.d/partimaged start" 1.43 - echo -e "Or add partimaged to RUN_DAEMONS in /etc/rcS.conf\n" 1.44 + echo "/etc/init.d/partimaged start" 1.45 + echo -e "Or add partimaged to RUN_DAEMONS in /etc/rcS.conf\n" 1.46 } 1.47 1.48 post_remove() 1.49 { 1.50 chroot "$1/" deluser partimag 1.51 chroot "$1/" delgroup partimag 1.52 - 1.53 + 1.54 if [ -f "$1/etc/paritimaged" ]; then 1.55 rm -rf "$1/etc/partimaged" 1.56 fi