wok diff couchdb/receipt @ rev 20534

Add util-linux-losetup
author Pascal Bellard <pascal.bellard@slitaz.org>
date Mon Nov 26 09:46:23 2018 +0100 (2018-11-26)
parents 9e01bc6321ea
children a3c45ab9082e
line diff
     1.1 --- a/couchdb/receipt	Sun Dec 20 15:13:45 2015 +0100
     1.2 +++ b/couchdb/receipt	Mon Nov 26 09:46:23 2018 +0100
     1.3 @@ -18,7 +18,6 @@
     1.4  # Rules to configure and make the package.
     1.5  compile_rules()
     1.6  {
     1.7 -	cd $src
     1.8  	./configure \
     1.9  		--prefix=/usr \
    1.10  		--sysconfdir=/etc \
    1.11 @@ -52,9 +51,7 @@
    1.12  pre_install()
    1.13  {
    1.14  	INIT_FILE="/etc/init.d/$PACKAGE"
    1.15 -	echo "Processing pre-install commands..."
    1.16  	[ -f "$1$INIT_FILE" ] && chroot "$1/" $INIT_FILE stop
    1.17 -	echo "Done..."
    1.18  }
    1.19  
    1.20  # Post install commands for tazpkg
    1.21 @@ -66,8 +63,6 @@
    1.22  	LOGDIR="/var/log/$PACKAGE"
    1.23  	RUNDIR="/var/run/$PACKAGE"
    1.24  
    1.25 -	echo "Processing post-install commands..."
    1.26 -
    1.27  	grep -q "$PACKAGE" "$1/etc/group" || chroot "$1/" addgroup -S $PACKAGE
    1.28  
    1.29  	grep -q "$PACKAGE" "$1/etc/passwd" || chroot "$1/" adduser -S -D -H \
    1.30 @@ -77,17 +72,13 @@
    1.31  		chroot "$1/" chown -R $PACKAGE:$PACKAGE $DIR &&
    1.32  		chroot "$1/" chmod -R 0770 $DIR
    1.33  	done
    1.34 -
    1.35 -	echo "Done..."
    1.36  }
    1.37  
    1.38  # Pre and post remove commands for Tazpkg.
    1.39  pre_remove()
    1.40  {
    1.41  	INIT_FILE="/etc/init.d/$PACKAGE"
    1.42 -	echo "Processing pre-remove commands..."
    1.43  	[ -f "$1$INIT_FILE" ] && chroot "$1/" $INIT_FILE stop
    1.44 -	echo "Done..."
    1.45  }
    1.46  
    1.47  post_remove()
    1.48 @@ -97,13 +88,9 @@
    1.49  	LOGDIR="/var/log/$PACKAGE"
    1.50  	RUNDIR="/var/run/$PACKAGE"
    1.51  
    1.52 -	echo "Processing post-remove commands..."
    1.53 -
    1.54  	chroot "$1/" deluser $PACKAGE
    1.55  
    1.56  	for DIR in $LIBDIR $ETCDIR $LOGDIR $RUNDIR; do
    1.57  		rm -rf "$1$DIR"
    1.58  	done
    1.59 -
    1.60 -	echo "Done..."
    1.61  }