wok diff boxbackup-server/receipt @ rev 18341
Up: mercurial (3.5.1)
author | Alexander Medvedev <devl547@gmail.com> |
---|---|
date | Thu Sep 10 22:25:19 2015 +0000 (2015-09-10) |
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 Thu Sep 10 22:25:19 2015 +0000 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:"