This commit is contained in:
tteckster 2023-04-18 07:40:03 -04:00 committed by GitHub
parent 202827ce41
commit c44ab752e4
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
46 changed files with 46 additions and 76 deletions

View file

@ -74,7 +74,7 @@ msg_ok "Started AdguardHome"
msg_info "Cleaning Up" msg_info "Cleaning Up"
rm -rf AdGuardHome_linux_amd64.tar.gz AdGuardHome adguard-backup rm -rf AdGuardHome_linux_amd64.tar.gz AdGuardHome adguard-backup
msg_ok "Cleaned" msg_ok "Cleaned"
msg_ok "Update Successful" msg_ok "Updated Successfully"
exit exit
} }

View file

@ -356,7 +356,7 @@ msg_info "Updating ${APP} LXC"
pacman-key --init pacman-key --init
pacman-key --populate archlinux pacman-key --populate archlinux
pacman -Sy archlinux-keyring && pacman -Su pacman -Sy archlinux-keyring && pacman -Su
msg_ok "Update Successfull" msg_ok "Updated Successfully"
exit exit
} }

View file

@ -67,7 +67,7 @@ msg_ok "Updated ${APP} LXC"
msg_info "Starting ${APP} LXC" msg_info "Starting ${APP} LXC"
systemctl start autobrr.service systemctl start autobrr.service
msg_ok "Started ${APP} LXC" msg_ok "Started ${APP} LXC"
msg_ok "Update Successfull" msg_ok "Updated Successfully"
exit exit
} }

View file

@ -55,8 +55,7 @@ header_info
if [[ ! -f /etc/systemd/system/changedetection.service ]]; then msg_error "No ${APP} Installation Found!"; exit; fi if [[ ! -f /etc/systemd/system/changedetection.service ]]; then msg_error "No ${APP} Installation Found!"; exit; fi
msg_info "Updating ${APP} LXC" msg_info "Updating ${APP} LXC"
pip3 install changedetection.io --upgrade &>/dev/null pip3 install changedetection.io --upgrade &>/dev/null
msg_ok "Updated ${APP} LXC" msg_ok "Updated Successfully"
msg_ok "Update Successfull"
exit exit
} }

View file

@ -82,7 +82,7 @@ msg_ok "Cleaned"
msg_info "Starting Dashy" msg_info "Starting Dashy"
systemctl start dashy systemctl start dashy
msg_ok "Started Dashy" msg_ok "Started Dashy"
msg_ok "Update Successfull" msg_ok "Updated Successfully"
exit exit
} }

View file

@ -67,7 +67,7 @@ msg_ok "Updated ${APP}"
msg_info "Starting ${APP}" msg_info "Starting ${APP}"
systemctl start emby-server systemctl start emby-server
msg_ok "Started ${APP}" msg_ok "Started ${APP}"
msg_ok "Update Successfull" msg_ok "Updated Successfully"
exit exit
} }

View file

@ -64,7 +64,7 @@ msg_ok "Updated ESPHome"
msg_info "Starting ESPHome" msg_info "Starting ESPHome"
systemctl start esphomeDashboard systemctl start esphomeDashboard
msg_ok "Started ESPHome" msg_ok "Started ESPHome"
msg_ok "Update Successfull" msg_ok "Updated Successfully"
exit exit
} }

View file

@ -59,8 +59,7 @@ wget -q -O /usr/share/keyrings/grafana.key https://apt.grafana.com/gpg.key
echo "deb [signed-by=/usr/share/keyrings/grafana.key] https://apt.grafana.com stable main" | tee /etc/apt/sources.list.d/grafana.list echo "deb [signed-by=/usr/share/keyrings/grafana.key] https://apt.grafana.com stable main" | tee /etc/apt/sources.list.d/grafana.list
apt-get update &>/dev/null apt-get update &>/dev/null
apt-get -y upgrade &>/dev/null apt-get -y upgrade &>/dev/null
msg_ok "Updated ${APP}" msg_ok "Updated Successfully"
msg_ok "Update Successfull"
exit exit
} }

