Cleaned up and formatted code

# Cleaned up and formatted code

## Description

Just cleaned and formatted the script codes

Fixes # (issue)
Remove unnecessary spaces

## Type of change

Please delete options that are not relevant.

- [x] Bug fix
- [ ] New feature
- [ ] New Script
- [ ] This change requires a documentation update
pull/1652/head
X-Anonymous-Y 2 years ago
parent 14bf09bed3
commit 571c46f8c4
  1. 5
      ct/adguard.sh
  2. 2
      ct/alpine.sh
  3. 5
      ct/audiobookshelf.sh
  4. 5
      ct/autobrr.sh
  5. 5
      ct/bazarr.sh
  6. 5
      ct/blocky.sh
  7. 5
      ct/casaos.sh
  8. 5
      ct/changedetection.sh
  9. 5
      ct/cloudflared.sh
  10. 5
      ct/cronicle.sh
  11. 5
      ct/daemonsync.sh
  12. 5
      ct/dashy.sh
  13. 5
      ct/debian.sh
  14. 5
      ct/deconz.sh
  15. 5
      ct/deluge.sh
  16. 5
      ct/devuan.sh
  17. 5
      ct/docker.sh
  18. 5
      ct/emby.sh
  19. 5
      ct/emqx.sh
  20. 5
      ct/esphome.sh
  21. 5
      ct/fhem.sh
  22. 5
      ct/go2rtc.sh
  23. 5
      ct/grafana.sh
  24. 5
      ct/grocy.sh
  25. 5
      ct/heimdalldashboard.sh
  26. 5
      ct/homebridge.sh
  27. 5
      ct/homepage.sh
  28. 5
      ct/homer.sh
  29. 5
      ct/hyperion.sh
  30. 5
      ct/influxdb.sh
  31. 5
      ct/iobroker.sh
  32. 5
      ct/jackett.sh
  33. 5
      ct/jellyfin.sh
  34. 5
      ct/k0s.sh
  35. 5
      ct/kavita.sh
  36. 5
      ct/keycloak.sh
  37. 5
      ct/lidarr.sh
  38. 5
      ct/magicmirror.sh
  39. 5
      ct/mariadb.sh
  40. 5
      ct/meshcentral.sh
  41. 5
      ct/motioneye.sh
  42. 5
      ct/mqtt.sh
  43. 5
      ct/n8n.sh
  44. 5
      ct/navidrome.sh
  45. 5
      ct/nextcloudpi.sh
  46. 5
      ct/nocodb.sh
  47. 5
      ct/node-red.sh
  48. 5
      ct/octoprint.sh
  49. 5
      ct/omada.sh
  50. 5
      ct/ombi.sh
  51. 5
      ct/omv.sh
  52. 5
      ct/openhab.sh
  53. 5
      ct/openobserve.sh
  54. 5
      ct/pihole.sh
  55. 5
      ct/plex.sh
  56. 5
      ct/podman-homeassistant.sh
  57. 5
      ct/podman.sh
  58. 5
      ct/postgresql.sh
  59. 5
      ct/prometheus.sh
  60. 5
      ct/prowlarr.sh
  61. 5
      ct/qbittorrent.sh
  62. 5
      ct/radarr.sh
  63. 5
      ct/rdtclient.sh
  64. 5
      ct/readarr.sh
  65. 5
      ct/rockylinux.sh
  66. 5
      ct/rtsptoweb.sh
  67. 5
      ct/sabnzbd.sh
  68. 5
      ct/scrypted.sh
  69. 5
      ct/shinobi.sh
  70. 5
      ct/sonarr.sh
  71. 5
      ct/syncthing.sh
  72. 5
      ct/tautulli.sh
  73. 5
      ct/tdarr.sh
  74. 5
      ct/technitiumdns.sh
  75. 5
      ct/transmission.sh
  76. 5
      ct/trilium.sh
  77. 5
      ct/ubuntu.sh
  78. 5
      ct/unifi.sh
  79. 5
      ct/uptimekuma.sh
  80. 5
      ct/whisparr.sh
  81. 5
      ct/whoogle.sh
  82. 5
      ct/wikijs.sh
  83. 7
      ct/wireguard.sh
  84. 5
      ct/yunohost.sh
  85. 5
      ct/zoraxy.sh
  86. 1
      install/transmission-install.sh
  87. 5
      misc/bluetooth.sh
  88. 5
      misc/code-server.sh
  89. 5
      misc/container-restore-from-backup.sh
  90. 5
      misc/copy-data/home-assistant-container-copy-data-home-assistant-container.sh
  91. 5
      misc/copy-data/home-assistant-container-copy-data-home-assistant-core.sh
  92. 5
      misc/copy-data/home-assistant-container-copy-data-podman-home-assistant.sh
  93. 5
      misc/copy-data/home-assistant-core-copy-data-home-assistant-container.sh
  94. 5
      misc/copy-data/home-assistant-core-copy-data-home-assistant-core.sh
  95. 5
      misc/copy-data/plex-copy-data-plex.sh
  96. 5
      misc/copy-data/podman-home-assistant-copy-data-home-assistant-container.sh
  97. 5
      misc/copy-data/z2m-copy-data-z2m.sh
  98. 5
      misc/copy-data/zwavejs2mqtt-copy-data-zwavejsui.sh
  99. 5
      misc/core-restore-from-backup.sh
  100. 5
      misc/crowdsec.sh
  101. Some files were not shown because too many files have changed in this diff Show More

