wok-6.x diff boxbackup-server/receipt @ rev 18576

typo
author Xander Ziiryanoff <psychomaniak@xakep.ru>
date Wed Nov 11 01:51:31 2015 +0100 (2015-11-11)
parents 82816c8eb08b
children fca172c323cf
line diff
     1.1 --- a/boxbackup-server/receipt	Wed Apr 15 10:26:28 2015 +0200
     1.2 +++ b/boxbackup-server/receipt	Wed Nov 11 01:51:31 2015 +0100
     1.3 @@ -28,7 +28,6 @@
     1.4  # Rules to configure and make the package.
     1.5  compile_rules()
     1.6  {
     1.7 -	cd $src
     1.8  	./configure --prefix=/usr $CONFIGURE_ARGS &&
     1.9  	make -j1 && {
    1.10  		mkdir -p $DESTDIR
    1.11 @@ -63,7 +62,7 @@
    1.12  {
    1.13  	# default conf dir is now /etc/boxbackup
    1.14  	if [ ! -e $1/etc/box/bbstored.conf ]; then
    1.15 -		mv $1/etc/box $1$CONF_DIR
    1.16 +		mv /etc/box $1$CONF_DIR
    1.17  	fi
    1.18  
    1.19  	# adduser BBUSER if needed
    1.20 @@ -142,11 +141,11 @@
    1.21  		status
    1.22  
    1.23  		# Securing $CONF_DIR
    1.24 -		chroot $1/ chown -R $BBUSER $CONF_DIR/bbstored* &&i
    1.25 +		chroot $1/ chown -R $BBUSER $CONF_DIR/bbstored* &&
    1.26  		chmod 700 -R $1$CONF_DIR/bbstored*
    1.27  	fi
    1.28  
    1.29 -	if [ -e $CA_DIR ]; then
    1.30 +	if [ -e $1$CA_DIR ]; then
    1.31  		# Warning
    1.32  		echo
    1.33  		echo "IMPORTANT NOTE:"