View file

@ -55,8 +55,7 @@ header_info
if [[ ! -f /etc/apache2/sites-available/grocy.conf ]]; then msg_error "No ${APP} Installation Found!"; exit; fi if [[ ! -f /etc/apache2/sites-available/grocy.conf ]]; then msg_error "No ${APP} Installation Found!"; exit; fi
msg_info "Updating ${APP}" msg_info "Updating ${APP}"
bash /var/www/html/update.sh bash /var/www/html/update.sh
msg_ok "Updated ${APP}" msg_ok "Updated Successfully"
msg_ok "Update Successfull"
exit exit
} }

View file

@ -136,7 +136,7 @@ msg_info "Starting ${APP}"
systemctl enable --now heimdall.service &>/dev/null systemctl enable --now heimdall.service &>/dev/null
sleep 2 sleep 2
msg_ok "Started ${APP}" msg_ok "Started ${APP}"
msg_ok "Update Successfull" msg_ok "Updated Successfully"
exit exit
} }

View file

@ -56,8 +56,7 @@ if [[ ! -d /var ]]; then msg_error "No ${APP} Installation Found!"; exit; fi
msg_info "Updating ${APP} LXC" msg_info "Updating ${APP} LXC"
apt-get update &>/dev/null apt-get update &>/dev/null
apt-get -y upgrade &>/dev/null apt-get -y upgrade &>/dev/null
msg_ok "Updated ${APP} LXC" msg_ok "Updated Successfully"
msg_ok "Update Successfull"
exit exit
} }

View file

@ -63,7 +63,7 @@ git pull --force &>/dev/null
pnpm install &>/dev/null pnpm install &>/dev/null
pnpm build &>/dev/null pnpm build &>/dev/null
systemctl start homepage systemctl start homepage
msg_ok "Update Successfull" msg_ok "Updated Successfully"
exit exit
} }

View file

@ -80,7 +80,7 @@ msg_ok "Cleaned"
msg_info "Starting ${APP}" msg_info "Starting ${APP}"
systemctl start homer systemctl start homer
msg_ok "Started ${APP}" msg_ok "Started ${APP}"
msg_ok "Update Successfull" msg_ok "Updated Successfully"
exit exit
} }

View file

@ -57,8 +57,7 @@ if [[ ! -f /etc/apt/sources.list.d/hyperion.list ]]; then msg_error "No ${APP} I
msg_info "Updating ${APP} LXC" msg_info "Updating ${APP} LXC"
apt-get update &>/dev/null apt-get update &>/dev/null
apt-get install -y hyperion &>/dev/null apt-get install -y hyperion &>/dev/null
msg_ok "Updated ${APP} LXC" msg_ok "Updated Successfully"
msg_ok "Update Successfull"
exit exit
} }

View file

@ -60,8 +60,7 @@ echo 'deb [signed-by=/etc/apt/trusted.gpg.d/influxdata-archive_compat.gpg] https
rm -f /etc/apt/trusted.gpg.d/influxdb.gpg rm -f /etc/apt/trusted.gpg.d/influxdb.gpg
apt-get update &>/dev/null apt-get update &>/dev/null
apt-get -y upgrade &>/dev/null apt-get -y upgrade &>/dev/null
msg_ok "Updated ${APP}" msg_ok "Updated Successfully"
msg_ok "Update Successfull"
exit exit
} }

View file

@ -56,8 +56,7 @@ if [[ ! -d /opt/iobroker ]]; then msg_error "No ${APP} Installation Found!"; exi
msg_info "Updating ${APP} LXC" msg_info "Updating ${APP} LXC"
apt-get update &>/dev/null apt-get update &>/dev/null
apt-get -y upgrade &>/dev/null apt-get -y upgrade &>/dev/null
msg_ok "Updated ${APP} LXC" msg_ok "Updated Successfully"
msg_ok "Update Successfull"
exit exit
} }