@ -53,7 +53,10 @@ function default_settings() {
function update_script() {
header_info
if [[ ! -d /opt/AdGuardHome ]]; then msg_error "No ${APP} Installation Found!"; exit; fi
if [[ ! -d /opt/AdGuardHome ]]; then
msg_error "No ${APP} Installation Found!"
exit
fi
wget -qL https://static.adguard.com/adguardhome/release/AdGuardHome_linux_amd64.tar.gz
msg_info "Stopping AdguardHome"
systemctl stop AdGuardHome

@ -59,7 +59,7 @@ UPD=$(whiptail --title "SUPPORT" --radiolist --cancel-button Exit-Script "Spaceb
header_info
if [ "$UPD" == "1" ]; then
apk update && apk upgrade
exit;
exit
fi
}

@ -52,7 +52,10 @@ function default_settings() {
function update_script() {
header_info
if [[ ! -d /var ]]; then msg_error "No ${APP} Installation Found!"; exit; fi
if [[ ! -d /var ]]; then
msg_error "No ${APP} Installation Found!"
exit
fi
msg_info "Updating $APP LXC"
apt-get update &>/dev/null
apt-get -y upgrade &>/dev/null

@ -52,7 +52,10 @@ function default_settings() {
function update_script() {
header_info
if [[ ! -f /root/.config/autobrr/config.toml ]]; then msg_error "No ${APP} Installation Found!"; exit; fi
if [[ ! -f /root/.config/autobrr/config.toml ]]; then
msg_error "No ${APP} Installation Found!"
exit
fi
msg_info "Stopping ${APP} LXC"
systemctl stop autobrr.service
msg_ok "Stopped ${APP} LXC"

@ -52,7 +52,10 @@ function default_settings() {
function update_script() {
header_info
if [[ ! -d /var/lib/bazarr/ ]]; then msg_error "No ${APP} Installation Found!"; exit; fi
if [[ ! -d /var/lib/bazarr/ ]]; then
msg_error "No ${APP} Installation Found!"
exit
fi
msg_info "Updating $APP LXC"
apt-get update &>/dev/null
apt-get -y upgrade &>/dev/null

@ -52,7 +52,10 @@ function default_settings() {
function update_script() {
header_info
if [[ ! -d /var ]]; then msg_error "No ${APP} Installation Found!"; exit; fi
if [[ ! -d /var ]]; then
msg_error "No ${APP} Installation Found!"
exit
fi
msg_info "Updating $APP LXC"
apt-get update &>/dev/null
apt-get -y upgrade &>/dev/null

@ -53,7 +53,10 @@ function default_settings() {
function update_script() {
header_info
if [[ ! -d /var ]]; then msg_error "No ${APP} Installation Found!"; exit; fi
if [[ ! -d /var ]]; then
msg_error "No ${APP} Installation Found!"
exit
fi
msg_info "Updating ${APP} LXC"
apt-get update &>/dev/null
apt-get -y upgrade &>/dev/null

@ -52,7 +52,10 @@ function default_settings() {
function update_script() {
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"
pip3 install changedetection.io --upgrade &>/dev/null
msg_ok "Updated Successfully"

@ -52,7 +52,10 @@ function default_settings() {
function update_script() {
header_info
if [[ ! -d /var ]]; then msg_error "No ${APP} Installation Found!"; exit; fi
if [[ ! -d /var ]]; then
msg_error "No ${APP} Installation Found!"
exit
fi
msg_info "Updating $APP LXC"
apt-get update &>/dev/null
apt-get -y upgrade &>/dev/null

@ -58,7 +58,10 @@ UPD=$(whiptail --title "SUPPORT" --radiolist --cancel-button Exit-Script "Spaceb
if [ "$UPD" == "1" ]; then
header_info
if [[ ! -d /opt/cronicle ]]; then msg_error "No ${APP} Installation Found!"; exit; fi
if [[ ! -d /opt/cronicle ]]; then
msg_error "No ${APP} Installation Found!"
exit
fi
msg_info "Updating ${APP}"
/opt/cronicle/bin/control.sh upgrade &>/dev/null
msg_ok "Updated ${APP}"

@ -52,7 +52,10 @@ function default_settings() {
function update_script() {
header_info
if [[ ! -d /var ]]; then msg_error "No ${APP} Installation Found!"; exit; fi
if [[ ! -d /var ]]; then
msg_error "No ${APP} Installation Found!"
exit
fi
msg_info "Updating $APP LXC"
apt-get update &>/dev/null
apt-get -y upgrade &>/dev/null

@ -52,7 +52,10 @@ function default_settings() {
function update_script() {
header_info
if [[ ! -d /dashy/public/ ]]; then msg_error "No ${APP} Installation Found!"; exit; fi
if [[ ! -d /dashy/public/ ]]; then
msg_error "No ${APP} Installation Found!"
exit
fi
msg_info "Stopping ${APP}"
systemctl stop dashy
msg_ok "Stopped ${APP}"

@ -52,7 +52,10 @@ function default_settings() {
function update_script() {
header_info
if [[ ! -d /var ]]; then msg_error "No ${APP} Installation Found!"; exit; fi
if [[ ! -d /var ]]; then
msg_error "No ${APP} Installation Found!"
exit
fi
msg_info "Updating $APP LXC"
apt-get update &>/dev/null
apt-get -y upgrade &>/dev/null

@ -52,7 +52,10 @@ function default_settings() {
function update_script() {
header_info
if [[ ! -f /etc/apt/sources.list.d/deconz.list ]]; then msg_error "No ${APP} Installation Found!"; exit; fi
if [[ ! -f /etc/apt/sources.list.d/deconz.list ]]; then
msg_error "No ${APP} Installation Found!"
exit
fi
msg_info "Updating $APP LXC"
apt-get update &>/dev/null
apt-get -y upgrade &>/dev/null

@ -53,7 +53,10 @@ function default_settings() {
function update_script() {
header_info
if [[ ! -f /etc/systemd/system/deluged.service ]]; then msg_error "No ${APP} Installation Found!"; exit; fi
if [[ ! -f /etc/systemd/system/deluged.service ]]; then
msg_error "No ${APP} Installation Found!"
exit
fi
msg_info "Updating $APP LXC"
apt-get update &>/dev/null
pip3 install deluge[all] --upgrade

@ -52,7 +52,10 @@ function default_settings() {
function update_script() {
header_info
if [[ ! -d /var ]]; then msg_error "No ${APP} Installation Found!"; exit; fi
if [[ ! -d /var ]]; then
msg_error "No ${APP} Installation Found!"
exit
fi
msg_info "Updating $APP LXC"
apt-get update &>/dev/null
apt-get -y upgrade &>/dev/null

@ -53,7 +53,10 @@ function default_settings() {
function update_script() {
header_info
if [[ ! -d /var ]]; then msg_error "No ${APP} Installation Found!"; exit; fi
if [[ ! -d /var ]]; then
msg_error "No ${APP} Installation Found!"
exit
fi
msg_info "Updating ${APP} LXC"
apt-get update &>/dev/null
apt-get -y upgrade &>/dev/null

@ -52,7 +52,10 @@ function default_settings() {
function update_script() {
header_info
if [[ ! -d /opt/emby-server ]]; then msg_error "No ${APP} Installation Found!"; exit; fi
if [[ ! -d /opt/emby-server ]]; then
msg_error "No ${APP} Installation Found!"
exit
fi
LATEST=$(curl -sL https://api.github.com/repos/MediaBrowser/Emby.Releases/releases/latest | grep '"tag_name":' | cut -d'"' -f4)
msg_info "Stopping ${APP}"
systemctl stop emby-server

@ -52,7 +52,10 @@ function default_settings() {
function update_script() {
header_info
if [[ ! -d /var ]]; then msg_error "No ${APP} Installation Found!"; exit; fi
if [[ ! -d /var ]]; then
msg_error "No ${APP} Installation Found!"
exit
fi
msg_info "Updating $APP LXC"
apt-get update &>/dev/null
apt-get -y upgrade &>/dev/null

@ -52,7 +52,10 @@ function default_settings() {
function update_script() {
header_info
if [[ ! -f /etc/systemd/system/esphomeDashboard.service ]]; then msg_error "No ${APP} Installation Found!"; exit; fi
if [[ ! -f /etc/systemd/system/esphomeDashboard.service ]]; then
msg_error "No ${APP} Installation Found!"
exit
fi
msg_info "Stopping ESPHome"
systemctl stop esphomeDashboard
msg_ok "Stopped ESPHome"

@ -52,7 +52,10 @@ function default_settings() {
function update_script() {
header_info
if [[ ! -f /etc/systemd/system/fhem.service ]]; then msg_error "No ${APP} Installation Found!"; exit; fi
if [[ ! -f /etc/systemd/system/fhem.service ]]; then
msg_error "No ${APP} Installation Found!"
exit
fi
msg_info "Updating ${APP} LXC"
apt-get update &>/dev/null
apt-get -y upgrade &>/dev/null

@ -53,7 +53,10 @@ function default_settings() {
function update_script() {
header_info
if [[ ! -d /opt/go2rtc ]]; then msg_error "No ${APP} Installation Found!"; exit; fi
if [[ ! -d /opt/go2rtc ]]; then
msg_error "No ${APP} Installation Found!"
exit
fi
msg_info "Updating $APP"
systemctl stop go2rtc
cd /opt/go2rtc

@ -52,7 +52,10 @@ function default_settings() {
function update_script() {
header_info
if [[ ! -f /etc/apt/sources.list.d/grafana.list ]]; then msg_error "No ${APP} Installation Found!"; exit; fi
if [[ ! -f /etc/apt/sources.list.d/grafana.list ]]; then
msg_error "No ${APP} Installation Found!"
exit
fi
msg_info "Updating ${APP}"
apt-key del 4E40DDF6D76E284A4A6780E48C8C34C524098CB6
wget -q -O /usr/share/keyrings/grafana.key https://apt.grafana.com/gpg.key

@ -52,7 +52,10 @@ function default_settings() {
function update_script() {
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}"
bash /var/www/html/update.sh
msg_ok "Updated Successfully"

@ -52,7 +52,10 @@ function default_settings() {
function update_script() {
header_info
if [[ ! -d /opt/Heimdall ]]; then msg_error "No ${APP} Installation Found!"; exit; fi
if [[ ! -d /opt/Heimdall ]]; then
msg_error "No ${APP} Installation Found!"
exit
fi
msg_info "Stopping ${APP}"
systemctl disable heimdall.service &>/dev/null
systemctl stop heimdall

@ -52,7 +52,10 @@ function default_settings() {
function update_script() {
header_info
if [[ ! -f /etc/apt/sources.list.d/homebridge.list ]]; then msg_error "No ${APP} Installation Found!"; exit; fi
if [[ ! -f /etc/apt/sources.list.d/homebridge.list ]]; then
msg_error "No ${APP} Installation Found!"
exit
fi
msg_info "Updating ${APP} LXC"
apt-get update &>/dev/null
apt-get install -y homebridge &>/dev/null

@ -52,7 +52,10 @@ function default_settings() {
function update_script() {
header_info
if [[ ! -d /opt/homepage ]]; then msg_error "No ${APP} Installation Found!"; exit; fi
if [[ ! -d /opt/homepage ]]; then
msg_error "No ${APP} Installation Found!"
exit
fi
msg_info "Updating ${APP}"
if ! command -v pnpm >/dev/null 2>&1; then
npm install -g pnpm &>/dev/null

@ -52,7 +52,10 @@ function default_settings() {
function update_script() {
header_info
if [[ ! -d /opt/homer ]]; then msg_error "No ${APP} Installation Found!"; exit; fi
if [[ ! -d /opt/homer ]]; then
msg_error "No ${APP} Installation Found!"
exit
fi
msg_info "Stopping ${APP}"
systemctl stop homer
msg_ok "Stopped ${APP}"

@ -53,7 +53,10 @@ function default_settings() {
function update_script() {
header_info
if [[ ! -f /etc/apt/sources.list.d/hyperion.list ]]; then msg_error "No ${APP} Installation Found!"; exit; fi
if [[ ! -f /etc/apt/sources.list.d/hyperion.list ]]; then
msg_error "No ${APP} Installation Found!"
exit
fi
msg_info "Updating ${APP} LXC"
apt-get update &>/dev/null
apt-get install -y hyperion &>/dev/null

@ -52,7 +52,10 @@ function default_settings() {
function update_script() {
header_info
if [[ ! -f /etc/apt/sources.list.d/influxdb.list || ! -f /etc/apt/sources.list.d/influxdata.list ]]; then msg_error "No ${APP} Installation Found!"; exit; fi
if [[ ! -f /etc/apt/sources.list.d/influxdb.list || ! -f /etc/apt/sources.list.d/influxdata.list ]]; then
msg_error "No ${APP} Installation Found!"
exit
fi
msg_info "Updating ${APP}"
wget -q https://repos.influxdata.com/influxdata-archive_compat.key
cat influxdata-archive_compat.key | gpg --dearmor | tee /etc/apt/trusted.gpg.d/influxdata-archive_compat.gpg >/dev/null

@ -52,7 +52,10 @@ function default_settings() {
function update_script() {
header_info
if [[ ! -d /opt/iobroker ]]; then msg_error "No ${APP} Installation Found!"; exit; fi
if [[ ! -d /opt/iobroker ]]; then
msg_error "No ${APP} Installation Found!"
exit
fi
msg_info "Updating ${APP} LXC"
apt-get update &>/dev/null
apt-get -y upgrade &>/dev/null

@ -52,7 +52,10 @@ function default_settings() {
function update_script() {
header_info
if [[ ! -f /etc/systemd/system/jackett.service ]]; then msg_error "No ${APP} Installation Found!"; exit; fi
if [[ ! -f /etc/systemd/system/jackett.service ]]; then
msg_error "No ${APP} Installation Found!"
exit
fi
msg_info "Updating ${APP} LXC"
apt-get update &>/dev/null
apt-get -y upgrade &>/dev/null

@ -53,7 +53,10 @@ function default_settings() {
function update_script() {
header_info
if [[ ! -d /usr/lib/jellyfin ]]; then msg_error "No ${APP} Installation Found!"; exit; fi
if [[ ! -d /usr/lib/jellyfin ]]; then
msg_error "No ${APP} Installation Found!"
exit
fi
msg_info "Updating ${APP} LXC"
apt-get update &>/dev/null
apt-get -y upgrade &>/dev/null

@ -52,7 +52,10 @@ function default_settings() {
function update_script() {
header_info
if [[ ! -f /etc/k0s/k0s.yaml ]]; then msg_error "No ${APP} Installation Found!"; exit; fi
if [[ ! -f /etc/k0s/k0s.yaml ]]; then
msg_error "No ${APP} Installation Found!"
exit
fi
msg_info "Updating ${APP} LXC"
apt-get update &>/dev/null
apt-get -y upgrade &>/dev/null

@ -52,7 +52,10 @@ function default_settings() {
function update_script() {
header_info
if [[ ! -d /opt/Kavita ]]; then msg_error "No ${APP} Installation Found!"; exit; fi
if [[ ! -d /opt/Kavita ]]; then
msg_error "No ${APP} Installation Found!"
exit
fi
msg_info "Updating $APP LXC"
apt-get update &>/dev/null
apt-get -y upgrade &>/dev/null

@ -53,7 +53,10 @@ function default_settings() {
function update_script() {
header_info
if [[ ! -f /etc/systemd/system/keycloak.service ]]; then msg_error "No ${APP} Installation Found!"; exit; fi
if [[ ! -f /etc/systemd/system/keycloak.service ]]; then
msg_error "No ${APP} Installation Found!"
exit
fi
msg_info "Updating ${APP} LXC"
apt-get update &>/dev/null
apt-get -y upgrade &>/dev/null

@ -52,7 +52,10 @@ function default_settings() {
function update_script() {
header_info
if [[ ! -d /var/lib/lidarr/ ]]; then msg_error "No ${APP} Installation Found!"; exit; fi
if [[ ! -d /var/lib/lidarr/ ]]; then
msg_error "No ${APP} Installation Found!"
exit
fi
msg_info "Updating $APP LXC"
apt-get update &>/dev/null
apt-get -y upgrade &>/dev/null

@ -53,7 +53,10 @@ function default_settings() {
function update_script() {
header_info
if [[ ! -d /opt/magicmirror ]]; then msg_error "No ${APP} Installation Found!"; exit; fi
if [[ ! -d /opt/magicmirror ]]; then
msg_error "No ${APP} Installation Found!"
exit
fi
msg_info "Updating ${APP} LXC"
cd /opt/magicmirror
git pull &>/dev/null

@ -52,7 +52,10 @@ function default_settings() {
function update_script() {
header_info
if [[ ! -f /etc/apt/sources.list.d/mariadb.list ]]; then msg_error "No ${APP} Installation Found!"; exit; fi
if [[ ! -f /etc/apt/sources.list.d/mariadb.list ]]; then
msg_error "No ${APP} Installation Found!"
exit
fi
msg_info "Updating ${APP} LXC"
apt-get update &>/dev/null
apt-get -y upgrade &>/dev/null

@ -52,7 +52,10 @@ function default_settings() {
function update_script() {
header_info
if [[ ! -d /opt/meshcentral ]]; then msg_error "No ${APP} Installation Found!"; exit; fi
if [[ ! -d /opt/meshcentral ]]; then
msg_error "No ${APP} Installation Found!"
exit
fi
msg_info "Updating ${APP} LXC"
apt-get update &>/dev/null
apt-get -y upgrade &>/dev/null

@ -52,7 +52,10 @@ function default_settings() {
function update_script() {
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"
pip install motioneye --upgrade &>/dev/null
msg_ok "Updated Successfully"

@ -52,7 +52,10 @@ function default_settings() {
function update_script() {
header_info
if [[ ! -f /etc/apt/sources.list.d/mosquitto-bullseye.list ]]; then msg_error "No ${APP} Installation Found!"; exit; fi
if [[ ! -f /etc/apt/sources.list.d/mosquitto-bullseye.list ]]; then
msg_error "No ${APP} Installation Found!"
exit
fi
msg_info "Updating ${APP} LXC"
apt-get update &>/dev/null
apt-get -y upgrade &>/dev/null

@ -53,7 +53,10 @@ function default_settings() {
function update_script() {
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"
npm update -g n8n &>/dev/null
msg_ok "Updated Successfully"

@ -52,7 +52,10 @@ function default_settings() {
function update_script() {
header_info
if [[ ! -d /opt/navidrome ]]; then msg_error "No ${APP} Installation Found!"; exit; fi
if [[ ! -d /opt/navidrome ]]; then
msg_error "No ${APP} Installation Found!"
exit
fi
RELEASE=$(curl -s https://api.github.com/repos/navidrome/navidrome/releases/latest | grep "tag_name" | awk '{print substr($2, 3, length($2)-4) }')
msg_info "Stopping ${APP}"
systemctl stop navidrome.service

@ -52,7 +52,10 @@ function default_settings() {
function update_script() {
header_info
if [[ ! -f /lib/systemd/system/nextcloud-domain.service ]]; then msg_error "No ${APP} Installation Found!"; exit; fi
if [[ ! -f /lib/systemd/system/nextcloud-domain.service ]]; then
msg_error "No ${APP} Installation Found!"
exit
fi
msg_info "Updating ${APP} LXC"
apt-get update &>/dev/null
apt-get -y upgrade &>/dev/null

@ -52,7 +52,10 @@ function default_settings() {
function update_script() {
header_info
if [[ ! -f /etc/systemd/system/nocodb.service ]]; then msg_error "No ${APP} Installation Found!"; exit; fi
if [[ ! -f /etc/systemd/system/nocodb.service ]]; then
msg_error "No ${APP} Installation Found!"
exit
fi
msg_info "Updating ${APP}"
cd /opt/nocodb
npm uninstall -s --save nocodb &>/dev/null

@ -51,7 +51,10 @@ function default_settings() {
}
function update_script() {
if [[ ! -d /root/.node-red ]]; then msg_error "No ${APP} Installation Found!"; exit; fi
if [[ ! -d /root/.node-red ]]; then
msg_error "No ${APP} Installation Found!"
exit
fi
UPD=$(whiptail --title "SUPPORT" --radiolist --cancel-button Exit-Script "Spacebar = Select" 11 58 2 \
"1" "Update ${APP}" ON \
"2" "Install Themes" OFF \

@ -52,7 +52,10 @@ function default_settings() {
function update_script() {
header_info
if [[ ! -d /opt/octoprint ]]; then msg_error "No ${APP} Installation Found!"; exit; fi
if [[ ! -d /opt/octoprint ]]; then
msg_error "No ${APP} Installation Found!"
exit
fi
msg_info "Stopping OctoPrint"
systemctl stop octoprint
msg_ok "Stopped OctoPrint"

@ -52,7 +52,10 @@ function default_settings() {
function update_script() {
header_info
if [[ ! -d /opt/tplink ]]; then msg_error "No ${APP} Installation Found!"; exit; fi
if [[ ! -d /opt/tplink ]]; then
msg_error "No ${APP} Installation Found!"
exit
fi
msg_info "Updating ${APP} LXC"
apt-get update &>/dev/null
apt-get -y upgrade &>/dev/null

@ -52,7 +52,10 @@ function default_settings() {
function update_script() {
header_info
if [[ ! -d /opt/ombi ]]; then msg_error "No ${APP} Installation Found!"; exit; fi
if [[ ! -d /opt/ombi ]]; then
msg_error "No ${APP} Installation Found!"
exit
fi
msg_error "There is currently no update path available."
exit
}

@ -53,7 +53,10 @@ function default_settings() {
function update_script() {
header_info
if [[ ! -f /etc/apt/sources.list.d/openmediavault.list ]]; then msg_error "No ${APP} Installation Found!"; exit; fi
if [[ ! -f /etc/apt/sources.list.d/openmediavault.list ]]; then
msg_error "No ${APP} Installation Found!"
exit
fi
msg_info "Updating ${APP} LXC"
apt-get update &>/dev/null
apt-get -y upgrade &>/dev/null

@ -53,7 +53,10 @@ function default_settings() {
function update_script() {
header_info
if [[ ! -f /etc/apt/sources.list.d/openhab.list ]]; then msg_error "No ${APP} Installation Found!"; exit; fi
if [[ ! -f /etc/apt/sources.list.d/openhab.list ]]; then
msg_error "No ${APP} Installation Found!"
exit
fi
msg_info "Updating ${APP} LXC"
apt-get update &>/dev/null
apt-get -y upgrade &>/dev/null

@ -54,7 +54,10 @@ function default_settings() {
function update_script() {
header_info
if [[ ! -d /opt/openobserve/ ]]; then msg_error "No ${APP} Installation Found!"; exit; fi
if [[ ! -d /opt/openobserve/ ]]; then
msg_error "No ${APP} Installation Found!"
exit
fi
msg_info "Updating $APP"
systemctl stop openobsecure
LATEST=$(curl -sL https://api.github.com/repos/openobserve/openobserve/releases/latest | grep '"tag_name":' | cut -d'"' -f4)

@ -52,7 +52,10 @@ function default_settings() {
function update_script() {
header_info
if [[ ! -d /etc/pihole ]]; then msg_error "No ${APP} Installation Found!"; exit; fi
if [[ ! -d /etc/pihole ]]; then
msg_error "No ${APP} Installation Found!"
exit
fi
msg_info "Updating ${APP} LXC"
apt-get update &>/dev/null
apt-get -y upgrade &>/dev/null

@ -51,7 +51,10 @@ function default_settings() {
}
function update_script() {
if [[ ! -f /etc/apt/sources.list.d/plexmediaserver.list ]]; then msg_error "No ${APP} Installation Found!"; exit; fi
if [[ ! -f /etc/apt/sources.list.d/plexmediaserver.list ]]; then
msg_error "No ${APP} Installation Found!"
exit
fi
UPD=$(whiptail --title "SUPPORT" --radiolist --cancel-button Exit-Script "Spacebar = Select \nplexupdate info >> https://github.com/mrworf/plexupdate" 10 59 2 \
"1" "Update LXC" ON \
"2" "Install plexupdate" OFF \

@ -55,7 +55,10 @@ function default_settings() {
}
function update_script() {
if [[ ! -f /etc/systemd/system/homeassistant.service ]]; then msg_error "No ${APP} Installation Found!"; exit; fi
if [[ ! -f /etc/systemd/system/homeassistant.service ]]; then
msg_error "No ${APP} Installation Found!"
exit
fi
UPD=$(whiptail --title "UPDATE" --radiolist --cancel-button Exit-Script "Spacebar = Select" 11 58 4 \
"1" "Update system and containers" ON \
"2" "Install HACS" OFF \

@ -52,7 +52,10 @@ function default_settings() {
function update_script() {
header_info
if [[ ! -f /etc/containers/registries.conf ]]; then msg_error "No ${APP} Installation Found!"; exit; fi
if [[ ! -f /etc/containers/registries.conf ]]; then
msg_error "No ${APP} Installation Found!"
exit
fi
msg_info "Updating ${APP} LXC"
apt-get update &>/dev/null
apt-get -y upgrade &>/dev/null

@ -52,7 +52,10 @@ function default_settings() {
function update_script() {
header_info
if [[ ! -f /etc/apt/sources.list.d/pgdg.list ]]; then msg_error "No ${APP} Installation Found!"; exit; fi
if [[ ! -f /etc/apt/sources.list.d/pgdg.list ]]; then
msg_error "No ${APP} Installation Found!"
exit
fi
msg_info "Updating ${APP} LXC"
apt-get update &>/dev/null
apt-get -y upgrade &>/dev/null

@ -52,7 +52,10 @@ function default_settings() {
function update_script() {
header_info
if [[ ! -f /etc/systemd/system/prometheus.service ]]; then msg_error "No ${APP} Installation Found!"; exit; fi
if [[ ! -f /etc/systemd/system/prometheus.service ]]; then
msg_error "No ${APP} Installation Found!"
exit
fi
msg_info "Updating ${APP} LXC"
apt-get update &>/dev/null
apt-get -y upgrade &>/dev/null

@ -52,7 +52,10 @@ function default_settings() {
function update_script() {
header_info
if [[ ! -d /var/lib/prowlarr/ ]]; then msg_error "No ${APP} Installation Found!"; exit; fi
if [[ ! -d /var/lib/prowlarr/ ]]; then
msg_error "No ${APP} Installation Found!"
exit
fi
msg_info "Updating $APP LXC"
apt-get update &>/dev/null
apt-get -y upgrade &>/dev/null

@ -53,7 +53,10 @@ function default_settings() {
function update_script() {
header_info
if [[ ! -f /etc/systemd/system/qbittorrent-nox.service ]]; then msg_error "No ${APP} Installation Found!"; exit; fi
if [[ ! -f /etc/systemd/system/qbittorrent-nox.service ]]; then
msg_error "No ${APP} Installation Found!"
exit
fi
msg_info "Updating ${APP} LXC"
apt-get update &>/dev/null
apt-get -y upgrade &>/dev/null

@ -52,7 +52,10 @@ function default_settings() {
function update_script() {
header_info
if [[ ! -d /var/lib/radarr/ ]]; then msg_error "No ${APP} Installation Found!"; exit; fi
if [[ ! -d /var/lib/radarr/ ]]; then
msg_error "No ${APP} Installation Found!"
exit
fi
msg_info "Updating $APP LXC"
apt-get update &>/dev/null
apt-get -y upgrade &>/dev/null

@ -52,7 +52,10 @@ function default_settings() {
function update_script() {
header_info
if [[ ! -d /opt/rdtclient/ ]]; then msg_error "No ${APP} Installation Found!"; exit; fi
if [[ ! -d /opt/rdtclient/ ]]; then
msg_error "No ${APP} Installation Found!"
exit
fi
msg_info "Updating $APP LXC"
apt-get update &>/dev/null
apt-get -y upgrade &>/dev/null

@ -52,7 +52,10 @@ function default_settings() {
function update_script() {
header_info
if [[ ! -d /var/lib/readarr/ ]]; then msg_error "No ${APP} Installation Found!"; exit; fi
if [[ ! -d /var/lib/readarr/ ]]; then
msg_error "No ${APP} Installation Found!"
exit
fi
msg_info "Updating $APP LXC"
apt-get update &>/dev/null
apt-get -y upgrade &>/dev/null

@ -53,7 +53,10 @@ function default_settings() {
function update_script() {
header_info
if [[ ! -d /etc/pacman.d ]]; then msg_error "No ${APP} Installation Found!"; exit; fi
if [[ ! -d /etc/pacman.d ]]; then
msg_error "No ${APP} Installation Found!"
exit
fi
msg_info "Updating ${APP} LXC"
dnf -y update
dnf -y upgrade

@ -52,7 +52,10 @@ function default_settings() {
function update_script() {
header_info
if [[ ! -d /var ]]; then msg_error "No ${APP} Installation Found!"; exit; fi
if [[ ! -d /var ]]; then
msg_error "No ${APP} Installation Found!"
exit
fi
msg_info "Updating $APP LXC"
apt-get update &>/dev/null
apt-get -y upgrade &>/dev/null

@ -52,7 +52,10 @@ function default_settings() {
function update_script() {
header_info
if [[ ! -d /opt/sabnzbd ]]; then msg_error "No ${APP} Installation Found!"; exit; fi
if [[ ! -d /opt/sabnzbd ]]; then
msg_error "No ${APP} Installation Found!"
exit
fi
msg_info "Updating $APP"
systemctl stop sabnzbd.service
RELEASE=$(curl -s https://api.github.com/repos/sabnzbd/sabnzbd/releases/latest | grep "tag_name" | awk '{print substr($2, 2, length($2)-3) }')

@ -53,7 +53,10 @@ function default_settings() {
function update_script() {
header_info
if [[ ! -f /etc/systemd/system/scrypted.service ]]; then msg_error "No ${APP} Installation Found!"; exit; fi
if [[ ! -f /etc/systemd/system/scrypted.service ]]; then
msg_error "No ${APP} Installation Found!"
exit
fi
msg_info "Updating ${APP} LXC"
apt-get update &>/dev/null
apt-get -y upgrade &>/dev/null

@ -53,7 +53,10 @@ function default_settings() {
function update_script() {
header_info
if [[ ! -d /opt/Shinobi ]]; then msg_error "No ${APP} Installation Found!"; exit; fi
if [[ ! -d /opt/Shinobi ]]; then
msg_error "No ${APP} Installation Found!"
exit
fi
msg_info "Updating Shinobi LXC"
cd /opt/Shinobi
sh UPDATE.sh

@ -52,7 +52,10 @@ function default_settings() {
function update_script() {
header_info
if [[ ! -f /etc/apt/sources.list.d/sonarr.list ]]; then msg_error "No ${APP} Installation Found!"; exit; fi
if [[ ! -f /etc/apt/sources.list.d/sonarr.list ]]; then
msg_error "No ${APP} Installation Found!"
exit
fi
msg_info "Updating $APP LXC"
apt-get update &>/dev/null
apt-get -y upgrade &>/dev/null

@ -53,7 +53,10 @@ function default_settings() {
function update_script() {
header_info
if [[ ! -f /etc/apt/sources.list.d/syncthing.list ]]; then msg_error "No ${APP} Installation Found!"; exit; fi
if [[ ! -f /etc/apt/sources.list.d/syncthing.list ]]; then
msg_error "No ${APP} Installation Found!"
exit
fi
msg_info "Updating ${APP} LXC"
apt-get update &>/dev/null
apt-get -y upgrade &>/dev/null

@ -52,7 +52,10 @@ function default_settings() {
function update_script() {
header_info
if [[ ! -d /opt/Tautulli/ ]]; then msg_error "No ${APP} Installation Found!"; exit; fi
if [[ ! -d /opt/Tautulli/ ]]; then
msg_error "No ${APP} Installation Found!"
exit
fi
msg_info "Updating $APP LXC"
apt-get update &>/dev/null
apt-get -y upgrade &>/dev/null

@ -52,7 +52,10 @@ function default_settings() {
function update_script() {
header_info
if [[ ! -d /opt/tdarr ]]; then msg_error "No ${APP} Installation Found!"; exit; fi
if [[ ! -d /opt/tdarr ]]; then
msg_error "No ${APP} Installation Found!"
exit
fi
msg_info "Updating $APP LXC"
apt-get update &>/dev/null
apt-get -y upgrade &>/dev/null

@ -52,7 +52,10 @@ function default_settings() {
function update_script() {
header_info
if [[ ! -d /etc/dns ]]; then msg_error "No ${APP} Installation Found!"; exit; fi
if [[ ! -d /etc/dns ]]; then
msg_error "No ${APP} Installation Found!"
exit
fi
msg_info "Updating ${APP}"
if ! dpkg -s aspnetcore-runtime-7.0 >/dev/null 2>&1; then

@ -52,7 +52,10 @@ function default_settings() {
function update_script() {
header_info
if [[ ! -f /etc/transmission-daemon/settings.json ]]; then msg_error "No ${APP} Installation Found!"; exit; fi
if [[ ! -f /etc/transmission-daemon/settings.json ]]; then
msg_error "No ${APP} Installation Found!"
exit
fi
msg_info "Updating ${APP} LXC"
apt-get update &>/dev/null
apt-get -y upgrade &>/dev/null

@ -52,7 +52,10 @@ function default_settings() {
function update_script() {
header_info
if [[ ! -d /opt/trilium ]]; then msg_error "No ${APP} Installation Found!"; exit; fi
if [[ ! -d /opt/trilium ]]; then
msg_error "No ${APP} Installation Found!"
exit
fi
RELEASE=$(curl -s https://api.github.com/repos/zadam/trilium/releases/latest |
grep "tag_name" |
awk '{print substr($2, 3, length($2)-4) }')

@ -52,7 +52,10 @@ function default_settings() {
function update_script() {
header_info
if [[ ! -d /var ]]; then msg_error "No ${APP} Installation Found!"; exit; fi
if [[ ! -d /var ]]; then
msg_error "No ${APP} Installation Found!"
exit
fi
msg_info "Updating ${APP} LXC"
apt-get update &>/dev/null
apt-get -y upgrade &>/dev/null

@ -52,7 +52,10 @@ function default_settings() {
function update_script() {
header_info
if [[ ! -d /usr/lib/unifi ]]; then msg_error "No ${APP} Installation Found!"; exit; fi
if [[ ! -d /usr/lib/unifi ]]; then
msg_error "No ${APP} Installation Found!"
exit
fi
msg_info "Updating ${APP}"
apt-get update
apt-get install -y unifi

@ -53,7 +53,10 @@ function default_settings() {
function update_script() {
header_info
if [[ ! -d /opt/uptime-kuma ]]; then msg_error "No ${APP} Installation Found!"; exit; fi
if [[ ! -d /opt/uptime-kuma ]]; then
msg_error "No ${APP} Installation Found!"
exit
fi
LATEST=$(curl -sL https://api.github.com/repos/louislam/uptime-kuma/releases/latest | grep '"tag_name":' | cut -d'"' -f4)
msg_info "Stopping ${APP}"
sudo systemctl stop uptime-kuma &>/dev/null

@ -53,7 +53,10 @@ function default_settings() {
function update_script() {
header_info
if [[ ! -d /var/lib/whisparr ]]; then msg_error "No ${APP} Installation Found!"; exit; fi
if [[ ! -d /var/lib/whisparr ]]; then
msg_error "No ${APP} Installation Found!"
exit
fi
msg_info "Updating $APP LXC"
apt-get update &>/dev/null
apt-get -y upgrade &>/dev/null

@ -52,7 +52,10 @@ function default_settings() {
function update_script() {
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"
pip3 install whoogle-search --upgrade &>/dev/null
msg_ok "Updated Successfully"

@ -53,7 +53,10 @@ function default_settings() {
function update_script() {
header_info
if [[ ! -d /opt/wikijs ]]; then msg_error "No ${APP} Installation Found!"; exit; fi
if [[ ! -d /opt/wikijs ]]; then
msg_error "No ${APP} Installation Found!"
exit
fi
msg_info "Stopping ${APP}"
systemctl stop wikijs
msg_ok "Stopped ${APP}"

@ -51,7 +51,10 @@ function default_settings() {
}
function update_script() {
if [[ ! -d /etc/pivpn/wireguard ]]; then msg_error "No ${APP} Installation Found!"; exit; fi
if [[ ! -d /etc/pivpn/wireguard ]]; then
msg_error "No ${APP} Installation Found!"
exit
fi
UPD=$(whiptail --title "SUPPORT" --radiolist --cancel-button Exit-Script "Spacebar = Select" 11 58 2 \
"1" "Update ${APP} LXC" ON \
"2" "Install WGDashboard" OFF \
@ -66,7 +69,7 @@ exit
fi
if [ "$UPD" == "2" ]; then
if [[ -f /etc/systemd/system/wg-dashboard.service ]]; then
msg_error "Existing WGDashboard Installation Found!";
msg_error "Existing WGDashboard Installation Found!"
exit
fi
IP=$(hostname -I | awk '{print $1}')

@ -52,7 +52,10 @@ function default_settings() {
function update_script() {
header_info
if [[ ! -f /etc/apt/trusted.gpg.d/php.gpg ]]; then msg_error "No ${APP} Installation Found!"; exit; fi
if [[ ! -f /etc/apt/trusted.gpg.d/php.gpg ]]; then
msg_error "No ${APP} Installation Found!"
exit
fi
msg_info "Updating $APP LXC"
apt-get update &>/dev/null
apt-get -y upgrade &>/dev/null

@ -52,7 +52,10 @@ function default_settings() {
function update_script() {
header_info
if [[ ! -d /opt/zoraxy/src ]]; then msg_error "No ${APP} Installation Found!"; exit; fi
if [[ ! -d /opt/zoraxy/src ]]; then
msg_error "No ${APP} Installation Found!"
exit
fi
msg_error "There is currently no update path available."
exit
}

@ -19,7 +19,6 @@ $STD apt-get install -y sudo
$STD apt-get install -y mc
msg_ok "Installed Dependencies"
msg_info "Installing Transmission"
$STD apt-get install -y transmission-daemon
systemctl stop transmission-daemon

@ -5,7 +5,10 @@
# License: MIT
# https://github.com/tteck/Proxmox/raw/main/LICENSE
if command -v pveversion >/dev/null 2>&1; then echo -e "⚠ Can't Run from the Proxmox Shell"; exit; fi
if command -v pveversion >/dev/null 2>&1; then
echo -e "⚠ Can't Run from the Proxmox Shell"
exit
fi
set -e
clear

@ -46,7 +46,10 @@ function error_exit() {
}
clear
header_info
if command -v pveversion >/dev/null 2>&1; then echo -e "⚠ Can't Install on Proxmox "; exit; fi
if command -v pveversion >/dev/null 2>&1; then
echo -e "⚠ Can't Install on Proxmox "
exit
fi
while true; do
read -p "This will Install ${APP} on $hostname. Proceed(y/n)?" yn
case $yn in

@ -6,7 +6,10 @@
# https://github.com/tteck/Proxmox/raw/main/LICENSE
clear
if command -v pveversion >/dev/null 2>&1; then echo -e "⚠ Can't Run from the Proxmox Shell"; exit; fi
if command -v pveversion >/dev/null 2>&1; then
echo -e "⚠ Can't Run from the Proxmox Shell"
exit
fi
YW=$(echo "\033[33m")
BL=$(echo "\033[36m")
RD=$(echo "\033[01;31m")

@ -8,7 +8,10 @@
# Use to copy all data from one Home Assistant LXC to another
# run from the Proxmox Shell
clear
if ! command -v pveversion >/dev/null 2>&1; then echo -e "⚠ Run from the Proxmox Shell"; exit; fi
if ! command -v pveversion >/dev/null 2>&1; then
echo -e "⚠ Run from the Proxmox Shell"
exit
fi
while true; do
read -p "Use to copy all data from one Home Assistant LXC to another. Proceed(y/n)?" yn
case $yn in

@ -6,7 +6,10 @@
# https://github.com/tteck/Proxmox/raw/main/LICENSE
clear
if ! command -v pveversion >/dev/null 2>&1; then echo -e "⚠ Run from the Proxmox Shell"; exit; fi
if ! command -v pveversion >/dev/null 2>&1; then
echo -e "⚠ Run from the Proxmox Shell"
exit
fi
while true; do
read -p "Use to copy all data from a Home Assistant Container LXC to a Home Assistant Core LXC. Proceed(y/n)?" yn
case $yn in

@ -8,7 +8,10 @@
# Use to copy all data from a Home Assistant LXC to a Podman Home Assistant LXC.
# run from the Proxmox Shell
clear
if ! command -v pveversion >/dev/null 2>&1; then echo -e "⚠ Run from the Proxmox Shell"; exit; fi
if ! command -v pveversion >/dev/null 2>&1; then
echo -e "⚠ Run from the Proxmox Shell"
exit
fi
while true; do
read -p "Use to copy all data from a Home Assistant LXC to a Podman Home Assistant LXC. Proceed(y/n)?" yn
case $yn in

@ -6,7 +6,10 @@
# https://github.com/tteck/Proxmox/raw/main/LICENSE
clear
if ! command -v pveversion >/dev/null 2>&1; then echo -e "⚠ Run from the Proxmox Shell"; exit; fi
if ! command -v pveversion >/dev/null 2>&1; then
echo -e "⚠ Run from the Proxmox Shell"
exit
fi
while true; do
read -p "Use to copy all data from a Home Assistant Core LXC to a Home Assistant Container LXC. Proceed(y/n)?" yn
case $yn in

@ -6,7 +6,10 @@
# https://github.com/tteck/Proxmox/raw/main/LICENSE
clear
if ! command -v pveversion >/dev/null 2>&1; then echo -e "⚠ Run from the Proxmox Shell"; exit; fi
if ! command -v pveversion >/dev/null 2>&1; then
echo -e "⚠ Run from the Proxmox Shell"
exit
fi
while true; do
read -p "Use to copy all data from a Home Assistant Core LXC to a Home Assistant Core LXC. Proceed(y/n)?" yn
case $yn in

@ -8,7 +8,10 @@
# Use to copy all data from one Plex Media Server LXC to another
# run from the Proxmox Shell
clear
if ! command -v pveversion >/dev/null 2>&1; then echo -e "⚠ Run from the Proxmox Shell"; exit; fi
if ! command -v pveversion >/dev/null 2>&1; then
echo -e "⚠ Run from the Proxmox Shell"
exit
fi
while true; do
read -p "Use to copy all data from one Plex Media Server LXC to another. Proceed(y/n)?" yn
case $yn in

@ -8,7 +8,10 @@
# Use to copy all data from a Podman Home Assistant LXC to a Docker Home Assistant LXC.
# run from the Proxmox Shell
clear
if ! command -v pveversion >/dev/null 2>&1; then echo -e "⚠ Run from the Proxmox Shell"; exit; fi
if ! command -v pveversion >/dev/null 2>&1; then
echo -e "⚠ Run from the Proxmox Shell"
exit
fi
while true; do
read -p "Use to copy all data from a Podman Home Assistant LXC to a Docker Home Assistant LXC. Proceed(y/n)?" yn
case $yn in

@ -8,7 +8,10 @@
# Use to copy all data from one Zigbee2MQTT LXC to another
# run from the Proxmox Shell
clear
if ! command -v pveversion >/dev/null 2>&1; then echo -e "⚠ Run from the Proxmox Shell"; exit; fi
if ! command -v pveversion >/dev/null 2>&1; then
echo -e "⚠ Run from the Proxmox Shell"
exit
fi
while true; do
read -p "Use to copy all data from one Zigbee2MQTT LXC to another. Proceed(y/n)?" yn
case $yn in

@ -8,7 +8,10 @@
# Use to copy all data from a Zwavejs2MQTT LXC to a Z-wave JS UI LXC
# run from the Proxmox Shell
clear
if ! command -v pveversion >/dev/null 2>&1; then echo -e "⚠ Run from the Proxmox Shell"; exit; fi
if ! command -v pveversion >/dev/null 2>&1; then
echo -e "⚠ Run from the Proxmox Shell"
exit
fi
while true; do
read -p "Use to copy all data from a Zwavejs2MQTT LXC to a Z-wave JS UI LXC. Proceed(y/n)?" yn
case $yn in

@ -6,7 +6,10 @@
# https://github.com/tteck/Proxmox/raw/main/LICENSE
clear
if command -v pveversion >/dev/null 2>&1; then echo -e "⚠ Can't Run from the Proxmox Shell"; exit; fi
if command -v pveversion >/dev/null 2>&1; then
echo -e "⚠ Can't Run from the Proxmox Shell"
exit
fi
YW=$(echo "\033[33m")
BL=$(echo "\033[36m")
RD=$(echo "\033[01;31m")

@ -33,7 +33,10 @@ function error_exit() {
echo -e "$flag $msg" 1>&2
exit $EXIT
}
if command -v pveversion >/dev/null 2>&1; then echo -e "⚠ Can't Install on Proxmox "; exit; fi
if command -v pveversion >/dev/null 2>&1; then
echo -e "⚠ Can't Install on Proxmox "
exit
fi
while true; do
read -p "This will Install ${APP} on $hostname. Proceed(y/n)?" yn
case $yn in

Some files were not shown because too many files have changed in this diff Show More

Loading…
Cancel
Save