Incorporate changes for version 2.0

This commit is contained in:
2026-02-25 17:26:01 -05:00
parent 5fc3a3e901
commit a3f9fe3bdb
12 changed files with 1736 additions and 1274 deletions

View File

@@ -2,6 +2,18 @@
# RIBS installer
rsync -av --chown=root:root dist/ /
chmod 777 /var/log/ribs
# test for superuser rights
if [[ $EUID -ne 0 ]]; then
echo "This script must be run with superuser privileges. Try sudo ./install.sh"
exit 1
fi
echo "Copying new files."
sleep 2
rsync -av --chown=root:root dist/ /
chmod +x /usr/local/bin/ribs
chmod +x /usr/local/bin/run_ribs_backups
chmod 777 /var/log/ribs
echo "Installation complete. RIBS must have a config file to run. Refer to"
echo "/etc/ribs/conf-available/ribs.conf.sample."
echo "Type ribs -h or ribs --help for help."