From 5ce5d916658330bc7e271f59757167dac414cd3d Mon Sep 17 00:00:00 2001 From: tteckster Date: Fri, 23 Sep 2022 12:12:58 -0400 Subject: [PATCH] maintenance (#543) --- setup/adguard-install.sh | 1 - setup/casaos-install.sh | 1 - setup/daemonsync-install.sh | 1 - setup/dashy-install.sh | 1 - setup/debian-install.sh | 1 - setup/deconz-install.sh | 1 - setup/docker-install.sh | 1 - setup/emby-install.sh | 1 - setup/esphome-install.sh | 1 - setup/grafana-install.sh | 1 - setup/grocy-install.sh | 2 +- setup/heimdalldashboard-install.sh | 1 - setup/homeassistant-install.sh | 1 - setup/homebridge-install.sh | 1 - setup/homepage-install.sh | 1 - setup/influxdb-install.sh | 1 - setup/iobroker-install.sh | 1 - setup/jellyfin-install.sh | 1 - setup/keycloak-install.sh | 1 - setup/magicmirror-install.sh | 1 - setup/meshcentral-install.sh | 1 - setup/motioneye-install.sh | 1 - setup/mqtt-install.sh | 1 - setup/n8n-install.sh | 1 - setup/navidrome-install.sh | 2 +- setup/nginx-proxy-manager-install.sh | 1 - setup/nocodb-install.sh | 1 - setup/node-red-install.sh | 1 - setup/omada-install.sh | 1 - setup/openhab-install.sh | 1 - setup/plex-install.sh | 1 - setup/prometheus-install.sh | 2 +- setup/syncthing-install.sh | 1 - setup/technitiumdns-install.sh | 1 - setup/trilium-install.sh | 2 +- setup/ubuntu-install.sh | 1 - setup/unifi-install.sh | 1 - setup/uptimekuma-install.sh | 1 - setup/vaultwarden-install.sh | 1 - setup/whoogle-install.sh | 1 - setup/wikijs-install.sh | 1 - setup/wireguard-install.sh | 1 - setup/zigbee2mqtt-install.sh | 1 - 43 files changed, 4 insertions(+), 43 deletions(-) diff --git a/setup/adguard-install.sh b/setup/adguard-install.sh index 61be5518240..080e2cffb46 100644 --- a/setup/adguard-install.sh +++ b/setup/adguard-install.sh @@ -98,5 +98,4 @@ msg_ok "Customized Container" msg_info "Cleaning up" apt-get autoremove >/dev/null apt-get autoclean >/dev/null -rm -rf /var/{cache,log}/* /var/lib/apt/lists/* msg_ok "Cleaned" diff --git a/setup/casaos-install.sh b/setup/casaos-install.sh index 634a00e7209..8ee90a70238 100644 --- a/setup/casaos-install.sh +++ b/setup/casaos-install.sh @@ -107,5 +107,4 @@ msg_ok "Customized Container" msg_info "Cleaning up" apt-get autoremove >/dev/null apt-get autoclean >/dev/null -rm -rf /var/{cache,log}/* /var/lib/apt/lists/* msg_ok "Cleaned" diff --git a/setup/daemonsync-install.sh b/setup/daemonsync-install.sh index 35957afc559..e3bd458d453 100644 --- a/setup/daemonsync-install.sh +++ b/setup/daemonsync-install.sh @@ -100,5 +100,4 @@ msg_ok "Customized Container" msg_info "Cleaning up" apt-get autoremove >/dev/null apt-get autoclean >/dev/null -rm -rf /var/{cache,log}/* /var/lib/apt/lists/* msg_ok "Cleaned" diff --git a/setup/dashy-install.sh b/setup/dashy-install.sh index 8267f380d59..7485178eb11 100644 --- a/setup/dashy-install.sh +++ b/setup/dashy-install.sh @@ -131,5 +131,4 @@ msg_ok "Customized Container" msg_info "Cleaning up" apt-get autoremove >/dev/null apt-get autoclean >/dev/null -rm -rf /var/{cache,log}/* /var/lib/apt/lists/* msg_ok "Cleaned" diff --git a/setup/debian-install.sh b/setup/debian-install.sh index 84f28bfa830..bc9f39cbc38 100644 --- a/setup/debian-install.sh +++ b/setup/debian-install.sh @@ -92,5 +92,4 @@ msg_ok "Customized Container" msg_info "Cleaning up" apt-get autoremove >/dev/null apt-get autoclean >/dev/null -rm -rf /var/{cache,log}/* /var/lib/apt/lists/* msg_ok "Cleaned" diff --git a/setup/deconz-install.sh b/setup/deconz-install.sh index 1cb64ebb700..bc6f0c0c28f 100644 --- a/setup/deconz-install.sh +++ b/setup/deconz-install.sh @@ -124,5 +124,4 @@ msg_ok "Customized Container" msg_info "Cleaning up" apt-get autoremove >/dev/null apt-get autoclean >/dev/null -rm -rf /var/{cache,log}/* /var/lib/apt/lists/* msg_ok "Cleaned" diff --git a/setup/docker-install.sh b/setup/docker-install.sh index 1780dcfd6c2..c4234aed37a 100644 --- a/setup/docker-install.sh +++ b/setup/docker-install.sh @@ -152,5 +152,4 @@ msg_ok "Customized Container" msg_info "Cleaning up" apt-get autoremove >/dev/null apt-get autoclean >/dev/null -rm -rf /var/{cache,log}/* /var/lib/apt/lists/* msg_ok "Cleaned" diff --git a/setup/emby-install.sh b/setup/emby-install.sh index 0ba9b200dc2..5a448e55fd8 100644 --- a/setup/emby-install.sh +++ b/setup/emby-install.sh @@ -111,5 +111,4 @@ msg_ok "Customized Container" msg_info "Cleaning up" apt-get autoremove >/dev/null apt-get autoclean >/dev/null -rm -rf /var/{cache,log}/* /var/lib/apt/lists/* msg_ok "Cleaned" diff --git a/setup/esphome-install.sh b/setup/esphome-install.sh index 1f4323befac..8d0aab4e1b6 100644 --- a/setup/esphome-install.sh +++ b/setup/esphome-install.sh @@ -120,5 +120,4 @@ msg_ok "Customized Container" msg_info "Cleaning up" apt-get autoremove >/dev/null apt-get autoclean >/dev/null -rm -rf /var/{cache,log}/* /var/lib/apt/lists/* msg_ok "Cleaned" diff --git a/setup/grafana-install.sh b/setup/grafana-install.sh index 9803f66a916..6503d3f12cd 100644 --- a/setup/grafana-install.sh +++ b/setup/grafana-install.sh @@ -109,5 +109,4 @@ systemctl enable grafana-server.service &>/dev/null msg_info "Cleaning up" apt-get autoremove >/dev/null apt-get autoclean >/dev/null -rm -rf /var/{cache,log}/* /var/lib/apt/lists/* msg_ok "Cleaned" diff --git a/setup/grocy-install.sh b/setup/grocy-install.sh index 66317825458..32ca846bb3b 100644 --- a/setup/grocy-install.sh +++ b/setup/grocy-install.sh @@ -128,5 +128,5 @@ msg_ok "Customized Container" msg_info "Cleaning up" apt-get autoremove >/dev/null apt-get autoclean >/dev/null -rm -rf /var/cache/* /root/latest +rm -rf /root/latest msg_ok "Cleaned" diff --git a/setup/heimdalldashboard-install.sh b/setup/heimdalldashboard-install.sh index c70347a4a0f..d4b509f7c0e 100644 --- a/setup/heimdalldashboard-install.sh +++ b/setup/heimdalldashboard-install.sh @@ -131,5 +131,4 @@ msg_ok "Customized Container" msg_info "Cleaning up" apt-get autoremove >/dev/null apt-get autoclean >/dev/null -rm -rf /var/{cache,log}/* /var/lib/apt/lists/* msg_ok "Cleaned" diff --git a/setup/homeassistant-install.sh b/setup/homeassistant-install.sh index 80e53aba7f0..35617ab01a8 100644 --- a/setup/homeassistant-install.sh +++ b/setup/homeassistant-install.sh @@ -334,5 +334,4 @@ msg_ok "Customized Container" msg_info "Cleaning up" apt-get autoremove >/dev/null apt-get autoclean >/dev/null -rm -rf /var/{cache,log}/* /var/lib/apt/lists/* msg_ok "Cleaned" diff --git a/setup/homebridge-install.sh b/setup/homebridge-install.sh index 8678c6074c4..033a52b5f2a 100644 --- a/setup/homebridge-install.sh +++ b/setup/homebridge-install.sh @@ -110,5 +110,4 @@ msg_ok "Customized Container" msg_info "Cleaning up" apt-get autoremove >/dev/null apt-get autoclean >/dev/null -rm -rf /var/{cache,log}/* /var/lib/apt/lists/* msg_ok "Cleaned" diff --git a/setup/homepage-install.sh b/setup/homepage-install.sh index 833d35a6872..8adb85c99a1 100644 --- a/setup/homepage-install.sh +++ b/setup/homepage-install.sh @@ -128,5 +128,4 @@ msg_ok "Customized Container" msg_info "Cleaning up" apt-get autoremove >/dev/null apt-get autoclean >/dev/null -rm -rf /var/{cache,log}/* /var/lib/apt/lists/* msg_ok "Cleaned" diff --git a/setup/influxdb-install.sh b/setup/influxdb-install.sh index 6495809fd7c..0dc32e13d8a 100644 --- a/setup/influxdb-install.sh +++ b/setup/influxdb-install.sh @@ -111,5 +111,4 @@ msg_ok "Customized Container" msg_info "Cleaning up" apt-get autoremove >/dev/null apt-get autoclean >/dev/null -rm -rf /var/{cache,log}/* /var/lib/apt/lists/* msg_ok "Cleaned" diff --git a/setup/iobroker-install.sh b/setup/iobroker-install.sh index 7ba4a65f67d..ab65830e4fa 100644 --- a/setup/iobroker-install.sh +++ b/setup/iobroker-install.sh @@ -98,5 +98,4 @@ msg_ok "Customized Container" msg_info "Cleaning up" apt-get autoremove >/dev/null apt-get autoclean >/dev/null -rm -rf /var/{cache,log}/* /var/lib/apt/lists/* msg_ok "Cleaned" diff --git a/setup/jellyfin-install.sh b/setup/jellyfin-install.sh index d0a32cd47e6..f7f3576e0b3 100644 --- a/setup/jellyfin-install.sh +++ b/setup/jellyfin-install.sh @@ -136,5 +136,4 @@ msg_ok "Customized Container" msg_info "Cleaning up" apt-get autoremove >/dev/null apt-get autoclean >/dev/null -rm -rf /var/{cache,log}/* /var/lib/apt/lists/* msg_ok "Cleaned" diff --git a/setup/keycloak-install.sh b/setup/keycloak-install.sh index 06c679f668a..0c86f4fa415 100644 --- a/setup/keycloak-install.sh +++ b/setup/keycloak-install.sh @@ -119,5 +119,4 @@ msg_ok "Customized Container" msg_info "Cleaning up" apt-get autoremove >/dev/null apt-get autoclean >/dev/null -rm -rf /var/{cache,log}/* /var/lib/apt/lists/* msg_ok "Cleaned" diff --git a/setup/magicmirror-install.sh b/setup/magicmirror-install.sh index 0c903cd2cc9..64dce914e55 100644 --- a/setup/magicmirror-install.sh +++ b/setup/magicmirror-install.sh @@ -221,5 +221,4 @@ msg_ok "Customized Container" msg_info "Cleaning up" apt-get autoremove >/dev/null apt-get autoclean >/dev/null -rm -rf /var/{cache,log}/* /var/lib/apt/lists/* msg_ok "Cleaned" diff --git a/setup/meshcentral-install.sh b/setup/meshcentral-install.sh index 0221f817ad0..eb2e219f574 100644 --- a/setup/meshcentral-install.sh +++ b/setup/meshcentral-install.sh @@ -109,5 +109,4 @@ msg_ok "Customized Container" msg_info "Cleaning up" apt-get autoremove >/dev/null apt-get autoclean >/dev/null -rm -rf /var/{cache,log}/* /var/lib/apt/lists/* msg_ok "Cleaned" diff --git a/setup/motioneye-install.sh b/setup/motioneye-install.sh index 2229ac30b40..ff8afa471da 100644 --- a/setup/motioneye-install.sh +++ b/setup/motioneye-install.sh @@ -128,5 +128,4 @@ msg_ok "Customized Container" msg_info "Cleaning up" apt-get autoremove >/dev/null apt-get autoclean >/dev/null -rm -rf /var/{cache,log}/* /var/lib/apt/lists/* msg_ok "Cleaned" diff --git a/setup/mqtt-install.sh b/setup/mqtt-install.sh index ade1c168896..db9331d9b66 100644 --- a/setup/mqtt-install.sh +++ b/setup/mqtt-install.sh @@ -105,5 +105,4 @@ msg_ok "Customized Container" msg_info "Cleaning up" apt-get autoremove >/dev/null apt-get autoclean >/dev/null -rm -rf /var/{cache,log}/* /var/lib/apt/lists/* msg_ok "Cleaned" diff --git a/setup/n8n-install.sh b/setup/n8n-install.sh index 9adffc10d34..322064c052b 100644 --- a/setup/n8n-install.sh +++ b/setup/n8n-install.sh @@ -121,5 +121,4 @@ msg_ok "Customized Container" msg_info "Cleaning up" apt-get autoremove >/dev/null apt-get autoclean >/dev/null -rm -rf /var/{cache,log}/* /var/lib/apt/lists/* msg_ok "Cleaned" diff --git a/setup/navidrome-install.sh b/setup/navidrome-install.sh index 21d44e78d12..6a50e36377f 100644 --- a/setup/navidrome-install.sh +++ b/setup/navidrome-install.sh @@ -147,5 +147,5 @@ msg_ok "Customized Container" msg_info "Cleaning up" apt-get autoremove >/dev/null apt-get autoclean >/dev/null -rm -rf /var/{cache,log}/* /var/lib/apt/lists/* /root/Navidrome.tar.gz +rm -rf /root/Navidrome.tar.gz msg_ok "Cleaned" diff --git a/setup/nginx-proxy-manager-install.sh b/setup/nginx-proxy-manager-install.sh index 2f9b21b0050..4861405e19b 100644 --- a/setup/nginx-proxy-manager-install.sh +++ b/setup/nginx-proxy-manager-install.sh @@ -259,5 +259,4 @@ msg_ok "Started Services" msg_info "Cleaning up" apt-get autoremove >/dev/null apt-get autoclean >/dev/null -rm -rf /var/{cache,log}/* /var/lib/apt/lists/* msg_ok "Cleaned" diff --git a/setup/nocodb-install.sh b/setup/nocodb-install.sh index ae27d97c446..57083bb80d9 100644 --- a/setup/nocodb-install.sh +++ b/setup/nocodb-install.sh @@ -127,5 +127,4 @@ msg_ok "Customized Container" msg_info "Cleaning up" apt-get autoremove >/dev/null apt-get autoclean >/dev/null -rm -rf /var/{cache,log}/* /var/lib/apt/lists/* msg_ok "Cleaned" diff --git a/setup/node-red-install.sh b/setup/node-red-install.sh index 180daf9212a..f9d90389a29 100644 --- a/setup/node-red-install.sh +++ b/setup/node-red-install.sh @@ -100,5 +100,4 @@ msg_ok "Customized Container" msg_info "Cleaning up" apt-get autoremove >/dev/null apt-get autoclean >/dev/null -rm -rf /var/{cache,log}/* /var/lib/apt/lists/* msg_ok "Cleaned" diff --git a/setup/omada-install.sh b/setup/omada-install.sh index 4260e995874..6c2dde53846 100644 --- a/setup/omada-install.sh +++ b/setup/omada-install.sh @@ -103,5 +103,4 @@ msg_ok "Customized Container" msg_info "Cleaning up" apt-get autoremove >/dev/null apt-get autoclean >/dev/null -rm -rf /var/{cache,log}/* /var/lib/apt/lists/* msg_ok "Cleaned" diff --git a/setup/openhab-install.sh b/setup/openhab-install.sh index 4ec66d79f32..1dec802fe3e 100644 --- a/setup/openhab-install.sh +++ b/setup/openhab-install.sh @@ -115,5 +115,4 @@ msg_ok "Customized Container" msg_info "Cleaning up" apt-get autoremove >/dev/null apt-get autoclean >/dev/null -rm -rf /var/{cache,log}/* /var/lib/apt/lists/* msg_ok "Cleaned" diff --git a/setup/plex-install.sh b/setup/plex-install.sh index be02e9a49bd..90e21271dc2 100644 --- a/setup/plex-install.sh +++ b/setup/plex-install.sh @@ -115,6 +115,5 @@ msg_ok "Customized Container" msg_info "Cleaning up" apt-get autoremove >/dev/null apt-get autoclean >/dev/null -rm -rf /var/{cache,log}/* /var/lib/apt/lists/* msg_ok "Cleaned" diff --git a/setup/prometheus-install.sh b/setup/prometheus-install.sh index 2da05e6288b..378a8ab576b 100644 --- a/setup/prometheus-install.sh +++ b/setup/prometheus-install.sh @@ -127,5 +127,5 @@ msg_ok "Customized Container" msg_info "Cleaning up" apt-get autoremove >/dev/null apt-get autoclean >/dev/null -rm -rf /var/{cache,log}/* /var/lib/apt/lists/* /root/prometheus-2.36.2.linux-amd64 /root/prometheus-2.36.2.linux-amd64.tar.gz +rm -rf /root/prometheus-2.36.2.linux-amd64 /root/prometheus-2.36.2.linux-amd64.tar.gz msg_ok "Cleaned" diff --git a/setup/syncthing-install.sh b/setup/syncthing-install.sh index 2b09475af4e..a9d942bc621 100644 --- a/setup/syncthing-install.sh +++ b/setup/syncthing-install.sh @@ -101,5 +101,4 @@ msg_ok "Customized Container" msg_info "Cleaning up" apt-get autoremove >/dev/null apt-get autoclean >/dev/null -rm -rf /var/{cache,log}/* /var/lib/apt/lists/* msg_ok "Cleaned" diff --git a/setup/technitiumdns-install.sh b/setup/technitiumdns-install.sh index 48650070b99..907c7e2f229 100644 --- a/setup/technitiumdns-install.sh +++ b/setup/technitiumdns-install.sh @@ -98,5 +98,4 @@ msg_ok "Customized Container" msg_info "Cleaning up" apt-get autoremove >/dev/null apt-get autoclean >/dev/null -rm -rf /var/{cache,log}/* /var/lib/apt/lists/* msg_ok "Cleaned" diff --git a/setup/trilium-install.sh b/setup/trilium-install.sh index 365243708c2..8b259725f0b 100644 --- a/setup/trilium-install.sh +++ b/setup/trilium-install.sh @@ -122,5 +122,5 @@ msg_ok "Customized Container" msg_info "Cleaning up" apt-get autoremove >/dev/null apt-get autoclean >/dev/null -rm -rf /var/{cache,log}/* /var/lib/apt/lists/* /root/trilium-linux-x64-server-$RELEASE.tar.xz +rm -rf /root/trilium-linux-x64-server-$RELEASE.tar.xz msg_ok "Cleaned" diff --git a/setup/ubuntu-install.sh b/setup/ubuntu-install.sh index 5514c92044c..4abacf6db55 100644 --- a/setup/ubuntu-install.sh +++ b/setup/ubuntu-install.sh @@ -93,5 +93,4 @@ msg_ok "Customized Container" msg_info "Cleaning up" apt-get autoremove >/dev/null apt-get autoclean >/dev/null -rm -rf /var/{cache,log}/* /var/lib/apt/lists/* msg_ok "Cleaned" diff --git a/setup/unifi-install.sh b/setup/unifi-install.sh index 8e89980952e..49ebf87db9a 100644 --- a/setup/unifi-install.sh +++ b/setup/unifi-install.sh @@ -107,5 +107,4 @@ msg_ok "Customized Container" msg_info "Cleaning up" apt-get autoremove >/dev/null apt-get autoclean >/dev/null -rm -rf /var/{cache,log}/* /var/lib/apt/lists/* msg_ok "Cleaned" diff --git a/setup/uptimekuma-install.sh b/setup/uptimekuma-install.sh index b29954f1f70..f8663bfc46d 100644 --- a/setup/uptimekuma-install.sh +++ b/setup/uptimekuma-install.sh @@ -127,5 +127,4 @@ msg_ok "Customized Container" msg_info "Cleaning up" apt-get autoremove >/dev/null apt-get autoclean >/dev/null -rm -rf /var/{cache,log}/* /var/lib/apt/lists/* msg_ok "Cleaned" diff --git a/setup/vaultwarden-install.sh b/setup/vaultwarden-install.sh index 3f18807a7bd..2f9e90c7add 100644 --- a/setup/vaultwarden-install.sh +++ b/setup/vaultwarden-install.sh @@ -183,5 +183,4 @@ msg_ok "Customized Container" msg_info "Cleaning up" apt-get autoremove >/dev/null apt-get autoclean >/dev/null -rm -rf /var/{cache,log}/* /var/lib/apt/lists/* msg_ok "Cleaned" diff --git a/setup/whoogle-install.sh b/setup/whoogle-install.sh index e7854c82eaf..0a6537703ef 100644 --- a/setup/whoogle-install.sh +++ b/setup/whoogle-install.sh @@ -114,5 +114,4 @@ msg_ok "Customized Container" msg_info "Cleaning up" apt-get autoremove >/dev/null apt-get autoclean >/dev/null -rm -rf /var/{cache,log}/* /var/lib/apt/lists/* msg_ok "Cleaned" diff --git a/setup/wikijs-install.sh b/setup/wikijs-install.sh index 8866f812813..db684221272 100644 --- a/setup/wikijs-install.sh +++ b/setup/wikijs-install.sh @@ -143,5 +143,4 @@ msg_ok "Customized Container" msg_info "Cleaning up" apt-get autoremove >/dev/null apt-get autoclean >/dev/null -rm -rf /var/{cache,log}/* /var/lib/apt/lists/* msg_ok "Cleaned" diff --git a/setup/wireguard-install.sh b/setup/wireguard-install.sh index d295d4dbc4d..f9af0201bdb 100644 --- a/setup/wireguard-install.sh +++ b/setup/wireguard-install.sh @@ -157,5 +157,4 @@ msg_ok "Customized Container" msg_info "Cleaning up" apt-get autoremove >/dev/null apt-get autoclean >/dev/null -rm -rf /var/{cache,log}/* /var/lib/apt/lists/* msg_ok "Cleaned" diff --git a/setup/zigbee2mqtt-install.sh b/setup/zigbee2mqtt-install.sh index 910da0fef16..944e2981107 100644 --- a/setup/zigbee2mqtt-install.sh +++ b/setup/zigbee2mqtt-install.sh @@ -132,5 +132,4 @@ msg_ok "Customized Container" msg_info "Cleaning up" apt-get autoremove >/dev/null apt-get autoclean >/dev/null -rm -rf /var/{cache,log}/* /var/lib/apt/lists/* msg_ok "Cleaned"