This commit is contained in:
2023-07-15 15:18:43 -05:00
parent 1168cd222d
commit 55b6733968
3 changed files with 78 additions and 0 deletions

24
install.sh Executable file
View File

@@ -0,0 +1,24 @@
#!/usr/bin/env bash
source /dev/stdin <<< "$(curl -sL http://go.scity.us/colorsinc)"
source /dev/stdin <<< "$(curl -sL http://go.scity.us/defaultinc)"
echo -e "\n${idsCL[LightGreen]}Emulator-Nextcloud-Sync Installation Script${idsCL[Default]}"
set -eu
git clone https://git.schroedercity.com/voltron/emulator-sync.git /opt/idssys/emulator-sync
ln -s /opt/idssys/emulator-sync/run.sh /usr/local/bin/esync
if [ ! -d "/opt/idssys/defaults" ]; then
git clone https://git.schroedercity.com/voltron/iDS-Defaults.git /opt/idssys/defaults
fi
echo ""
echo -e "${idsCL[Yellow]}Emulator-Nextcloud-Sync has been Installed${idsCL[Default]}"
echo ""
echo -e "To run backups, use the command: ${idsCL[Green]}esync${idsCL[Default]}"
echo ""
echo ""
exit 0