View file

@ -56,8 +56,7 @@ if [[ ! -f /etc/k0s/k0s.yaml ]]; then msg_error "No ${APP} Installation Found!";
msg_info "Updating ${APP} LXC" msg_info "Updating ${APP} LXC"
apt-get update &>/dev/null apt-get update &>/dev/null
apt-get -y upgrade &>/dev/null apt-get -y upgrade &>/dev/null
msg_ok "Updated ${APP} LXC" msg_ok "Updated Successfully"
msg_ok "Update Successfull"
exit exit
} }

View file

@ -57,8 +57,7 @@ if [[ ! -f /etc/systemd/system/keycloak.service ]]; then msg_error "No ${APP} In
msg_info "Updating ${APP} LXC" msg_info "Updating ${APP} LXC"
apt-get update &>/dev/null apt-get update &>/dev/null
apt-get -y upgrade &>/dev/null apt-get -y upgrade &>/dev/null
msg_ok "Updated ${APP} LXC" msg_ok "Updated Successfully"
msg_ok "Update Successfull"
exit exit
} }

View file

@ -58,8 +58,7 @@ msg_info "Updating ${APP} LXC"
cd /opt/magicmirror cd /opt/magicmirror
git pull &>/dev/null git pull &>/dev/null
npm install --only=prod --omit=dev &>/dev/null npm install --only=prod --omit=dev &>/dev/null
msg_ok "Updated ${APP} LXC" msg_ok "Updated Successfully"
msg_ok "Update Successfull"
exit exit
} }

View file

@ -56,8 +56,7 @@ if [[ ! -f /etc/apt/sources.list.d/mariadb.list ]]; then msg_error "No ${APP} In
msg_info "Updating ${APP} LXC" msg_info "Updating ${APP} LXC"
apt-get update &>/dev/null apt-get update &>/dev/null
apt-get -y upgrade &>/dev/null apt-get -y upgrade &>/dev/null
msg_ok "Updated ${APP} LXC" msg_ok "Updated Successfully"
msg_ok "Update Successfull"
exit exit
} }

View file

@ -56,8 +56,7 @@ if [[ ! -d /opt/meshcentral ]]; then msg_error "No ${APP} Installation Found!";
msg_info "Updating ${APP} LXC" msg_info "Updating ${APP} LXC"
apt-get update &>/dev/null apt-get update &>/dev/null
apt-get -y upgrade &>/dev/null apt-get -y upgrade &>/dev/null
msg_ok "Updated ${APP} LXC" msg_ok "Updated Successfully"
msg_ok "Update Successfull"
exit exit
} }

View file

@ -55,8 +55,7 @@ header_info
if [[ ! -f /etc/systemd/system/motioneye.service ]]; then msg_error "No ${APP} Installation Found!"; exit; fi if [[ ! -f /etc/systemd/system/motioneye.service ]]; then msg_error "No ${APP} Installation Found!"; exit; fi
msg_info "Updating ${APP} LXC" msg_info "Updating ${APP} LXC"
pip install motioneye --upgrade &>/dev/null pip install motioneye --upgrade &>/dev/null
msg_ok "Updated ${APP} LXC" msg_ok "Updated Successfully"
msg_ok "Update Successfull"
exit exit
} }

View file

@ -56,8 +56,7 @@ if [[ ! -f /etc/apt/sources.list.d/mosquitto-bullseye.list ]]; then msg_error "N
msg_info "Updating ${APP} LXC" msg_info "Updating ${APP} LXC"
apt-get update &>/dev/null apt-get update &>/dev/null
apt-get -y upgrade &>/dev/null apt-get -y upgrade &>/dev/null
msg_ok "Updated ${APP} LXC" msg_ok "Updated Successfully"
msg_ok "Update Successfull"
exit exit
} }

View file

