Commit 9b48ff47 authored by Igor Pecovnik's avatar Igor Pecovnik
Browse files

Add UrBackup to Softy. Open Source client/server backup system https://www.urbackup.org/

parent 479afc65
......@@ -56,6 +56,9 @@ LIST+=( "Pi hole" "Ad blocker" "$PI_HOLE_STATUS" )
# Transmission
TRANSMISSION_STATUS="$(check_if_installed transmission-daemon && echo "on" || echo "off" )"
LIST+=( "Transmission" "Torrent downloading" "$TRANSMISSION_STATUS" )
# UrBackup
URBACKUP_STATUS="$(check_if_installed urbackup-server && echo "on" || echo "off" )"
LIST+=( "UrBackup" "Open Source client/server backup system" "$URBACKUP_STATUS" )
# ISPconfig
ISPCONFIG_STATUS="$([[ -d /usr/local/ispconfig ]] && echo "on" || echo "off" )"
LIST+=( "ISPConfig" "SMTP mail, IMAP, POP3 & LAMP/LEMP web server" "$ISPCONFIG_STATUS" )
......@@ -462,6 +465,18 @@ debconf-apt-progress -- apt-get -y install libssl-doc libssl1.0.0 zlib1g-dev tvh
}
install_urbackup (){
#------------------------------------------------------------------------------------------------------------------------------------------
# Open Source client/server backup system https://www.urbackup.org/
#------------------------------------------------------------------------------------------------------------------------------------------
PREFIX="http://hndl.urbackup.org/Server/latest/"
URL="http://hndl.urbackup.org/Server/latest/"$(wget -q $PREFIX -O - | html2text -width 120 | grep deb | awk ' { print $3 }' | grep $(dpkg --print-architecture))
wget -q $URL -O ${TEMP_DIR}/package.deb
dpkg -i ${TEMP_DIR}/package.deb
debconf-apt-progress -- apt-get -f install
}
install_transmission (){
#------------------------------------------------------------------------------------------------------------------------------------------
# transmission
......@@ -1163,6 +1178,12 @@ while true; do
check_port 9091 transmission
fi
if [[ "$selection" == *UrBackup* && "$URBACKUP_STATUS" != "on" ]]; then
install_urbackup
check_port 55414
fi
# reread statuses
check_status
i=$[$i+1]
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment