various corrections to permit succesfull builds

This commit is contained in:
2016-05-15 22:28:59 +01:00
parent 372944dc81
commit b7072dd538
15 changed files with 201 additions and 36 deletions

View File

@@ -1,2 +1,21 @@
## Configuration
export_env BACKINTIME_VERSION 1.1.12
## Dependencies
apt_install_permanent gettext python3 python3-dbus
## Back In Time
apt_install_permanent backintime-common python-dbus
cd /opt
wget https://github.com/bit-team/backintime/releases/download/v1.1.10/backintime-$BACKINTIME_VERSION.tar.gz
tar zxvf backintime-$BACKINTIME_VERSION.tar.gz
cd backintime-$BACKINTIME_VERSION/common
./configure
make
make install
sed -i 's,^ssh-agent,,' /usr/bin/backintime
## Remove installation files
if [ $MODE == "minimal" ]; then
cd /opt
rm -rf backintime-$BACKINTIME_VERSION*
fi