@ -56,8 +56,7 @@ header_info
if [[ ! -f /etc/systemd/system/n8n.service ]]; then msg_error "No ${APP} Installation Found!"; exit; fi if [[ ! -f /etc/systemd/system/n8n.service ]]; then msg_error "No ${APP} Installation Found!"; exit; fi
msg_info "Updating ${APP} LXC" msg_info "Updating ${APP} LXC"
npm update -g n8n &>/dev/null npm update -g n8n &>/dev/null
msg_ok "Updated ${APP} LXC" msg_ok "Updated Successfully"
msg_ok "Update Successfull"
exit exit
} }

View file

@ -67,7 +67,7 @@ rm Navidrome.tar.gz
msg_info "${GN} Starting ${APP}" msg_info "${GN} Starting ${APP}"
systemctl start navidrome.service systemctl start navidrome.service
msg_ok "Started ${APP}" msg_ok "Started ${APP}"
msg_ok "Update Successfull" msg_ok "Updated Successfully"
exit exit
} }

View file

@ -56,8 +56,7 @@ if [[ ! -f /lib/systemd/system/nextcloud-domain.service ]]; then msg_error "No $
msg_info "Updating ${APP} LXC" msg_info "Updating ${APP} LXC"
apt-get update &>/dev/null apt-get update &>/dev/null
apt-get -y upgrade &>/dev/null apt-get -y upgrade &>/dev/null
msg_ok "Updated ${APP} LXC" msg_ok "Updated Successfully"
msg_ok "Update Successfull"
exit exit
} }

View file

@ -174,7 +174,7 @@ EOF
rm -rf ~/nginx-proxy-manager-* s6-overlay-noarch.tar.xz s6-overlay-x86_64.tar.xz rm -rf ~/nginx-proxy-manager-* s6-overlay-noarch.tar.xz s6-overlay-x86_64.tar.xz
msg_ok "Cleaned" msg_ok "Cleaned"
msg_ok "Update Successfull" msg_ok "Updated Successfully"
exit exit
} }

View file

@ -58,8 +58,7 @@ cd /opt/nocodb
npm uninstall -s --save nocodb &>/dev/null npm uninstall -s --save nocodb &>/dev/null
npm install -s --save nocodb &>/dev/null npm install -s --save nocodb &>/dev/null
systemctl restart nocodb.service systemctl restart nocodb.service
msg_ok "Updated ${APP}" msg_ok "Updated Successfully"
msg_ok "Update Successfull"
exit exit
} }

View file

@ -56,8 +56,7 @@ if [[ ! -d /opt/tplink ]]; then msg_error "No ${APP} Installation Found!"; exit;
msg_info "Updating ${APP} LXC" msg_info "Updating ${APP} LXC"
apt-get update &>/dev/null apt-get update &>/dev/null
apt-get -y upgrade &>/dev/null apt-get -y upgrade &>/dev/null
msg_ok "Updated ${APP} LXC" msg_ok "Updated Successfully"
msg_ok "Update Successfull"
exit exit
} }

View file

@ -57,8 +57,7 @@ if [[ ! -f /etc/apt/sources.list.d/openmediavault.list ]]; then msg_error "No ${
msg_info "Updating ${APP} LXC" msg_info "Updating ${APP} LXC"
apt-get update &>/dev/null apt-get update &>/dev/null
apt-get -y upgrade &>/dev/null apt-get -y upgrade &>/dev/null
msg_ok "Updated ${APP} LXC" msg_ok "Updated Successfully"
msg_ok "Update Successfull"
exit exit
} }

View file

@ -57,8 +57,7 @@ if [[ ! -f /etc/apt/sources.list.d/openhab.list ]]; then msg_error "No ${APP} In
msg_info "Updating ${APP} LXC" msg_info "Updating ${APP} LXC"
apt-get update &>/dev/null apt-get update &>/dev/null
apt-get -y upgrade &>/dev/null apt-get -y upgrade &>/dev/null
msg_ok "Updated ${APP} LXC" msg_ok "Updated Successfully"
msg_ok "Update Successfull"
exit exit
} }

