harmonise tar xzf commands

This commit is contained in:
2017-07-04 10:49:38 +02:00
parent 1cfadd569f
commit 49d0df8704
4 changed files with 6 additions and 6 deletions

View File

@@ -14,7 +14,7 @@ apt_install_permanent librsync-dev libsqlite3-dev libgnutls28-dev pkg-config
## Csync2
cd /opt
wget http://oss.linbit.com/csync2/csync2-$CSYNC_VERSION.tar.gz
tar xzvf csync2-$CSYNC_VERSION.tar.gz
tar xzf csync2-$CSYNC_VERSION.tar.gz
cd csync2-$CSYNC_VERSION
./configure
sed -i 's/\(verify_peername(\(const[^)]*\))\)/\1 {return 1;} int disabled(\2)/' daemon.c
@@ -49,4 +49,4 @@ if [ $MODE == "minimal" ]; then
cd /opt
rm -rf csync2-$CSYNC_VERSION*
rm -r lsyncd
fi
fi