update
This commit is contained in:
@@ -1,15 +1,15 @@
|
||||
#!/usr/bin/env bash
|
||||
# Wrapper script for install, for easier execution via URL.
|
||||
|
||||
source /dev/stdin <<< "$(curl -sL https://git.schroedercity.com/voltron/Misc-Scripts/raw/master/colors.inc)"
|
||||
source /dev/stdin <<< "$(curl -sL https://git.schroedercity.com/voltron/Misc-Scripts/raw/master/default.inc)"
|
||||
source /dev/stdin <<< "$(curl -sL http://scity.xyz/colorsinc)"
|
||||
source /dev/stdin <<< "$(curl -sL http://scity.xyz/defaultinc)"
|
||||
|
||||
|
||||
if [ "$EUID" -ne 0 ]; then APTFUNC="sudo ${ATYPE}"
|
||||
else APTFUNC="${ATYPE}"
|
||||
fi
|
||||
echo ""
|
||||
echo -e "${CS[color,LightGreen]}LinUPx Installation Script${CS[color,Default]}"
|
||||
echo -e "${idsCL[LightGreen]}LinUPx Installation Script${idsCL[Default]}"
|
||||
|
||||
do_with_root $APTFUNC -y install wget curl git
|
||||
|
||||
@@ -26,9 +26,9 @@ echo -e "useAutoremove=1
|
||||
opennms=false" > /opt/idssys/LinUPx/settings.conf
|
||||
|
||||
echo ""
|
||||
echo -e "${CS[color,LightYellow]}LinUPx has been Installed${CS[color,Default]}"
|
||||
echo -e "${idsCL[Yellow]}LinUPx has been Installed${idsCL[Default]}"
|
||||
echo ""
|
||||
echo -e "To run updates, use the command: ${CS[color,Green]}runup${CS[color,Default]}"
|
||||
echo -e "To run updates, use the command: ${idsCL[Green]}runup${idsCL[Default]}"
|
||||
echo ""
|
||||
echo ""
|
||||
|
||||
|
||||
Reference in New Issue
Block a user