View file

@ -56,8 +56,7 @@ if [[ ! -d /etc/pihole ]]; then msg_error "No ${APP} Installation Found!"; exit;
msg_info "Updating ${APP} LXC" msg_info "Updating ${APP} LXC"
apt-get update &>/dev/null apt-get update &>/dev/null
apt-get -y upgrade &>/dev/null apt-get -y upgrade &>/dev/null
msg_ok "Updated ${APP} LXC" msg_ok "Updated Successfully"
msg_ok "Update Successfull"
exit exit
} }

View file

@ -67,8 +67,7 @@ if [ "$UPD" == "1" ]; then
msg_info "Updating ${APP} LXC" msg_info "Updating ${APP} LXC"
apt-get update &>/dev/null apt-get update &>/dev/null
apt-get -y upgrade &>/dev/null apt-get -y upgrade &>/dev/null
msg_ok "Updated ${APP} LXC" msg_ok "Updated Successfully"
msg_ok "Update os system Successfull"
msg_info "Updating All Containers\n" msg_info "Updating All Containers\n"
CONTAINER_LIST="${1:-$(podman ps -q)}" CONTAINER_LIST="${1:-$(podman ps -q)}"

View file

@ -56,8 +56,7 @@ if [[ ! -f /etc/containers/registries.conf ]]; then msg_error "No ${APP} Install
msg_info "Updating ${APP} LXC" msg_info "Updating ${APP} LXC"
apt-get update &>/dev/null apt-get update &>/dev/null
apt-get -y upgrade &>/dev/null apt-get -y upgrade &>/dev/null
msg_ok "Updated ${APP} LXC" msg_ok "Updated Successfully"
msg_ok "Update Successfull"
exit exit
} }

View file

@ -56,8 +56,7 @@ if [[ ! -f /etc/apt/sources.list.d/pgdg.list ]]; then msg_error "No ${APP} Insta
msg_info "Updating ${APP} LXC" msg_info "Updating ${APP} LXC"
apt-get update &>/dev/null apt-get update &>/dev/null
apt-get -y upgrade &>/dev/null apt-get -y upgrade &>/dev/null
msg_ok "Updated ${APP} LXC" msg_ok "Updated Successfully"
msg_ok "Update Successfull"
exit exit
} }

View file

@ -56,8 +56,7 @@ if [[ ! -f /etc/systemd/system/prometheus.service ]]; then msg_error "No ${APP}
msg_info "Updating ${APP} LXC" msg_info "Updating ${APP} LXC"
apt-get update &>/dev/null apt-get update &>/dev/null
apt-get -y upgrade &>/dev/null apt-get -y upgrade &>/dev/null
msg_ok "Updated ${APP} LXC" msg_ok "Updated Successfully"
msg_ok "Update Successfull"
exit exit
} }

View file

@ -57,7 +57,7 @@ if [[ ! -d /etc/pacman.d ]]; then msg_error "No ${APP} Installation Found!"; exi
msg_info "Updating ${APP} LXC" msg_info "Updating ${APP} LXC"
dnf -y update dnf -y update
dnf -y upgrade dnf -y upgrade
msg_ok "Update Successfull" msg_ok "Updated Successfully"
exit exit
} }

View file

@ -57,8 +57,7 @@ if [[ ! -f /etc/systemd/system/scrypted.service ]]; then msg_error "No ${APP} In
msg_info "Updating ${APP} LXC" msg_info "Updating ${APP} LXC"
apt-get update &>/dev/null apt-get update &>/dev/null
apt-get -y upgrade &>/dev/null apt-get -y upgrade &>/dev/null
msg_ok "Updated ${APP} LXC" msg_ok "Updated Successfully"
msg_ok "Update Successfull"
exit exit
} }

View file

