update
This commit is contained in:
24
install.sh
Executable file
24
install.sh
Executable 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
|
||||
Reference in New Issue
Block a user