@ -57,8 +57,7 @@ if [[ ! -f /etc/apt/sources.list.d/syncthing.list ]]; then msg_error "No ${APP}
msg_info "Updating ${APP} LXC" msg_info "Updating ${APP} LXC"
apt-get update &>/dev/null apt-get update &>/dev/null
apt-get -y upgrade &>/dev/null apt-get -y upgrade &>/dev/null
msg_ok "Updated ${APP} LXC" msg_ok "Updated Successfully"
msg_ok "Update Successfull"
exit exit
} }

View file

@ -66,7 +66,7 @@ wget -q https://download.technitium.com/dns/DnsServerPortable.tar.gz
tar -zxf DnsServerPortable.tar.gz -C /etc/dns/ &>/dev/null tar -zxf DnsServerPortable.tar.gz -C /etc/dns/ &>/dev/null
rm -rf DnsServerPortable.tar.gz rm -rf DnsServerPortable.tar.gz
systemctl restart dns.service systemctl restart dns.service
msg_ok "Update Successfull" msg_ok "Updated Successfully"
exit exit
} }

View file

@ -76,7 +76,7 @@ msg_info "Starting ${APP}"
systemctl start trilium.service systemctl start trilium.service
sleep 1 sleep 1
msg_ok "Started ${APP}" msg_ok "Started ${APP}"
msg_ok "Update Successfull" msg_ok "Updated Successfully"
exit exit
} }

View file

@ -56,8 +56,7 @@ if [[ ! -d /usr/lib/unifi ]]; then msg_error "No ${APP} Installation Found!"; ex
msg_info "Updating ${APP}" msg_info "Updating ${APP}"
wget -qL https://get.glennr.nl/unifi/update/unifi-update.sh wget -qL https://get.glennr.nl/unifi/update/unifi-update.sh
bash unifi-update.sh bash unifi-update.sh
msg_ok "Updated ${APP}" msg_ok "Updated Successfully"
msg_ok "Update Successfull"
exit exit
} }

View file

@ -74,7 +74,7 @@ msg_ok "Updated ${APP}"
msg_info "Starting ${APP}" msg_info "Starting ${APP}"
sudo systemctl start uptime-kuma &>/dev/null sudo systemctl start uptime-kuma &>/dev/null
msg_ok "Started ${APP}" msg_ok "Started ${APP}"
msg_ok "Update Successfull" msg_ok "Updated Successfully"
exit exit
} }

View file

@ -55,8 +55,7 @@ header_info
if [[ ! -f /usr/local/bin/whoogle-search ]]; then msg_error "No ${APP} Installation Found!"; exit; fi if [[ ! -f /usr/local/bin/whoogle-search ]]; then msg_error "No ${APP} Installation Found!"; exit; fi
msg_info "Updating ${APP} LXC" msg_info "Updating ${APP} LXC"
pip3 install whoogle-search --upgrade &>/dev/null pip3 install whoogle-search --upgrade &>/dev/null
msg_ok "Updated ${APP} LXC" msg_ok "Updated Successfully"
msg_ok "Update Successfull"
exit exit
} }

View file

@ -79,7 +79,7 @@ msg_ok "Restored Data"
msg_info "Starting ${APP}" msg_info "Starting ${APP}"
systemctl start wikijs systemctl start wikijs
msg_ok "Started ${APP}" msg_ok "Started ${APP}"
msg_ok "Update Successfull" msg_ok "Updated Successfully"
exit exit
} }

View file

@ -61,8 +61,7 @@ if [ "$UPD" == "1" ]; then
msg_info "Updating ${APP} LXC" msg_info "Updating ${APP} LXC"
apt-get update &>/dev/null apt-get update &>/dev/null
apt-get -y upgrade &>/dev/null apt-get -y upgrade &>/dev/null
msg_ok "Updated ${APP} LXC" msg_ok "Updated Successfully"
msg_ok "Update Successfull"
exit exit
fi fi
if [ "$UPD" == "2" ]; then if [ "$UPD" == "2" ]; then