From 1fdac65f7de7881c5bc95666571107c5a8e83574 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Jose=CC=81=20Moreira?= Date: Thu, 5 Sep 2024 21:16:13 +0100 Subject: [PATCH] chore: add fs related helpers that allow to cat files from either a remote repo, including a different branch than main, or from a local folder, so we contributors can change their changes locally --- CODE-AUDIT.md | 4 ++-- ct/actualbudget.sh | 3 ++- ct/adguard.sh | 13 +++++++------ ct/agentdvr.sh | 3 ++- ct/alpine-docker.sh | 11 ++++++----- ct/alpine-grafana.sh | 11 ++++++----- ct/alpine-nextcloud.sh | 5 +++-- ct/alpine-vaultwarden.sh | 13 +++++++------ ct/alpine-zigbee2mqtt.sh | 11 ++++++----- ct/alpine.sh | 11 ++++++----- ct/apache-cassandra.sh | 3 ++- ct/apache-couchdb.sh | 13 +++++++------ ct/apt-cacher-ng.sh | 3 ++- ct/aria2.sh | 3 ++- ct/audiobookshelf.sh | 11 ++++++----- ct/autobrr.sh | 11 ++++++----- ct/bazarr.sh | 3 ++- ct/blocky.sh | 11 ++++++----- ct/bunkerweb.sh | 3 ++- ct/caddy.sh | 3 ++- ct/calibre-web.sh | 3 ++- ct/casaos.sh | 11 ++++++----- ct/changedetection.sh | 11 ++++++----- ct/channels.sh | 3 ++- ct/cloudflared.sh | 11 ++++++----- ct/collabora.sh | 11 ++++++----- ct/commafeed.sh | 3 ++- ct/cronicle.sh | 11 ++++++----- ct/daemonsync.sh | 11 ++++++----- ct/dashy.sh | 11 ++++++----- ct/debian.sh | 11 ++++++----- ct/deconz.sh | 7 ++++--- ct/deluge.sh | 13 +++++++------ ct/docker.sh | 11 ++++++----- ct/dockge.sh | 3 ++- ct/emby.sh | 11 ++++++----- ct/emqx.sh | 11 ++++++----- ct/ersatztv.sh | 11 ++++++----- ct/esphome.sh | 11 ++++++----- ct/fenrus.sh | 5 +++-- ct/fhem.sh | 11 ++++++----- ct/flaresolverr.sh | 9 +++++---- ct/flowiseai.sh | 3 ++- ct/forgejo.sh | 13 +++++++------ ct/frigate.sh | 5 +++-- ct/gitea.sh | 5 +++-- ct/go2rtc.sh | 13 +++++++------ ct/gokapi.sh | 3 ++- ct/gotify.sh | 3 ++- ct/grafana.sh | 11 ++++++----- ct/grocy.sh | 11 ++++++----- ct/headscale.sh | 5 +++-- ct/heimdall-dashboard.sh | 7 ++++--- ct/hivemq.sh | 3 ++- ct/homarr.sh | 3 ++- ct/homeassistant-core.sh | 11 ++++++----- ct/homeassistant.sh | 11 ++++++----- ct/homebridge.sh | 11 ++++++----- ct/homepage.sh | 11 ++++++----- ct/homer.sh | 11 ++++++----- ct/hyperhdr.sh | 3 ++- ct/hyperion.sh | 11 ++++++----- ct/influxdb.sh | 11 ++++++----- ct/iobroker.sh | 11 ++++++----- ct/iventoy.sh | 11 ++++++----- ct/jackett.sh | 11 ++++++----- ct/jellyfin.sh | 13 +++++++------ ct/jellyseerr.sh | 3 ++- ct/k0s.sh | 11 ++++++----- ct/kavita.sh | 11 ++++++----- ct/keycloak.sh | 11 ++++++----- ct/kubo.sh | 3 ++- ct/lazylibrarian.sh | 11 ++++++----- ct/lidarr.sh | 11 ++++++----- ct/linkwarden.sh | 3 ++- ct/lldap.sh | 13 +++++++------ ct/mafl.sh | 3 ++- ct/magicmirror.sh | 13 +++++++------ ct/mariadb.sh | 11 ++++++----- ct/matterbridge.sh | 11 ++++++----- ct/mediamtx.sh | 3 ++- ct/medusa.sh | 5 +++-- ct/meshcentral.sh | 11 ++++++----- ct/metube.sh | 13 +++++++------ ct/mongodb.sh | 11 ++++++----- ct/motioneye.sh | 11 ++++++----- ct/mqtt.sh | 11 ++++++----- ct/myspeed.sh | 13 +++++++------ ct/n8n.sh | 13 +++++++------ ct/navidrome.sh | 11 ++++++----- ct/nextcloudpi.sh | 13 +++++++------ ct/nginxproxymanager.sh | 15 ++++++++------- ct/nocodb.sh | 11 ++++++----- ct/node-red.sh | 13 +++++++------ ct/notifiarr.sh | 3 ++- ct/ntfy.sh | 3 ++- ct/octoprint.sh | 7 ++++--- ct/omada.sh | 11 ++++++----- ct/ombi.sh | 5 +++-- ct/omv.sh | 13 +++++++------ ct/openhab.sh | 13 +++++++------ ct/openobserve.sh | 3 ++- ct/overseerr.sh | 3 ++- ct/owncast.sh | 3 ++- ct/pairdrop.sh | 3 ++- ct/paperless-ngx.sh | 13 +++++++------ ct/pbs.sh | 3 ++- ct/peanut.sh | 3 ++- ct/petio.sh | 9 +++++---- ct/photoprism.sh | 9 +++++---- ct/pialert.sh | 3 ++- ct/pihole.sh | 11 ++++++----- ct/pingvin.sh | 5 +++-- ct/plex.sh | 11 ++++++----- ct/pocketbase.sh | 3 ++- ct/podman-homeassistant.sh | 21 +++++++++++---------- ct/podman.sh | 11 ++++++----- ct/postgresql.sh | 11 ++++++----- ct/prometheus.sh | 13 +++++++------ ct/prowlarr.sh | 11 ++++++----- ct/qbittorrent.sh | 13 +++++++------ ct/rabbitmq.sh | 11 ++++++----- ct/radarr.sh | 11 ++++++----- ct/rdtclient.sh | 3 ++- ct/readarr.sh | 11 ++++++----- ct/readeck.sh | 3 ++- ct/redis.sh | 9 +++++---- ct/rockylinux.sh | 13 +++++++------ ct/rtsptoweb.sh | 11 ++++++----- ct/runtipi.sh | 3 ++- ct/sabnzbd.sh | 11 ++++++----- ct/scrypted.sh | 13 +++++++------ ct/sftpgo.sh | 3 ++- ct/shinobi.sh | 13 +++++++------ ct/smokeping.sh | 3 ++- ct/sonarr.sh | 3 ++- ct/spoolman.sh | 15 ++++++++------- ct/stirling-pdf.sh | 3 ++- ct/syncthing.sh | 13 +++++++------ ct/tandoor.sh | 5 +++-- ct/tasmoadmin.sh | 5 +++-- ct/tautulli.sh | 9 +++++---- ct/tdarr.sh | 11 ++++++----- ct/technitiumdns.sh | 11 ++++++----- ct/threadfin.sh | 11 ++++++----- ct/traccar.sh | 3 ++- ct/traefik.sh | 9 +++++---- ct/transmission.sh | 11 ++++++----- ct/trilium.sh | 13 +++++++------ ct/ubuntu.sh | 11 ++++++----- ct/umami.sh | 13 +++++++------ ct/umbrel.sh | 11 ++++++----- ct/unifi.sh | 13 +++++++------ ct/unmanic.sh | 3 ++- ct/uptimekuma.sh | 13 +++++++------ ct/vaultwarden.sh | 11 ++++++----- ct/wastebin.sh | 11 ++++++----- ct/watchyourlan.sh | 3 ++- ct/whisparr.sh | 13 +++++++------ ct/whoogle.sh | 11 ++++++----- ct/wikijs.sh | 15 ++++++++------- ct/wireguard.sh | 11 ++++++----- ct/yunohost.sh | 11 ++++++----- ct/zabbix.sh | 3 ++- ct/zigbee2mqtt.sh | 11 ++++++----- ct/zoraxy.sh | 3 ++- ct/zwave-js-ui.sh | 11 ++++++----- misc/build.func | 27 ++++++++++++++++++++++++--- {ct => misc}/create_lxc.sh | 0 misc/fs.func | 25 +++++++++++++++++++++++++ 170 files changed, 864 insertions(+), 652 deletions(-) rename {ct => misc}/create_lxc.sh (100%) create mode 100644 misc/fs.func diff --git a/CODE-AUDIT.md b/CODE-AUDIT.md index 46db7c9c..7592417d 100644 --- a/CODE-AUDIT.md +++ b/CODE-AUDIT.md @@ -5,10 +5,10 @@ 1) [adguard.sh](https://github.com/tteck/Proxmox/blob/main/ct/adguard.sh): This script collects system parameters. (Also holds the function to update the application.) 2) [build.func](https://github.com/tteck/Proxmox/blob/main/misc/build.func): Adds user settings and integrates collected information. -3) [create_lxc.sh](https://github.com/tteck/Proxmox/blob/main/ct/create_lxc.sh): Constructs the LXC container. +3) [create_lxc.sh](https://github.com/tteck/Proxmox/blob/main/misc/create_lxc.sh): Constructs the LXC container. 4) [adguard-install.sh](https://github.com/tteck/Proxmox/blob/main/install/adguard-install.sh): Executes functions from [install.func](https://github.com/tteck/Proxmox/blob/main/misc/install.func), and installs the application. 5) [adguard.sh](https://github.com/tteck/Proxmox/blob/main/ct/adguard.sh) (again): To display the completion message. -The installation process uses reusable scripts: [build.func](https://github.com/tteck/Proxmox/blob/main/misc/build.func), [create_lxc.sh](https://github.com/tteck/Proxmox/blob/main/ct/create_lxc.sh), and [install.func](https://github.com/tteck/Proxmox/blob/main/misc/install.func), which are not specific to any particular application. +The installation process uses reusable scripts: [build.func](https://github.com/tteck/Proxmox/blob/main/misc/build.func), [create_lxc.sh](https://github.com/tteck/Proxmox/blob/main/misc/create_lxc.sh), and [install.func](https://github.com/tteck/Proxmox/blob/main/misc/install.func), which are not specific to any particular application. To gain a better understanding, focus on reviewing [adguard-install.sh](https://github.com/tteck/Proxmox/blob/main/install/adguard-install.sh). This script contains the commands and configurations for installing and configuring AdGuard Home within the LXC container. diff --git a/ct/actualbudget.sh b/ct/actualbudget.sh index 1f1e201d..01be10fe 100644 --- a/ct/actualbudget.sh +++ b/ct/actualbudget.sh @@ -1,5 +1,6 @@ #!/usr/bin/env bash -source <(curl -s https://raw.githubusercontent.com/tteck/Proxmox/main/misc/build.func) +source <(curl -s https://raw.githubusercontent.com/tteck/Proxmox/main/misc/fs.func) +source <(fs_cat misc/build.func) # Copyright (c) 2021-2024 tteck # Author: tteck (tteckster) # License: MIT diff --git a/ct/adguard.sh b/ct/adguard.sh index b7a8fdd5..e0d4ec47 100644 --- a/ct/adguard.sh +++ b/ct/adguard.sh @@ -1,5 +1,6 @@ #!/usr/bin/env bash -source <(curl -s https://raw.githubusercontent.com/tteck/Proxmox/main/misc/build.func) +source <(curl -s https://raw.githubusercontent.com/tteck/Proxmox/main/misc/fs.func) +source <(fs_cat misc/build.func) # Copyright (c) 2021-2024 tteck # Author: tteck (tteckster) # License: MIT @@ -10,11 +11,11 @@ clear cat <<"EOF" ___ __ __ / | ____/ /___ ___ ______ __________/ / - / /| |/ __ / __ / / / / __ / ___/ __ / - / ___ / /_/ / /_/ / /_/ / /_/ / / / /_/ / -/_/ |_\__,_/\__, /\__,_/\__,_/_/ \__,_/ - /____/ - + / /| |/ __ / __ / / / / __ / ___/ __ / + / ___ / /_/ / /_/ / /_/ / /_/ / / / /_/ / +/_/ |_\__,_/\__, /\__,_/\__,_/_/ \__,_/ + /____/ + EOF } header_info diff --git a/ct/agentdvr.sh b/ct/agentdvr.sh index d77921bf..c66a75b2 100644 --- a/ct/agentdvr.sh +++ b/ct/agentdvr.sh @@ -1,5 +1,6 @@ #!/usr/bin/env bash -source <(curl -s https://raw.githubusercontent.com/tteck/Proxmox/main/misc/build.func) +source <(curl -s https://raw.githubusercontent.com/tteck/Proxmox/main/misc/fs.func) +source <(fs_cat misc/build.func) # Copyright (c) 2021-2024 tteck # Author: tteck (tteckster) # License: MIT diff --git a/ct/alpine-docker.sh b/ct/alpine-docker.sh index 6fe0c3bf..cf1661ba 100644 --- a/ct/alpine-docker.sh +++ b/ct/alpine-docker.sh @@ -1,5 +1,6 @@ #!/usr/bin/env bash -source <(curl -s https://raw.githubusercontent.com/tteck/Proxmox/main/misc/build.func) +source <(curl -s https://raw.githubusercontent.com/tteck/Proxmox/main/misc/fs.func) +source <(fs_cat misc/build.func) # Copyright (c) 2021-2024 tteck # Author: tteck (tteckster) # License: MIT @@ -8,13 +9,13 @@ source <(curl -s https://raw.githubusercontent.com/tteck/Proxmox/main/misc/build function header_info { clear cat <<"EOF" - ____ __ + ____ __ / __ \____ _____/ /_ __ _____ / / / / __ \/ ___/ //_/ _ \/ ___/ - / /_/ / /_/ / /__/ ,< / __/ / -/_____/\____/\___/_/|_|\___/_/ + / /_/ / /_/ / /__/ ,< / __/ / +/_____/\____/\___/_/|_|\___/_/ Alpine - + EOF } header_info diff --git a/ct/alpine-grafana.sh b/ct/alpine-grafana.sh index 97e5ebde..6188b44d 100644 --- a/ct/alpine-grafana.sh +++ b/ct/alpine-grafana.sh @@ -1,5 +1,6 @@ #!/usr/bin/env bash -source <(curl -s https://raw.githubusercontent.com/tteck/Proxmox/main/misc/build.func) +source <(curl -s https://raw.githubusercontent.com/tteck/Proxmox/main/misc/fs.func) +source <(fs_cat misc/build.func) # Copyright (c) 2021-2024 tteck # Author: tteck (tteckster) # License: MIT @@ -8,13 +9,13 @@ source <(curl -s https://raw.githubusercontent.com/tteck/Proxmox/main/misc/build function header_info { clear cat <<"EOF" - ______ ____ + ______ ____ / ____/________ _/ __/___ _____ ____ _ / / __/ ___/ __ / /_/ __ / __ \/ __ / -/ /_/ / / / /_/ / __/ /_/ / / / / /_/ / -\____/_/ \__,_/_/ \__,_/_/ /_/\__,_/ +/ /_/ / / / /_/ / __/ /_/ / / / / /_/ / +\____/_/ \__,_/_/ \__,_/_/ /_/\__,_/ Alpine - + EOF } header_info diff --git a/ct/alpine-nextcloud.sh b/ct/alpine-nextcloud.sh index c683cfe2..e9ee203d 100644 --- a/ct/alpine-nextcloud.sh +++ b/ct/alpine-nextcloud.sh @@ -1,5 +1,6 @@ #!/usr/bin/env bash -source <(curl -s https://raw.githubusercontent.com/tteck/Proxmox/main/misc/build.func) +source <(curl -s https://raw.githubusercontent.com/tteck/Proxmox/main/misc/fs.func) +source <(fs_cat misc/build.func) # Copyright (c) 2021-2024 tteck # Author: tteck (tteckster) # License: MIT @@ -64,7 +65,7 @@ function update_script() { CHOICE=$(whiptail --backtitle "Proxmox VE Helper Scripts" --title "SUPPORT" --radiolist --cancel-button Exit-Script "Spacebar = Select" 11 58 3 \ "1" "Nextcloud Login Credentials" ON \ "2" "Renew Self-signed Certificate" OFF \ - 3>&1 1>&2 2>&3) + 3>&1 1>&2 2>&3) exit_status=$? if [ $exit_status == 1 ]; then clear diff --git a/ct/alpine-vaultwarden.sh b/ct/alpine-vaultwarden.sh index 9b06d51d..bbc2ac2d 100644 --- a/ct/alpine-vaultwarden.sh +++ b/ct/alpine-vaultwarden.sh @@ -1,5 +1,6 @@ #!/usr/bin/env bash -source <(curl -s https://raw.githubusercontent.com/tteck/Proxmox/main/misc/build.func) +source <(curl -s https://raw.githubusercontent.com/tteck/Proxmox/main/misc/fs.func) +source <(fs_cat misc/build.func) # Copyright (c) 2021-2024 tteck # Author: tteck (tteckster) # License: MIT @@ -8,12 +9,12 @@ source <(curl -s https://raw.githubusercontent.com/tteck/Proxmox/main/misc/build function header_info { clear cat <<"EOF" - _ __ ____ __ -| | / /___ ___ __/ / /__ ______ __________/ /__ ____ + _ __ ____ __ +| | / /___ ___ __/ / /__ ______ __________/ /__ ____ | | / / __ `/ / / / / __/ | /| / / __ `/ ___/ __ / _ \/ __ \ | |/ / /_/ / /_/ / / /_ | |/ |/ / /_/ / / / /_/ / __/ / / / -|___/\__,_/\__,_/_/\__/ |__/|__/\__,_/_/ \__,_/\___/_/ /_/ - Alpine +|___/\__,_/\__,_/_/\__/ |__/|__/\__,_/_/ \__,_/\___/_/ /_/ + Alpine EOF } @@ -85,7 +86,7 @@ function update_script() { sed -i "s|\"admin_token\": .*|\"admin_token\": \"${TOKEN}\",|" /var/lib/vaultwarden/config.json fi rc-service vaultwarden restart -q - fi + fi clear exit ;; diff --git a/ct/alpine-zigbee2mqtt.sh b/ct/alpine-zigbee2mqtt.sh index eb98903a..2a327aed 100644 --- a/ct/alpine-zigbee2mqtt.sh +++ b/ct/alpine-zigbee2mqtt.sh @@ -1,5 +1,6 @@ #!/usr/bin/env bash -source <(curl -s https://raw.githubusercontent.com/tteck/Proxmox/main/misc/build.func) +source <(curl -s https://raw.githubusercontent.com/tteck/Proxmox/main/misc/fs.func) +source <(fs_cat misc/build.func) # Copyright (c) 2021-2024 tteck # Author: tteck (tteckster) # License: MIT @@ -10,11 +11,11 @@ function header_info { cat <<"EOF" _____ _ __ ___ __ _______ ____________ /__ / (_)___ _/ /_ ___ ___ |__ \ / |/ / __ \/_ __/_ __/ - / / / / __ / __ \/ _ \/ _ \__/ // /|_/ / / / / / / / / - / /__/ / /_/ / /_/ / __/ __/ __// / / / /_/ / / / / / -/____/_/\__, /_.___/\___/\___/____/_/ /_/\___\_\/_/ /_/ + / / / / __ / __ \/ _ \/ _ \__/ // /|_/ / / / / / / / / + / /__/ / /_/ / /_/ / __/ __/ __// / / / /_/ / / / / / +/____/_/\__, /_.___/\___/\___/____/_/ /_/\___\_\/_/ /_/ /____/ Alpine - + EOF } header_info diff --git a/ct/alpine.sh b/ct/alpine.sh index 8a651555..c2f3c4ee 100644 --- a/ct/alpine.sh +++ b/ct/alpine.sh @@ -1,5 +1,6 @@ #!/usr/bin/env bash -source <(curl -s https://raw.githubusercontent.com/tteck/Proxmox/main/misc/build.func) +source <(curl -s https://raw.githubusercontent.com/tteck/Proxmox/main/misc/fs.func) +source <(fs_cat misc/build.func) # Copyright (c) 2021-2024 tteck # Author: tteck (tteckster) # License: MIT @@ -8,12 +9,12 @@ source <(curl -s https://raw.githubusercontent.com/tteck/Proxmox/main/misc/build function header_info { clear cat <<"EOF" - ___ __ _ - / | / /___ (_)___ ___ + ___ __ _ + / | / /___ (_)___ ___ / /| | / / __ \/ / __ \/ _ \ / ___ |/ / /_/ / / / / / __/ -/_/ |_/_/ .___/_/_/ /_/\___/ - /_/ +/_/ |_/_/ .___/_/_/ /_/\___/ + /_/ EOF } diff --git a/ct/apache-cassandra.sh b/ct/apache-cassandra.sh index 35f83dff..f9b29250 100644 --- a/ct/apache-cassandra.sh +++ b/ct/apache-cassandra.sh @@ -1,5 +1,6 @@ #!/usr/bin/env bash -source <(curl -s https://raw.githubusercontent.com/tteck/Proxmox/main/misc/build.func) +source <(curl -s https://raw.githubusercontent.com/tteck/Proxmox/main/misc/fs.func) +source <(fs_cat misc/build.func) # Copyright (c) 2021-2024 tteck # Author: tteck (tteckster) # License: MIT diff --git a/ct/apache-couchdb.sh b/ct/apache-couchdb.sh index cd2c00af..649ce7ce 100644 --- a/ct/apache-couchdb.sh +++ b/ct/apache-couchdb.sh @@ -1,5 +1,6 @@ #!/usr/bin/env bash -source <(curl -s https://raw.githubusercontent.com/tteck/Proxmox/main/misc/build.func) +source <(curl -s https://raw.githubusercontent.com/tteck/Proxmox/main/misc/fs.func) +source <(fs_cat misc/build.func) # Copyright (c) 2021-2024 tteck # Author: tteck (tteckster) # License: MIT @@ -8,13 +9,13 @@ source <(curl -s https://raw.githubusercontent.com/tteck/Proxmox/main/misc/build function header_info { clear cat <<"EOF" - ___ __ ______ __ ____ ____ + ___ __ ______ __ ____ ____ / | ____ ____ ______/ /_ ___ / ____/___ __ _______/ /_ / __ \/ __ ) / /| | / __ \/ __ `/ ___/ __ \/ _ \ / / / __ \/ / / / ___/ __ \/ / / / __ | - / ___ |/ /_/ / /_/ / /__/ / / / __/ / /___/ /_/ / /_/ / /__/ / / / /_/ / /_/ / -/_/ |_/ .___/\__,_/\___/_/ /_/\___/ \____/\____/\__,_/\___/_/ /_/_____/_____/ - /_/ - + / ___ |/ /_/ / /_/ / /__/ / / / __/ / /___/ /_/ / /_/ / /__/ / / / /_/ / /_/ / +/_/ |_/ .___/\__,_/\___/_/ /_/\___/ \____/\____/\__,_/\___/_/ /_/_____/_____/ + /_/ + EOF } header_info diff --git a/ct/apt-cacher-ng.sh b/ct/apt-cacher-ng.sh index 8d8235a3..c4e58db4 100644 --- a/ct/apt-cacher-ng.sh +++ b/ct/apt-cacher-ng.sh @@ -1,5 +1,6 @@ #!/usr/bin/env bash -source <(curl -s https://raw.githubusercontent.com/tteck/Proxmox/main/misc/build.func) +source <(curl -s https://raw.githubusercontent.com/tteck/Proxmox/main/misc/fs.func) +source <(fs_cat misc/build.func) # Copyright (c) 2021-2024 tteck # Author: tteck (tteckster) # License: MIT diff --git a/ct/aria2.sh b/ct/aria2.sh index 7fc96b97..5e62c192 100644 --- a/ct/aria2.sh +++ b/ct/aria2.sh @@ -1,5 +1,6 @@ #!/usr/bin/env bash -source <(curl -s https://raw.githubusercontent.com/tteck/Proxmox/main/misc/build.func) +source <(curl -s https://raw.githubusercontent.com/tteck/Proxmox/main/misc/fs.func) +source <(fs_cat misc/build.func) # Copyright (c) 2021-2024 tteck # Author: tteck (tteckster) # License: MIT diff --git a/ct/audiobookshelf.sh b/ct/audiobookshelf.sh index 4d360634..fda49c36 100644 --- a/ct/audiobookshelf.sh +++ b/ct/audiobookshelf.sh @@ -1,5 +1,6 @@ #!/usr/bin/env bash -source <(curl -s https://raw.githubusercontent.com/tteck/Proxmox/main/misc/build.func) +source <(curl -s https://raw.githubusercontent.com/tteck/Proxmox/main/misc/fs.func) +source <(fs_cat misc/build.func) # Copyright (c) 2021-2024 tteck # Author: tteck (tteckster) # License: MIT @@ -10,10 +11,10 @@ clear cat <<"EOF" ___ __ __ __ ______ ____ ___ ______/ (_)___ / /_ ____ ____ / /_______/ /_ ___ / / __/ - / __ `/ / / / __ / / __ \/ __ \/ __ \/ __ \/ //_/ ___/ __ \/ _ \/ / /_ -/ /_/ / /_/ / /_/ / / /_/ / /_/ / /_/ / /_/ / ,< (__ ) / / / __/ / __/ -\__,_/\__,_/\__,_/_/\____/_.___/\____/\____/_/|_/____/_/ /_/\___/_/_/ - + / __ `/ / / / __ / / __ \/ __ \/ __ \/ __ \/ //_/ ___/ __ \/ _ \/ / /_ +/ /_/ / /_/ / /_/ / / /_/ / /_/ / /_/ / /_/ / ,< (__ ) / / / __/ / __/ +\__,_/\__,_/\__,_/_/\____/_.___/\____/\____/_/|_/____/_/ /_/\___/_/_/ + EOF } header_info diff --git a/ct/autobrr.sh b/ct/autobrr.sh index 8cfc2f3e..0d3d4055 100644 --- a/ct/autobrr.sh +++ b/ct/autobrr.sh @@ -1,5 +1,6 @@ #!/usr/bin/env bash -source <(curl -s https://raw.githubusercontent.com/tteck/Proxmox/main/misc/build.func) +source <(curl -s https://raw.githubusercontent.com/tteck/Proxmox/main/misc/fs.func) +source <(fs_cat misc/build.func) # Copyright (c) 2021-2024 tteck # Author: tteck (tteckster) # License: MIT @@ -8,12 +9,12 @@ source <(curl -s https://raw.githubusercontent.com/tteck/Proxmox/main/misc/build function header_info { clear cat <<"EOF" - ___ __ __ + ___ __ __ / | __ __/ /_____ / /_ __________ / /| |/ / / / __/ __ \/ __ \/ ___/ ___/ - / ___ / /_/ / /_/ /_/ / /_/ / / / / -/_/ |_\__,_/\__/\____/_.___/_/ /_/ - + / ___ / /_/ / /_/ /_/ / /_/ / / / / +/_/ |_\__,_/\__/\____/_.___/_/ /_/ + EOF } header_info diff --git a/ct/bazarr.sh b/ct/bazarr.sh index d94543e5..0dad5d54 100755 --- a/ct/bazarr.sh +++ b/ct/bazarr.sh @@ -1,5 +1,6 @@ #!/usr/bin/env bash -source <(curl -s https://raw.githubusercontent.com/tteck/Proxmox/main/misc/build.func) +source <(curl -s https://raw.githubusercontent.com/tteck/Proxmox/main/misc/fs.func) +source <(fs_cat misc/build.func) # Copyright (c) 2021-2024 tteck # Author: tteck (tteckster) # License: MIT diff --git a/ct/blocky.sh b/ct/blocky.sh index a9c74c4d..bb5c4a92 100644 --- a/ct/blocky.sh +++ b/ct/blocky.sh @@ -1,5 +1,6 @@ #!/usr/bin/env bash -source <(curl -s https://raw.githubusercontent.com/tteck/Proxmox/main/misc/build.func) +source <(curl -s https://raw.githubusercontent.com/tteck/Proxmox/main/misc/fs.func) +source <(fs_cat misc/build.func) # Copyright (c) 2021-2024 tteck # Author: tteck (tteckster) # License: MIT @@ -8,12 +9,12 @@ source <(curl -s https://raw.githubusercontent.com/tteck/Proxmox/main/misc/build function header_info { clear cat <<"EOF" - ____ __ __ + ____ __ __ / __ )/ /___ _____/ /____ __ / __ / / __ \/ ___/ //_/ / / / - / /_/ / / /_/ / /__/ ,< / /_/ / -/_____/_/\____/\___/_/|_|\__, / - /____/ + / /_/ / / /_/ / /__/ ,< / /_/ / +/_____/_/\____/\___/_/|_|\__, / + /____/ EOF } header_info diff --git a/ct/bunkerweb.sh b/ct/bunkerweb.sh index 42f0e50f..60d63102 100644 --- a/ct/bunkerweb.sh +++ b/ct/bunkerweb.sh @@ -1,5 +1,6 @@ #!/usr/bin/env bash -source <(curl -s https://raw.githubusercontent.com/tteck/Proxmox/main/misc/build.func) +source <(curl -s https://raw.githubusercontent.com/tteck/Proxmox/main/misc/fs.func) +source <(fs_cat misc/build.func) # Copyright (c) 2021-2024 tteck # Author: tteck (tteckster) # License: MIT diff --git a/ct/caddy.sh b/ct/caddy.sh index 6df98d39..daed1392 100644 --- a/ct/caddy.sh +++ b/ct/caddy.sh @@ -1,5 +1,6 @@ #!/usr/bin/env bash -source <(curl -s https://raw.githubusercontent.com/tteck/Proxmox/main/misc/build.func) +source <(curl -s https://raw.githubusercontent.com/tteck/Proxmox/main/misc/fs.func) +source <(fs_cat misc/build.func) # Copyright (c) 2021-2024 tteck # Author: tteck (tteckster) # License: MIT diff --git a/ct/calibre-web.sh b/ct/calibre-web.sh index d7b53adc..2cc63b31 100644 --- a/ct/calibre-web.sh +++ b/ct/calibre-web.sh @@ -1,5 +1,6 @@ #!/usr/bin/env bash -source <(curl -s https://raw.githubusercontent.com/tteck/Proxmox/main/misc/build.func) +source <(curl -s https://raw.githubusercontent.com/tteck/Proxmox/main/misc/fs.func) +source <(fs_cat misc/build.func) # Copyright (c) 2021-2024 tteck # Author: tteck (tteckster) # Co-Author: remz1337 diff --git a/ct/casaos.sh b/ct/casaos.sh index 85cc0510..dd5260cc 100644 --- a/ct/casaos.sh +++ b/ct/casaos.sh @@ -1,5 +1,6 @@ #!/usr/bin/env bash -source <(curl -s https://raw.githubusercontent.com/tteck/Proxmox/main/misc/build.func) +source <(curl -s https://raw.githubusercontent.com/tteck/Proxmox/main/misc/fs.func) +source <(fs_cat misc/build.func) # Copyright (c) 2021-2024 tteck # Author: tteck (tteckster) # License: MIT @@ -10,10 +11,10 @@ clear cat <<"EOF" ______ ____ _____ / ____/___ __________ _/ __ \/ ___/ - / / / __ `/ ___/ __ `/ / / /\__ \ -/ /___/ /_/ (__ ) /_/ / /_/ /___/ / -\____/\__,_/____/\__,_/\____//____/ - + / / / __ `/ ___/ __ `/ / / /\__ \ +/ /___/ /_/ (__ ) /_/ / /_/ /___/ / +\____/\__,_/____/\__,_/\____//____/ + EOF } header_info diff --git a/ct/changedetection.sh b/ct/changedetection.sh index b6f42369..115ef643 100644 --- a/ct/changedetection.sh +++ b/ct/changedetection.sh @@ -1,5 +1,6 @@ #!/usr/bin/env bash -source <(curl -s https://raw.githubusercontent.com/tteck/Proxmox/main/misc/build.func) +source <(curl -s https://raw.githubusercontent.com/tteck/Proxmox/main/misc/fs.func) +source <(fs_cat misc/build.func) # Copyright (c) 2021-2024 tteck # Author: tteck (tteckster) # License: MIT @@ -8,12 +9,12 @@ source <(curl -s https://raw.githubusercontent.com/tteck/Proxmox/main/misc/build function header_info { clear cat <<"EOF" - ________ ____ __ __ _ - / ____/ /_ ____ _____ ____ ____ / __ \___ / /____ _____/ /_(_)___ ____ + ________ ____ __ __ _ + / ____/ /_ ____ _____ ____ ____ / __ \___ / /____ _____/ /_(_)___ ____ / / / __ \/ __ `/ __ \/ __ `/ _ \ / / / / _ \/ __/ _ \/ ___/ __/ / __ \/ __ \ / /___/ / / / /_/ / / / / /_/ / __/ / /_/ / __/ /_/ __/ /__/ /_/ / /_/ / / / / -\____/_/ /_/\__,_/_/ /_/\__, /\___/ /_____/\___/\__/\___/\___/\__/_/\____/_/ /_/ - /____/ +\____/_/ /_/\__,_/_/ /_/\__, /\___/ /_____/\___/\__/\___/\___/\__/_/\____/_/ /_/ + /____/ EOF } header_info diff --git a/ct/channels.sh b/ct/channels.sh index 7e8b0140..37e75756 100644 --- a/ct/channels.sh +++ b/ct/channels.sh @@ -1,5 +1,6 @@ #!/usr/bin/env bash -source <(curl -s https://raw.githubusercontent.com/tteck/Proxmox/main/misc/build.func) +source <(curl -s https://raw.githubusercontent.com/tteck/Proxmox/main/misc/fs.func) +source <(fs_cat misc/build.func) # Copyright (c) 2021-2024 tteck # Author: tteck (tteckster) # License: MIT diff --git a/ct/cloudflared.sh b/ct/cloudflared.sh index c4f9631c..c1d53058 100644 --- a/ct/cloudflared.sh +++ b/ct/cloudflared.sh @@ -1,5 +1,6 @@ #!/usr/bin/env bash -source <(curl -s https://raw.githubusercontent.com/tteck/Proxmox/main/misc/build.func) +source <(curl -s https://raw.githubusercontent.com/tteck/Proxmox/main/misc/fs.func) +source <(fs_cat misc/build.func) # Copyright (c) 2021-2024 tteck # Author: tteck (tteckster) # License: MIT @@ -10,10 +11,10 @@ clear cat <<"EOF" ________ ________ __ / ____/ /___ __ ______/ / __/ /___ _________ ____/ / - / / / / __ \/ / / / __ / /_/ / __ `/ ___/ _ \/ __ / -/ /___/ / /_/ / /_/ / /_/ / __/ / /_/ / / / __/ /_/ / -\____/_/\____/\__,_/\__,_/_/ /_/\__,_/_/ \___/\__,_/ - + / / / / __ \/ / / / __ / /_/ / __ `/ ___/ _ \/ __ / +/ /___/ / /_/ / /_/ / /_/ / __/ / /_/ / / / __/ /_/ / +\____/_/\____/\__,_/\__,_/_/ /_/\__,_/_/ \___/\__,_/ + EOF } header_info diff --git a/ct/collabora.sh b/ct/collabora.sh index 871f84a2..f3174e8a 100644 --- a/ct/collabora.sh +++ b/ct/collabora.sh @@ -1,5 +1,6 @@ #!/usr/bin/env bash -source <(curl -s https://raw.githubusercontent.com/tteck/Proxmox/main/misc/build.func) +source <(curl -s https://raw.githubusercontent.com/tteck/Proxmox/main/misc/fs.func) +source <(fs_cat misc/build.func) # Copyright (c) 2021-2024 tteck # Author: tteck (tteckster) # Co-Author: remz1337 @@ -9,12 +10,12 @@ source <(curl -s https://raw.githubusercontent.com/tteck/Proxmox/main/misc/build function header_info { clear cat <<"EOF" - ______ ____ __ + ______ ____ __ / ____/___ / / /___ _/ /_ ____ _________ _ / / / __ \/ / / __ `/ __ \/ __ \/ ___/ __ `/ -/ /___/ /_/ / / / /_/ / /_/ / /_/ / / / /_/ / -\____/\____/_/_/\__,_/_.___/\____/_/ \__,_/ - +/ /___/ /_/ / / / /_/ / /_/ / /_/ / / / /_/ / +\____/\____/_/_/\__,_/_.___/\____/_/ \__,_/ + EOF } header_info diff --git a/ct/commafeed.sh b/ct/commafeed.sh index 7b8b16b6..68f24fb8 100644 --- a/ct/commafeed.sh +++ b/ct/commafeed.sh @@ -1,5 +1,6 @@ #!/usr/bin/env bash -source <(curl -s https://raw.githubusercontent.com/tteck/Proxmox/main/misc/build.func) +source <(curl -s https://raw.githubusercontent.com/tteck/Proxmox/main/misc/fs.func) +source <(fs_cat misc/build.func) # Copyright (c) 2021-2024 tteck # Author: tteck (tteckster) # License: MIT diff --git a/ct/cronicle.sh b/ct/cronicle.sh index 946101f3..a17adbe3 100644 --- a/ct/cronicle.sh +++ b/ct/cronicle.sh @@ -1,5 +1,6 @@ #!/usr/bin/env bash -source <(curl -s https://raw.githubusercontent.com/tteck/Proxmox/main/misc/build.func) +source <(curl -s https://raw.githubusercontent.com/tteck/Proxmox/main/misc/fs.func) +source <(fs_cat misc/build.func) # Copyright (c) 2021-2024 tteck # Author: tteck (tteckster) # License: MIT @@ -8,12 +9,12 @@ source <(curl -s https://raw.githubusercontent.com/tteck/Proxmox/main/misc/build function header_info { clear cat <<"EOF" - ______ _ __ - / ____/________ ____ (_)____/ /__ + ______ _ __ + / ____/________ ____ (_)____/ /__ / / / ___/ __ \/ __ \/ / ___/ / _ \ / /___/ / / /_/ / / / / / /__/ / __/ -\____/_/ \____/_/ /_/_/\___/_/\___/ - +\____/_/ \____/_/ /_/_/\___/_/\___/ + EOF } header_info diff --git a/ct/daemonsync.sh b/ct/daemonsync.sh index 01ffa4a7..4ead1058 100644 --- a/ct/daemonsync.sh +++ b/ct/daemonsync.sh @@ -1,5 +1,6 @@ #!/usr/bin/env bash -source <(curl -s https://raw.githubusercontent.com/tteck/Proxmox/main/misc/build.func) +source <(curl -s https://raw.githubusercontent.com/tteck/Proxmox/main/misc/fs.func) +source <(fs_cat misc/build.func) # Copyright (c) 2021-2024 tteck # Author: tteck (tteckster) # License: MIT @@ -8,12 +9,12 @@ source <(curl -s https://raw.githubusercontent.com/tteck/Proxmox/main/misc/build function header_info { clear cat <<"EOF" - ____ _____ + ____ _____ / __ \____ ____ ____ ___ ____ ____ / ___/__ ______ _____ / / / / __ / _ \/ __ __ \/ __ \/ __ \ \__ \/ / / / __ \/ ___/ - / /_/ / /_/ / __/ / / / / / /_/ / / / / ___/ / /_/ / / / / /__ -/_____/\__,_/\___/_/ /_/ /_/\____/_/ /_/ /____/\__, /_/ /_/\___/ - /____/ + / /_/ / /_/ / __/ / / / / / /_/ / / / / ___/ / /_/ / / / / /__ +/_____/\__,_/\___/_/ /_/ /_/\____/_/ /_/ /____/\__, /_/ /_/\___/ + /____/ EOF } header_info diff --git a/ct/dashy.sh b/ct/dashy.sh index 60ea57db..2645930d 100644 --- a/ct/dashy.sh +++ b/ct/dashy.sh @@ -1,5 +1,6 @@ #!/usr/bin/env bash -source <(curl -s https://raw.githubusercontent.com/tteck/Proxmox/main/misc/build.func) +source <(curl -s https://raw.githubusercontent.com/tteck/Proxmox/main/misc/fs.func) +source <(fs_cat misc/build.func) # Copyright (c) 2021-2024 tteck # Author: tteck (tteckster) # License: MIT @@ -8,12 +9,12 @@ source <(curl -s https://raw.githubusercontent.com/tteck/Proxmox/main/misc/build function header_info { clear cat <<"EOF" - ____ __ + ____ __ / __ \____ ______/ /_ __ __ / / / / __ / ___/ __ \/ / / / - / /_/ / /_/ (__ ) / / / /_/ / -/_____/\__,_/____/_/ /_/\__, / - /____/ + / /_/ / /_/ (__ ) / / / /_/ / +/_____/\__,_/____/_/ /_/\__, / + /____/ EOF } header_info diff --git a/ct/debian.sh b/ct/debian.sh index 2472b0ac..2a29a993 100644 --- a/ct/debian.sh +++ b/ct/debian.sh @@ -1,5 +1,6 @@ #!/usr/bin/env bash -source <(curl -s https://raw.githubusercontent.com/tteck/Proxmox/main/misc/build.func) +source <(curl -s https://raw.githubusercontent.com/tteck/Proxmox/main/misc/fs.func) +source <(fs_cat misc/build.func) # Copyright (c) 2021-2024 tteck # Author: tteck (tteckster) # License: MIT @@ -8,12 +9,12 @@ source <(curl -s https://raw.githubusercontent.com/tteck/Proxmox/main/misc/build function header_info { clear cat <<"EOF" - ____ __ _ - / __ \___ / /_ (_)___ ____ + ____ __ _ + / __ \___ / /_ (_)___ ____ / / / / _ \/ __ \/ / __ `/ __ \ / /_/ / __/ /_/ / / /_/ / / / / -/_____/\___/_.___/_/\__,_/_/ /_/ - +/_____/\___/_.___/_/\__,_/_/ /_/ + EOF } header_info diff --git a/ct/deconz.sh b/ct/deconz.sh index bf42af0c..c60f7110 100644 --- a/ct/deconz.sh +++ b/ct/deconz.sh @@ -1,5 +1,6 @@ #!/usr/bin/env bash -source <(curl -s https://raw.githubusercontent.com/tteck/Proxmox/main/misc/build.func) +source <(curl -s https://raw.githubusercontent.com/tteck/Proxmox/main/misc/fs.func) +source <(fs_cat misc/build.func) # Copyright (c) 2021-2024 tteck # Author: tteck (tteckster) # License: MIT @@ -10,10 +11,10 @@ clear cat <<"EOF" __ __________ _ _______ ____/ /__ / ____/ __ \/ | / /__ / - / __ / _ \/ / / / / / |/ / / / + / __ / _ \/ / / / / / |/ / / / / /_/ / __/ /___/ /_/ / /| / / /__ \__,_/\___/\____/\____/_/ |_/ /____/ - + EOF } header_info diff --git a/ct/deluge.sh b/ct/deluge.sh index 897a3bf8..dd811962 100644 --- a/ct/deluge.sh +++ b/ct/deluge.sh @@ -1,5 +1,6 @@ #!/usr/bin/env bash -source <(curl -s https://raw.githubusercontent.com/tteck/Proxmox/main/misc/build.func) +source <(curl -s https://raw.githubusercontent.com/tteck/Proxmox/main/misc/fs.func) +source <(fs_cat misc/build.func) # Copyright (c) 2021-2024 tteck # Author: tteck (tteckster) # License: MIT @@ -8,13 +9,13 @@ source <(curl -s https://raw.githubusercontent.com/tteck/Proxmox/main/misc/build function header_info { clear cat <<"EOF" - ____ __ - / __ \___ / /_ ______ ____ + ____ __ + / __ \___ / /_ ______ ____ / / / / _ \/ / / / / __ `/ _ \ / /_/ / __/ / /_/ / /_/ / __/ -/_____/\___/_/\__,_/\__, /\___/ - /____/ - +/_____/\___/_/\__,_/\__, /\___/ + /____/ + EOF } header_info diff --git a/ct/docker.sh b/ct/docker.sh index ce263f9b..0299e146 100644 --- a/ct/docker.sh +++ b/ct/docker.sh @@ -1,5 +1,6 @@ #!/usr/bin/env bash -source <(curl -s https://raw.githubusercontent.com/tteck/Proxmox/main/misc/build.func) +source <(curl -s https://raw.githubusercontent.com/tteck/Proxmox/main/misc/fs.func) +source <(fs_cat misc/build.func) # Copyright (c) 2021-2024 tteck # Author: tteck (tteckster) # License: MIT @@ -8,12 +9,12 @@ source <(curl -s https://raw.githubusercontent.com/tteck/Proxmox/main/misc/build function header_info { clear cat <<"EOF" - ____ __ + ____ __ / __ \____ _____/ /_ __ _____ / / / / __ \/ ___/ //_/ _ \/ ___/ - / /_/ / /_/ / /__/ ,< / __/ / -/_____/\____/\___/_/|_|\___/_/ - + / /_/ / /_/ / /__/ ,< / __/ / +/_____/\____/\___/_/|_|\___/_/ + EOF } header_info diff --git a/ct/dockge.sh b/ct/dockge.sh index b1d943a4..d080a0d3 100644 --- a/ct/dockge.sh +++ b/ct/dockge.sh @@ -1,5 +1,6 @@ #!/usr/bin/env bash -source <(curl -s https://raw.githubusercontent.com/tteck/Proxmox/main/misc/build.func) +source <(curl -s https://raw.githubusercontent.com/tteck/Proxmox/main/misc/fs.func) +source <(fs_cat misc/build.func) # Copyright (c) 2021-2024 tteck # Author: tteck (tteckster) # License: MIT diff --git a/ct/emby.sh b/ct/emby.sh index 092a44a4..252015ef 100644 --- a/ct/emby.sh +++ b/ct/emby.sh @@ -1,5 +1,6 @@ #!/usr/bin/env bash -source <(curl -s https://raw.githubusercontent.com/tteck/Proxmox/main/misc/build.func) +source <(curl -s https://raw.githubusercontent.com/tteck/Proxmox/main/misc/fs.func) +source <(fs_cat misc/build.func) # Copyright (c) 2021-2024 tteck # Author: tteck (tteckster) # License: MIT @@ -8,12 +9,12 @@ source <(curl -s https://raw.githubusercontent.com/tteck/Proxmox/main/misc/build function header_info { clear cat <<"EOF" - ______ __ + ______ __ / ____/___ ___ / /_ __ __ / __/ / __ __ \/ __ \/ / / / - / /___/ / / / / / /_/ / /_/ / -/_____/_/ /_/ /_/_.___/\__, / - /____/ + / /___/ / / / / / /_/ / /_/ / +/_____/_/ /_/ /_/_.___/\__, / + /____/ EOF } header_info diff --git a/ct/emqx.sh b/ct/emqx.sh index 6ec3cab7..9bf04716 100644 --- a/ct/emqx.sh +++ b/ct/emqx.sh @@ -1,5 +1,6 @@ #!/usr/bin/env bash -source <(curl -s https://raw.githubusercontent.com/tteck/Proxmox/main/misc/build.func) +source <(curl -s https://raw.githubusercontent.com/tteck/Proxmox/main/misc/fs.func) +source <(fs_cat misc/build.func) # Copyright (c) 2021-2024 tteck # Author: tteck (tteckster) # License: MIT @@ -10,10 +11,10 @@ clear cat <<"EOF" ________ _______ _ __ / ____/ |/ / __ \ | |/ / - / __/ / /|_/ / / / / | / - / /___/ / / / /_/ / / | -/_____/_/ /_/\___\_\/_/|_| - + / __/ / /|_/ / / / / | / + / /___/ / / / /_/ / / | +/_____/_/ /_/\___\_\/_/|_| + EOF } header_info diff --git a/ct/ersatztv.sh b/ct/ersatztv.sh index 81ea5b7b..3250bec3 100644 --- a/ct/ersatztv.sh +++ b/ct/ersatztv.sh @@ -1,5 +1,6 @@ #!/usr/bin/env bash -source <(curl -s https://raw.githubusercontent.com/tteck/Proxmox/main/misc/build.func) +source <(curl -s https://raw.githubusercontent.com/tteck/Proxmox/main/misc/fs.func) +source <(fs_cat misc/build.func) # Copyright (c) 2021-2024 tteck # Author: tteck # Co-Author: MickLesk (Canbiz) @@ -13,10 +14,10 @@ clear cat <<"EOF" ______ __ _______ __ / ____/_____________ _/ /_____/_ __/ | / / - / __/ / ___/ ___/ __ `/ __/_ / / / | | / / - / /___/ / (__ ) /_/ / /_ / /_/ / | |/ / -/_____/_/ /____/\__,_/\__/ /___/_/ |___/ - + / __/ / ___/ ___/ __ `/ __/_ / / / | | / / + / /___/ / (__ ) /_/ / /_ / /_/ / | |/ / +/_____/_/ /____/\__,_/\__/ /___/_/ |___/ + EOF } header_info diff --git a/ct/esphome.sh b/ct/esphome.sh index 7a2e0e87..27647dea 100644 --- a/ct/esphome.sh +++ b/ct/esphome.sh @@ -1,5 +1,6 @@ #!/usr/bin/env bash -source <(curl -s https://raw.githubusercontent.com/tteck/Proxmox/main/misc/build.func) +source <(curl -s https://raw.githubusercontent.com/tteck/Proxmox/main/misc/fs.func) +source <(fs_cat misc/build.func) # Copyright (c) 2021-2024 tteck # Author: tteck (tteckster) # License: MIT @@ -8,12 +9,12 @@ source <(curl -s https://raw.githubusercontent.com/tteck/Proxmox/main/misc/build function header_info { clear cat <<"EOF" - ___________ ____ __ __ - / ____/ ___// __ \/ / / /___ ____ ___ ___ + ___________ ____ __ __ + / ____/ ___// __ \/ / / /___ ____ ___ ___ / __/ \__ \/ /_/ / /_/ / __ \/ __ `__ \/ _ \ / /___ ___/ / ____/ __ / /_/ / / / / / / __/ -/_____//____/_/ /_/ /_/\____/_/ /_/ /_/\___/ - +/_____//____/_/ /_/ /_/\____/_/ /_/ /_/\___/ + EOF } header_info diff --git a/ct/fenrus.sh b/ct/fenrus.sh index 0f5e4d17..86c7dbe4 100644 --- a/ct/fenrus.sh +++ b/ct/fenrus.sh @@ -1,5 +1,6 @@ #!/usr/bin/env bash -source <(curl -s https://raw.githubusercontent.com/tteck/Proxmox/main/misc/build.func) +source <(curl -s https://raw.githubusercontent.com/tteck/Proxmox/main/misc/fs.func) +source <(fs_cat misc/build.func) # Copyright (c) 2021-2024 tteck # Author: tteck (tteckster) # Co-Author: Scorpoon @@ -67,7 +68,7 @@ gitVersionNumber=$(git rev-parse HEAD) if [[ "${gitVersionNumber}" != "$(cat /opt/${APP}_version.txt)" ]] || [[ ! -f /opt/${APP}_version.txt ]]; then mkdir /opt/fenrus-data-backup cp -r "/opt/${APP}/data/" /opt/fenrus-data-backup/data - if [[ ! -d /opt/fenrus-data-backup/data ]]; then msg_error "Backup of data folder failed! exiting..."; rm -r /opt/fenrus-data-backup/; exit; fi + if [[ ! -d /opt/fenrus-data-backup/data ]]; then msg_error "Backup of data folder failed! exiting..."; rm -r /opt/fenrus-data-backup/; exit; fi export DOTNET_CLI_TELEMETRY_OPTOUT=1 dotnet publish -c Release -o "/opt/${APP}/" Fenrus.csproj cp -r /opt/fenrus-data-backup/data/ "/opt/${APP}/" diff --git a/ct/fhem.sh b/ct/fhem.sh index a98ce9ae..4ba2f5aa 100644 --- a/ct/fhem.sh +++ b/ct/fhem.sh @@ -1,5 +1,6 @@ #!/usr/bin/env bash -source <(curl -s https://raw.githubusercontent.com/tteck/Proxmox/main/misc/build.func) +source <(curl -s https://raw.githubusercontent.com/tteck/Proxmox/main/misc/fs.func) +source <(fs_cat misc/build.func) # Copyright (c) 2021-2024 tteck # Author: tteck (tteckster) # License: MIT @@ -8,12 +9,12 @@ source <(curl -s https://raw.githubusercontent.com/tteck/Proxmox/main/misc/build function header_info { clear cat <<"EOF" - ________ - / ____/ /_ ___ ____ ___ + ________ + / ____/ /_ ___ ____ ___ / /_ / __ \/ _ \/ __ `__ \ / __/ / / / / __/ / / / / / -/_/ /_/ /_/\___/_/ /_/ /_/ - +/_/ /_/ /_/\___/_/ /_/ /_/ + EOF } header_info diff --git a/ct/flaresolverr.sh b/ct/flaresolverr.sh index 85cc927a..e221f5ce 100644 --- a/ct/flaresolverr.sh +++ b/ct/flaresolverr.sh @@ -1,5 +1,6 @@ #!/usr/bin/env bash -source <(curl -s https://raw.githubusercontent.com/tteck/Proxmox/main/misc/build.func) +source <(curl -s https://raw.githubusercontent.com/tteck/Proxmox/main/misc/fs.func) +source <(fs_cat misc/build.func) # Copyright (c) 2021-2024 tteck # Author: tteck (tteckster) # Co-Author: remz1337 @@ -9,11 +10,11 @@ source <(curl -s https://raw.githubusercontent.com/tteck/Proxmox/main/misc/build function header_info { clear cat <<"EOF" - ________ _____ __ + ________ _____ __ / ____/ /___ _________ / ___/____ / / _____ __________ / /_ / / __ `/ ___/ _ \\__ \/ __ \/ / | / / _ \/ ___/ ___/ - / __/ / / /_/ / / / __/__/ / /_/ / /| |/ / __/ / / / -/_/ /_/\__,_/_/ \___/____/\____/_/ |___/\___/_/ /_/ + / __/ / / /_/ / / / __/__/ / /_/ / /| |/ / __/ / / / +/_/ /_/\__,_/_/ \___/____/\____/_/ |___/\___/_/ /_/ EOF } diff --git a/ct/flowiseai.sh b/ct/flowiseai.sh index 4dc58f6b..f2b7c5d6 100644 --- a/ct/flowiseai.sh +++ b/ct/flowiseai.sh @@ -1,5 +1,6 @@ #!/usr/bin/env bash -source <(curl -s https://raw.githubusercontent.com/tteck/Proxmox/main/misc/build.func) +source <(curl -s https://raw.githubusercontent.com/tteck/Proxmox/main/misc/fs.func) +source <(fs_cat misc/build.func) # Copyright (c) 2021-2024 tteck # Author: tteck (tteckster) # License: MIT diff --git a/ct/forgejo.sh b/ct/forgejo.sh index 9df120ba..dfa7e1ff 100644 --- a/ct/forgejo.sh +++ b/ct/forgejo.sh @@ -1,5 +1,6 @@ #!/usr/bin/env bash -source <(curl -s https://raw.githubusercontent.com/tteck/Proxmox/main/misc/build.func) +source <(curl -s https://raw.githubusercontent.com/tteck/Proxmox/main/misc/fs.func) +source <(fs_cat misc/build.func) # Copyright (c) 2021-2024 tteck # Author: tteck (tteckster) # License: MIT @@ -8,13 +9,13 @@ source <(curl -s https://raw.githubusercontent.com/tteck/Proxmox/main/misc/build function header_info { clear cat <<"EOF" - ______ _ - / ____/___ _________ ___ (_)___ + ______ _ + / ____/___ _________ ___ (_)___ / /_ / __ \/ ___/ __ `/ _ \ / / __ \ / __/ / /_/ / / / /_/ / __/ / / /_/ / -/_/ \____/_/ \__, /\___/_/ /\____/ - /____/ /___/ - +/_/ \____/_/ \__, /\___/_/ /\____/ + /____/ /___/ + EOF } header_info diff --git a/ct/frigate.sh b/ct/frigate.sh index 0e83c6e0..0cbf0769 100644 --- a/ct/frigate.sh +++ b/ct/frigate.sh @@ -1,5 +1,6 @@ #!/usr/bin/env bash -source <(curl -s https://raw.githubusercontent.com/tteck/Proxmox/main/misc/build.func) +source <(curl -s https://raw.githubusercontent.com/tteck/Proxmox/main/misc/fs.func) +source <(fs_cat misc/build.func) # Copyright (c) 2021-2024 tteck # Authors: tteck (tteckster) # License: MIT @@ -56,7 +57,7 @@ function default_settings() { function update_script() { if [[ ! -f /etc/systemd/system/frigate.service ]]; then msg_error "No ${APP} Installation Found!"; exit; fi msg_error "To update Frigate, create a new container and transfer your configuration." - exit + exit } start diff --git a/ct/gitea.sh b/ct/gitea.sh index 6ab81615..5b962813 100644 --- a/ct/gitea.sh +++ b/ct/gitea.sh @@ -1,5 +1,6 @@ #!/usr/bin/env bash -source <(curl -s https://raw.githubusercontent.com/tteck/Proxmox/main/misc/build.func) +source <(curl -s https://raw.githubusercontent.com/tteck/Proxmox/main/misc/fs.func) +source <(fs_cat misc/build.func) # Copyright (c) 2021-2024 tteck # Author: tteck (tteckster) # Co-author: Rogue-King @@ -60,7 +61,7 @@ RELEASE=$(wget -q https://github.com/go-gitea/gitea/releases/latest -O - | grep msg_info "Updating $APP to ${RELEASE}" wget -q https://github.com/go-gitea/gitea/releases/download/v$RELEASE/gitea-$RELEASE-linux-amd64 systemctl stop gitea -rm -rf /usr/local/bin/gitea +rm -rf /usr/local/bin/gitea mv gitea* /usr/local/bin/gitea chmod +x /usr/local/bin/gitea systemctl start gitea diff --git a/ct/go2rtc.sh b/ct/go2rtc.sh index 380ed801..12fbb2a9 100644 --- a/ct/go2rtc.sh +++ b/ct/go2rtc.sh @@ -1,5 +1,6 @@ #!/usr/bin/env bash -source <(curl -s https://raw.githubusercontent.com/tteck/Proxmox/main/misc/build.func) +source <(curl -s https://raw.githubusercontent.com/tteck/Proxmox/main/misc/fs.func) +source <(fs_cat misc/build.func) # Copyright (c) 2021-2024 tteck # Author: tteck (tteckster) # License: MIT @@ -8,13 +9,13 @@ source <(curl -s https://raw.githubusercontent.com/tteck/Proxmox/main/misc/build function header_info { clear cat <<"EOF" - ___ __ + ___ __ ____ _____ |__ \ _____/ /______ / __ `/ __ \__/ // ___/ __/ ___/ - / /_/ / /_/ / __// / / /_/ /__ - \__, /\____/____/_/ \__/\___/ -/____/ - + / /_/ / /_/ / __// / / /_/ /__ + \__, /\____/____/_/ \__/\___/ +/____/ + EOF } header_info diff --git a/ct/gokapi.sh b/ct/gokapi.sh index 942cc560..a70e15c1 100644 --- a/ct/gokapi.sh +++ b/ct/gokapi.sh @@ -1,5 +1,6 @@ #!/usr/bin/env bash -source <(curl -s https://raw.githubusercontent.com/tteck/Proxmox/main/misc/build.func) +source <(curl -s https://raw.githubusercontent.com/tteck/Proxmox/main/misc/fs.func) +source <(fs_cat misc/build.func) # Copyright (c) 2021-2024 tteck # Author: tteck (tteckster) # License: MIT diff --git a/ct/gotify.sh b/ct/gotify.sh index 15f911df..b19c86f0 100644 --- a/ct/gotify.sh +++ b/ct/gotify.sh @@ -1,5 +1,6 @@ #!/usr/bin/env bash -source <(curl -s https://raw.githubusercontent.com/tteck/Proxmox/main/misc/build.func) +source <(curl -s https://raw.githubusercontent.com/tteck/Proxmox/main/misc/fs.func) +source <(fs_cat misc/build.func) # Copyright (c) 2021-2024 tteck # Author: tteck (tteckster) # License: MIT diff --git a/ct/grafana.sh b/ct/grafana.sh index b5ea2aa9..3f836821 100644 --- a/ct/grafana.sh +++ b/ct/grafana.sh @@ -1,5 +1,6 @@ #!/usr/bin/env bash -source <(curl -s https://raw.githubusercontent.com/tteck/Proxmox/main/misc/build.func) +source <(curl -s https://raw.githubusercontent.com/tteck/Proxmox/main/misc/fs.func) +source <(fs_cat misc/build.func) # Copyright (c) 2021-2024 tteck # Author: tteck (tteckster) # License: MIT @@ -8,12 +9,12 @@ source <(curl -s https://raw.githubusercontent.com/tteck/Proxmox/main/misc/build function header_info { clear cat <<"EOF" - ______ ____ + ______ ____ / ____/________ _/ __/___ _____ ____ _ / / __/ ___/ __ / /_/ __ / __ \/ __ / -/ /_/ / / / /_/ / __/ /_/ / / / / /_/ / -\____/_/ \__,_/_/ \__,_/_/ /_/\__,_/ - +/ /_/ / / / /_/ / __/ /_/ / / / / /_/ / +\____/_/ \__,_/_/ \__,_/_/ /_/\__,_/ + EOF } header_info diff --git a/ct/grocy.sh b/ct/grocy.sh index fc48644b..7c6d92f5 100644 --- a/ct/grocy.sh +++ b/ct/grocy.sh @@ -1,5 +1,6 @@ #!/usr/bin/env bash -source <(curl -s https://raw.githubusercontent.com/tteck/Proxmox/main/misc/build.func) +source <(curl -s https://raw.githubusercontent.com/tteck/Proxmox/main/misc/fs.func) +source <(fs_cat misc/build.func) # Copyright (c) 2021-2024 tteck # Author: tteck (tteckster) # License: MIT @@ -10,10 +11,10 @@ clear cat <<"EOF" ____ __________ _______ __ / __ / ___/ __ \/ ___/ / / / - / /_/ / / / /_/ / /__/ /_/ / - \__, /_/ \____/\___/\__, / -/____/ /____/ - + / /_/ / / / /_/ / /__/ /_/ / + \__, /_/ \____/\___/\__, / +/____/ /____/ + EOF } header_info diff --git a/ct/headscale.sh b/ct/headscale.sh index f50347eb..bf52d2dd 100644 --- a/ct/headscale.sh +++ b/ct/headscale.sh @@ -1,5 +1,6 @@ #!/usr/bin/env bash -source <(curl -s https://raw.githubusercontent.com/tteck/Proxmox/main/misc/build.func) +source <(curl -s https://raw.githubusercontent.com/tteck/Proxmox/main/misc/fs.func) +source <(fs_cat misc/build.func) # Copyright (c) 2021-2024 tteck # Author: tteck (tteckster) # License: MIT @@ -68,7 +69,7 @@ if [[ "${RELEASE}" != "$(cat /opt/${APP}_version.txt)" ]] || [[ ! -f /opt/${APP} rm headscale_${RELEASE}_linux_amd64.deb echo "${RELEASE}" >/opt/${APP}_version.txt msg_ok "Updated $APP to ${RELEASE}" - + msg_info "Starting ${APP}" systemctl start headscale msg_ok "Started ${APP}" diff --git a/ct/heimdall-dashboard.sh b/ct/heimdall-dashboard.sh index 04db1ea7..000178fc 100644 --- a/ct/heimdall-dashboard.sh +++ b/ct/heimdall-dashboard.sh @@ -1,5 +1,6 @@ #!/usr/bin/env bash -source <(curl -s https://raw.githubusercontent.com/tteck/Proxmox/main/misc/build.func) +source <(curl -s https://raw.githubusercontent.com/tteck/Proxmox/main/misc/fs.func) +source <(fs_cat misc/build.func) # Copyright (c) 2021-2024 tteck # Author: tteck (tteckster) # License: MIT @@ -8,12 +9,12 @@ source <(curl -s https://raw.githubusercontent.com/tteck/Proxmox/main/misc/build function header_info { clear cat <<"EOF" - _ _ _ _ ___ _ _ _ + _ _ _ _ ___ _ _ _ /\ /\___(_)_ __ ___ __| | __ _| | | / \__ _ ___| |__ | |__ ___ __ _ _ __ __| | / /_/ / _ \ | '_ ` _ \ / _` |/ _` | | | / /\ / _` / __| '_ \| '_ \ / _ \ / _` | '__/ _` | / __ / __/ | | | | | | (_| | (_| | | | / /_// (_| \__ \ | | | |_) | (_) | (_| | | | (_| | \/ /_/ \___|_|_| |_| |_|\__,_|\__,_|_|_| /___,' \__,_|___/_| |_|_.__/ \___/ \__,_|_| \__,_| - + EOF } header_info diff --git a/ct/hivemq.sh b/ct/hivemq.sh index 80b79c81..c38d15ef 100644 --- a/ct/hivemq.sh +++ b/ct/hivemq.sh @@ -1,5 +1,6 @@ #!/usr/bin/env bash -source <(curl -s https://raw.githubusercontent.com/tteck/Proxmox/main/misc/build.func) +source <(curl -s https://raw.githubusercontent.com/tteck/Proxmox/main/misc/fs.func) +source <(fs_cat misc/build.func) # Copyright (c) 2021-2024 tteck # Author: tteck (tteckster) # License: MIT diff --git a/ct/homarr.sh b/ct/homarr.sh index a42089f9..481c3771 100644 --- a/ct/homarr.sh +++ b/ct/homarr.sh @@ -1,5 +1,6 @@ #!/usr/bin/env bash -source <(curl -s https://raw.githubusercontent.com/tteck/Proxmox/main/misc/build.func) +source <(curl -s https://raw.githubusercontent.com/tteck/Proxmox/main/misc/fs.func) +source <(fs_cat misc/build.func) # Copyright (c) 2021-2024 tteck # Author: tteck (tteckster) # License: MIT diff --git a/ct/homeassistant-core.sh b/ct/homeassistant-core.sh index 01c1c36f..40e5aeee 100644 --- a/ct/homeassistant-core.sh +++ b/ct/homeassistant-core.sh @@ -1,5 +1,6 @@ #!/usr/bin/env bash -source <(curl -s https://raw.githubusercontent.com/tteck/Proxmox/main/misc/build.func) +source <(curl -s https://raw.githubusercontent.com/tteck/Proxmox/main/misc/fs.func) +source <(fs_cat misc/build.func) # Copyright (c) 2021-2024 tteck # Author: tteck (tteckster) # License: MIT @@ -8,12 +9,12 @@ source <(curl -s https://raw.githubusercontent.com/tteck/Proxmox/main/misc/build function header_info { clear cat <<"EOF" - _ _ _ _ ___ - /\ /\___ _ __ ___ ___ /_\ ___ ___(_)___| |_ __ _ _ __ | |_ / __\___ _ __ ___ + _ _ _ _ ___ + /\ /\___ _ __ ___ ___ /_\ ___ ___(_)___| |_ __ _ _ __ | |_ / __\___ _ __ ___ / /_/ / _ \| '_ ` _ \ / _ \ //_\\/ __/ __| / __| __/ _` | '_ \| __| / / / _ \| '__/ _ \ / __ / (_) | | | | | | __/ / _ \__ \__ \ \__ \ || (_| | | | | |_ / /__| (_) | | | __/ \/ /_/ \___/|_| |_| |_|\___| \_/ \_/___/___/_|___/\__\__,_|_| |_|\__| \____/\___/|_| \___| - + EOF } header_info @@ -117,7 +118,7 @@ function update_script() { filebrowser config init -a '0.0.0.0' &>/dev/null filebrowser config set -a '0.0.0.0' &>/dev/null filebrowser config set --auth.method=noauth &>/dev/null - filebrowser users add ID 1 --perm.admin &>/dev/null + filebrowser users add ID 1 --perm.admin &>/dev/null else filebrowser config init -a '0.0.0.0' &>/dev/null filebrowser config set -a '0.0.0.0' &>/dev/null diff --git a/ct/homeassistant.sh b/ct/homeassistant.sh index 3f2c63ed..c2857a0a 100644 --- a/ct/homeassistant.sh +++ b/ct/homeassistant.sh @@ -1,5 +1,6 @@ #!/usr/bin/env bash -source <(curl -s https://raw.githubusercontent.com/tteck/Proxmox/main/misc/build.func) +source <(curl -s https://raw.githubusercontent.com/tteck/Proxmox/main/misc/fs.func) +source <(fs_cat misc/build.func) # Copyright (c) 2021-2024 tteck # Author: tteck (tteckster) # License: MIT @@ -8,12 +9,12 @@ source <(curl -s https://raw.githubusercontent.com/tteck/Proxmox/main/misc/build function header_info { clear cat <<"EOF" - __ __ ___ _ __ __ + __ __ ___ _ __ __ / / / /___ ____ ___ ___ / | __________(_)____/ /_____ _____ / /_ / /_/ / __ \/ __ __ \/ _ \ / /| | / ___/ ___/ / ___/ __/ __ / __ \/ __/ - / __ / /_/ / / / / / / __/ / ___ |(__ |__ ) (__ ) /_/ /_/ / / / / /_ -/_/ /_/\____/_/ /_/ /_/\___/ /_/ |_/____/____/_/____/\__/\__,_/_/ /_/\__/ - + / __ / /_/ / / / / / / __/ / ___ |(__ |__ ) (__ ) /_/ /_/ / / / / /_ +/_/ /_/\____/_/ /_/ /_/\___/ /_/ |_/____/____/_/____/\__/\__,_/_/ /_/\__/ + EOF } header_info diff --git a/ct/homebridge.sh b/ct/homebridge.sh index d252b52b..556f29b2 100644 --- a/ct/homebridge.sh +++ b/ct/homebridge.sh @@ -1,5 +1,6 @@ #!/usr/bin/env bash -source <(curl -s https://raw.githubusercontent.com/tteck/Proxmox/main/misc/build.func) +source <(curl -s https://raw.githubusercontent.com/tteck/Proxmox/main/misc/fs.func) +source <(fs_cat misc/build.func) # Copyright (c) 2021-2024 tteck # Author: tteck (tteckster) # License: MIT @@ -10,10 +11,10 @@ clear cat <<"EOF" __ ______ __ _____________ ____ ________ ____________ / / / / __ \/ |/ / ____/ __ )/ __ \/ _/ __ \/ ____/ ____/ - / /_/ / / / / /|_/ / __/ / __ / /_/ // // / / / / __/ __/ - / __ / /_/ / / / / /___/ /_/ / _, _// // /_/ / /_/ / /___ -/_/ /_/\____/_/ /_/_____/_____/_/ |_/___/_____/\____/_____/ - + / /_/ / / / / /|_/ / __/ / __ / /_/ // // / / / / __/ __/ + / __ / /_/ / / / / /___/ /_/ / _, _// // /_/ / /_/ / /___ +/_/ /_/\____/_/ /_/_____/_____/_/ |_/___/_____/\____/_____/ + EOF } header_info diff --git a/ct/homepage.sh b/ct/homepage.sh index 716da76b..25bf6b43 100644 --- a/ct/homepage.sh +++ b/ct/homepage.sh @@ -1,5 +1,6 @@ #!/usr/bin/env bash -source <(curl -s https://raw.githubusercontent.com/tteck/Proxmox/main/misc/build.func) +source <(curl -s https://raw.githubusercontent.com/tteck/Proxmox/main/misc/fs.func) +source <(fs_cat misc/build.func) # Copyright (c) 2021-2024 tteck # Author: tteck (tteckster) # License: MIT @@ -8,12 +9,12 @@ source <(curl -s https://raw.githubusercontent.com/tteck/Proxmox/main/misc/build function header_info { clear cat <<"EOF" - __ __ - / / / /___ ____ ___ ___ ____ ____ _____ ____ + __ __ + / / / /___ ____ ___ ___ ____ ____ _____ ____ / /_/ / __ \/ __ `__ \/ _ \/ __ \/ __ `/ __ `/ _ \ / __ / /_/ / / / / / / __/ /_/ / /_/ / /_/ / __/ -/_/ /_/\____/_/ /_/ /_/\___/ .___/\__,_/\__, /\___/ - /_/ /____/ +/_/ /_/\____/_/ /_/ /_/\___/ .___/\__,_/\__, /\___/ + /_/ /____/ EOF } header_info diff --git a/ct/homer.sh b/ct/homer.sh index bfec3090..64012d06 100644 --- a/ct/homer.sh +++ b/ct/homer.sh @@ -1,5 +1,6 @@ #!/usr/bin/env bash -source <(curl -s https://raw.githubusercontent.com/tteck/Proxmox/main/misc/build.func) +source <(curl -s https://raw.githubusercontent.com/tteck/Proxmox/main/misc/fs.func) +source <(fs_cat misc/build.func) # Copyright (c) 2021-2024 tteck # Author: tteck (tteckster) # License: MIT @@ -8,12 +9,12 @@ source <(curl -s https://raw.githubusercontent.com/tteck/Proxmox/main/misc/build function header_info { clear cat <<"EOF" - __ __ + __ __ / / / /___ ____ ___ ___ _____ / /_/ / __ \/ __ `__ \/ _ \/ ___/ - / __ / /_/ / / / / / / __/ / -/_/ /_/\____/_/ /_/ /_/\___/_/ - + / __ / /_/ / / / / / / __/ / +/_/ /_/\____/_/ /_/ /_/\___/_/ + EOF } header_info diff --git a/ct/hyperhdr.sh b/ct/hyperhdr.sh index 7c04a596..2d146457 100644 --- a/ct/hyperhdr.sh +++ b/ct/hyperhdr.sh @@ -1,5 +1,6 @@ #!/usr/bin/env bash -source <(curl -s https://raw.githubusercontent.com/tteck/Proxmox/main/misc/build.func) +source <(curl -s https://raw.githubusercontent.com/tteck/Proxmox/main/misc/fs.func) +source <(fs_cat misc/build.func) # Copyright (c) 2021-2024 tteck # Author: tteck (tteckster) # License: MIT diff --git a/ct/hyperion.sh b/ct/hyperion.sh index 4edd8dd8..b553dd33 100644 --- a/ct/hyperion.sh +++ b/ct/hyperion.sh @@ -1,5 +1,6 @@ #!/usr/bin/env bash -source <(curl -s https://raw.githubusercontent.com/tteck/Proxmox/main/misc/build.func) +source <(curl -s https://raw.githubusercontent.com/tteck/Proxmox/main/misc/fs.func) +source <(fs_cat misc/build.func) # Copyright (c) 2021-2024 tteck # Author: tteck (tteckster) # License: MIT @@ -8,12 +9,12 @@ source <(curl -s https://raw.githubusercontent.com/tteck/Proxmox/main/misc/build function header_info { clear cat <<"EOF" - __ __ _ - / / / /_ ______ ___ _____(_)___ ____ + __ __ _ + / / / /_ ______ ___ _____(_)___ ____ / /_/ / / / / __ \/ _ \/ ___/ / __ \/ __ \ / __ / /_/ / /_/ / __/ / / / /_/ / / / / -/_/ /_/\__, / .___/\___/_/ /_/\____/_/ /_/ - /____/_/ +/_/ /_/\__, / .___/\___/_/ /_/\____/_/ /_/ + /____/_/ EOF } diff --git a/ct/influxdb.sh b/ct/influxdb.sh index 2d995f6b..074a90c4 100644 --- a/ct/influxdb.sh +++ b/ct/influxdb.sh @@ -1,5 +1,6 @@ #!/usr/bin/env bash -source <(curl -s https://raw.githubusercontent.com/tteck/Proxmox/main/misc/build.func) +source <(curl -s https://raw.githubusercontent.com/tteck/Proxmox/main/misc/fs.func) +source <(fs_cat misc/build.func) # Copyright (c) 2021-2024 tteck # Author: tteck (tteckster) # License: MIT @@ -8,12 +9,12 @@ source <(curl -s https://raw.githubusercontent.com/tteck/Proxmox/main/misc/build function header_info { clear cat <<"EOF" - ____ ______ ____ ____ + ____ ______ ____ ____ / _/___ / __/ /_ ___ __/ __ \/ __ ) / // __ \/ /_/ / / / / |/_/ / / / __ | - _/ // / / / __/ / /_/ /> _ <| _ \ + ___ + / _ \ + _ __ | (_) |____ + | _ \ > _ <| _ \ | | | | (_) | | | | |_| |_|\___/|_| |_| - + EOF } header_info diff --git a/ct/navidrome.sh b/ct/navidrome.sh index b9af1d6f..fb50368d 100644 --- a/ct/navidrome.sh +++ b/ct/navidrome.sh @@ -1,5 +1,6 @@ #!/usr/bin/env bash -source <(curl -s https://raw.githubusercontent.com/tteck/Proxmox/main/misc/build.func) +source <(curl -s https://raw.githubusercontent.com/tteck/Proxmox/main/misc/fs.func) +source <(fs_cat misc/build.func) # Copyright (c) 2021-2024 tteck # Author: tteck (tteckster) # License: MIT @@ -8,12 +9,12 @@ source <(curl -s https://raw.githubusercontent.com/tteck/Proxmox/main/misc/build function header_info { clear cat <<"EOF" - _ __ _ __ - / | / /___ __ __(_)___/ /________ ____ ___ ___ + _ __ _ __ + / | / /___ __ __(_)___/ /________ ____ ___ ___ / |/ / __ / | / / / __ / ___/ __ \/ __ __ \/ _ \ / /| / /_/ /| |/ / / /_/ / / / /_/ / / / / / / __/ -/_/ |_/\__,_/ |___/_/\__,_/_/ \____/_/ /_/ /_/\___/ - +/_/ |_/\__,_/ |___/_/\__,_/_/ \____/_/ /_/ /_/\___/ + EOF } header_info diff --git a/ct/nextcloudpi.sh b/ct/nextcloudpi.sh index 7255de3d..ae26577b 100644 --- a/ct/nextcloudpi.sh +++ b/ct/nextcloudpi.sh @@ -1,5 +1,6 @@ #!/usr/bin/env bash -source <(curl -s https://raw.githubusercontent.com/tteck/Proxmox/main/misc/build.func) +source <(curl -s https://raw.githubusercontent.com/tteck/Proxmox/main/misc/fs.func) +source <(fs_cat misc/build.func) # Copyright (c) 2021-2024 tteck # Author: tteck (tteckster) # License: MIT @@ -8,12 +9,12 @@ source <(curl -s https://raw.githubusercontent.com/tteck/Proxmox/main/misc/build function header_info { clear cat <<"EOF" - _ __ __ ________ ______ _ + _ __ __ ________ ______ _ / | / /__ _ __/ /_/ ____/ /___ __ ______/ / __ \(_) - / |/ / _ \| |/_/ __/ / / / __ \/ / / / __ / /_/ / / - / /| / __/> < / ____/ / / /_/ /> < / ____/ / / /_/ /> /dev/null; then + if ! command -v pnpm &> /dev/null; then msg_info "Installing pnpm" export NODE_OPTIONS=--openssl-legacy-provider npm install -g pnpm@8.15 &>/dev/null diff --git a/ct/nocodb.sh b/ct/nocodb.sh index 4f8ff0b7..b7f59dc8 100644 --- a/ct/nocodb.sh +++ b/ct/nocodb.sh @@ -1,5 +1,6 @@ #!/usr/bin/env bash -source <(curl -s https://raw.githubusercontent.com/tteck/Proxmox/main/misc/build.func) +source <(curl -s https://raw.githubusercontent.com/tteck/Proxmox/main/misc/fs.func) +source <(fs_cat misc/build.func) # Copyright (c) 2021-2024 tteck # Author: tteck (tteckster) # License: MIT @@ -8,12 +9,12 @@ source <(curl -s https://raw.githubusercontent.com/tteck/Proxmox/main/misc/build function header_info { clear cat <<"EOF" - _ __ ____ ____ + _ __ ____ ____ / | / /___ ____ ___ / __ \/ __ ) / |/ / __ \/ ___/ __ \/ / / / __ | - / /| / /_/ / /__/ /_/ / /_/ / /_/ / -/_/ |_/\____/\___/\____/_____/_____/ - + / /| / /_/ / /__/ /_/ / /_/ / /_/ / +/_/ |_/\____/\___/\____/_____/_____/ + EOF } header_info diff --git a/ct/node-red.sh b/ct/node-red.sh index 1f68dc09..af8331fc 100644 --- a/ct/node-red.sh +++ b/ct/node-red.sh @@ -1,5 +1,6 @@ #!/usr/bin/env bash -source <(curl -s https://raw.githubusercontent.com/tteck/Proxmox/main/misc/build.func) +source <(curl -s https://raw.githubusercontent.com/tteck/Proxmox/main/misc/fs.func) +source <(fs_cat misc/build.func) # Copyright (c) 2021-2024 tteck # Author: tteck (tteckster) # License: MIT @@ -10,10 +11,10 @@ clear cat <<"EOF" _ __ __ ____ __ / | / /___ ____/ /__ / __ \___ ____/ / - / |/ / __ \/ __ / _ \ / /_/ / _ \/ __ / - / /| / /_/ / /_/ / __/ / _, _/ __/ /_/ / -/_/ |_/\____/\__,_/\___/ /_/ |_|\___/\__,_/ - + / |/ / __ \/ __ / _ \ / /_/ / _ \/ __ / + / /| / /_/ / /_/ / __/ / _, _/ __/ /_/ / +/_/ |_/\____/\__,_/\___/ /_/ |_|\___/\__,_/ + EOF } header_info @@ -109,7 +110,7 @@ THEME=$(whiptail --backtitle "Proxmox VE Helper Scripts" --title "NODE-RED THEME "zenburn" "" OFF \ 3>&1 1>&2 2>&3) header_info -msg_info "Installing ${THEME} Theme" +msg_info "Installing ${THEME} Theme" cd /root/.node-red sed -i 's|// theme: ".*",|theme: "",|g' /root/.node-red/settings.js npm install @node-red-contrib-themes/theme-collection &>/dev/null diff --git a/ct/notifiarr.sh b/ct/notifiarr.sh index ac63e454..f1c7e9d3 100644 --- a/ct/notifiarr.sh +++ b/ct/notifiarr.sh @@ -1,5 +1,6 @@ #!/usr/bin/env bash -source <(curl -s https://raw.githubusercontent.com/tteck/Proxmox/main/misc/build.func) +source <(curl -s https://raw.githubusercontent.com/tteck/Proxmox/main/misc/fs.func) +source <(fs_cat misc/build.func) # Copyright (c) 2021-2024 tteck # Author: tteck (tteckster) # License: MIT diff --git a/ct/ntfy.sh b/ct/ntfy.sh index d12e4b3d..5ab05bd0 100644 --- a/ct/ntfy.sh +++ b/ct/ntfy.sh @@ -1,5 +1,6 @@ #!/usr/bin/env bash -source <(curl -s https://raw.githubusercontent.com/tteck/Proxmox/main/misc/build.func) +source <(curl -s https://raw.githubusercontent.com/tteck/Proxmox/main/misc/fs.func) +source <(fs_cat misc/build.func) # Copyright (c) 2021-2024 tteck # Author: tteck (tteckster) # License: MIT diff --git a/ct/octoprint.sh b/ct/octoprint.sh index 75c2ccd9..41e7aa23 100644 --- a/ct/octoprint.sh +++ b/ct/octoprint.sh @@ -1,5 +1,6 @@ #!/usr/bin/env bash -source <(curl -s https://raw.githubusercontent.com/tteck/Proxmox/main/misc/build.func) +source <(curl -s https://raw.githubusercontent.com/tteck/Proxmox/main/misc/fs.func) +source <(fs_cat misc/build.func) # Copyright (c) 2021-2024 tteck # Author: tteck (tteckster) # License: MIT @@ -8,10 +9,10 @@ source <(curl -s https://raw.githubusercontent.com/tteck/Proxmox/main/misc/build function header_info { clear cat <<"EOF" - ____ __ ____ _ __ + ____ __ ____ _ __ / __ \_____/ /_____ / __ \_____(_)___ / /_ / / / / ___/ __/ __ \/ /_/ / ___/ / __ \/ __/ -/ /_/ / /__/ /_/ /_/ / ____/ / / / / / / /_ +/ /_/ / /__/ /_/ /_/ / ____/ / / / / / / /_ \____/\___/\__/\____/_/ /_/ /_/_/ /_/\__/ EOF diff --git a/ct/omada.sh b/ct/omada.sh index 5c637de8..3cd017cf 100644 --- a/ct/omada.sh +++ b/ct/omada.sh @@ -1,5 +1,6 @@ #!/usr/bin/env bash -source <(curl -s https://raw.githubusercontent.com/tteck/Proxmox/main/misc/build.func) +source <(curl -s https://raw.githubusercontent.com/tteck/Proxmox/main/misc/fs.func) +source <(fs_cat misc/build.func) # Copyright (c) 2021-2024 tteck # Author: tteck (tteckster) # License: MIT @@ -8,12 +9,12 @@ source <(curl -s https://raw.githubusercontent.com/tteck/Proxmox/main/misc/build function header_info { clear cat <<"EOF" - ____ __ + ____ __ / __ \____ ___ ____ _____/ /___ _ / / / / __ __ \/ __ / __ / __ / -/ /_/ / / / / / / /_/ / /_/ / /_/ / -\____/_/ /_/ /_/\__,_/\__,_/\__,_/ - +/ /_/ / / / / / / /_/ / /_/ / /_/ / +\____/_/ /_/ /_/\__,_/\__,_/\__,_/ + EOF } header_info diff --git a/ct/ombi.sh b/ct/ombi.sh index 4e53aa6b..793b47dd 100644 --- a/ct/ombi.sh +++ b/ct/ombi.sh @@ -1,5 +1,6 @@ #!/usr/bin/env bash -source <(curl -s https://raw.githubusercontent.com/tteck/Proxmox/main/misc/build.func) +source <(curl -s https://raw.githubusercontent.com/tteck/Proxmox/main/misc/fs.func) +source <(fs_cat misc/build.func) # Copyright (c) 2021-2024 tteck # Author: tteck (tteckster) # License: MIT @@ -8,7 +9,7 @@ source <(curl -s https://raw.githubusercontent.com/tteck/Proxmox/main/misc/build function header_info { clear cat <<"EOF" - ____ __ _ + ____ __ _ / __ \____ ___ / /_ (_) / / / / __ `__ \/ __ \/ / / /_/ / / / / / / /_/ / / diff --git a/ct/omv.sh b/ct/omv.sh index 525a35db..fc1544f6 100644 --- a/ct/omv.sh +++ b/ct/omv.sh @@ -1,5 +1,6 @@ #!/usr/bin/env bash -source <(curl -s https://raw.githubusercontent.com/tteck/Proxmox/main/misc/build.func) +source <(curl -s https://raw.githubusercontent.com/tteck/Proxmox/main/misc/fs.func) +source <(fs_cat misc/build.func) # Copyright (c) 2021-2024 tteck # Author: tteck (tteckster) # License: MIT @@ -8,13 +9,13 @@ source <(curl -s https://raw.githubusercontent.com/tteck/Proxmox/main/misc/build function header_info { clear cat <<"EOF" - ____ __ ___ ___ _ __ ____ + ____ __ ___ ___ _ __ ____ / __ \____ ___ ____ / |/ /__ ____/ (_)___ | | / /___ ___ __/ / /_ / / / / __ \/ _ \/ __ \/ /|_/ / _ \/ __ / / __ `/ | / / __ `/ / / / / __/ -/ /_/ / /_/ / __/ / / / / / / __/ /_/ / / /_/ /| |/ / /_/ / /_/ / / /_ -\____/ .___/\___/_/ /_/_/ /_/\___/\__,_/_/\__,_/ |___/\__,_/\__,_/_/\__/ - /_/ - +/ /_/ / /_/ / __/ / / / / / / __/ /_/ / / /_/ /| |/ / /_/ / /_/ / / /_ +\____/ .___/\___/_/ /_/_/ /_/\___/\__,_/_/\__,_/ |___/\__,_/\__,_/_/\__/ + /_/ + EOF } header_info diff --git a/ct/openhab.sh b/ct/openhab.sh index 9546085a..f69662be 100644 --- a/ct/openhab.sh +++ b/ct/openhab.sh @@ -1,5 +1,6 @@ #!/usr/bin/env bash -source <(curl -s https://raw.githubusercontent.com/tteck/Proxmox/main/misc/build.func) +source <(curl -s https://raw.githubusercontent.com/tteck/Proxmox/main/misc/fs.func) +source <(fs_cat misc/build.func) # Copyright (c) 2021-2024 tteck # Author: tteck (tteckster) # License: MIT @@ -8,13 +9,13 @@ source <(curl -s https://raw.githubusercontent.com/tteck/Proxmox/main/misc/build function header_info { clear cat <<"EOF" - __ _____ ____ + __ _____ ____ ____ ____ ___ ____ / / / / | / __ ) / __ \/ __ \/ _ \/ __ \/ /_/ / /| | / __ | -/ /_/ / /_/ / __/ / / / __ / ___ |/ /_/ / -\____/ .___/\___/_/ /_/_/ /_/_/ |_/_____/ - /_/ - +/ /_/ / /_/ / __/ / / / __ / ___ |/ /_/ / +\____/ .___/\___/_/ /_/_/ /_/_/ |_/_____/ + /_/ + EOF } header_info diff --git a/ct/openobserve.sh b/ct/openobserve.sh index cea4c29a..242e97f9 100644 --- a/ct/openobserve.sh +++ b/ct/openobserve.sh @@ -1,5 +1,6 @@ #!/usr/bin/env bash -source <(curl -s https://raw.githubusercontent.com/tteck/Proxmox/main/misc/build.func) +source <(curl -s https://raw.githubusercontent.com/tteck/Proxmox/main/misc/fs.func) +source <(fs_cat misc/build.func) # Copyright (c) 2021-2024 tteck # Author: tteck (tteckster) # License: MIT diff --git a/ct/overseerr.sh b/ct/overseerr.sh index a4a76bfc..e712fb14 100644 --- a/ct/overseerr.sh +++ b/ct/overseerr.sh @@ -1,5 +1,6 @@ #!/usr/bin/env bash -source <(curl -s https://raw.githubusercontent.com/tteck/Proxmox/main/misc/build.func) +source <(curl -s https://raw.githubusercontent.com/tteck/Proxmox/main/misc/fs.func) +source <(fs_cat misc/build.func) # Copyright (c) 2021-2024 tteck # Author: tteck (tteckster) # License: MIT diff --git a/ct/owncast.sh b/ct/owncast.sh index c06ccfbb..43aa6644 100644 --- a/ct/owncast.sh +++ b/ct/owncast.sh @@ -1,5 +1,6 @@ #!/usr/bin/env bash -source <(curl -s https://raw.githubusercontent.com/tteck/Proxmox/main/misc/build.func) +source <(curl -s https://raw.githubusercontent.com/tteck/Proxmox/main/misc/fs.func) +source <(fs_cat misc/build.func) # Copyright (c) 2021-2024 tteck # Author: tteck (tteckster) # License: MIT diff --git a/ct/pairdrop.sh b/ct/pairdrop.sh index a1680a8c..a3fec0d0 100644 --- a/ct/pairdrop.sh +++ b/ct/pairdrop.sh @@ -1,5 +1,6 @@ #!/usr/bin/env bash -source <(curl -s https://raw.githubusercontent.com/tteck/Proxmox/main/misc/build.func) +source <(curl -s https://raw.githubusercontent.com/tteck/Proxmox/main/misc/fs.func) +source <(fs_cat misc/build.func) # Copyright (c) 2021-2024 tteck # Author: tteck (tteckster) # License: MIT diff --git a/ct/paperless-ngx.sh b/ct/paperless-ngx.sh index d23986b1..8efdf6d9 100644 --- a/ct/paperless-ngx.sh +++ b/ct/paperless-ngx.sh @@ -1,5 +1,6 @@ #!/usr/bin/env bash -source <(curl -s https://raw.githubusercontent.com/tteck/Proxmox/main/misc/build.func) +source <(curl -s https://raw.githubusercontent.com/tteck/Proxmox/main/misc/fs.func) +source <(fs_cat misc/build.func) # Copyright (c) 2021-2024 tteck # Author: tteck (tteckster) # License: MIT @@ -8,13 +9,13 @@ source <(curl -s https://raw.githubusercontent.com/tteck/Proxmox/main/misc/build function header_info { clear cat <<"EOF" - ____ __ + ____ __ / __ \____ _____ ___ _____/ /__ __________ ____ ____ __ __ / /_/ / __ `/ __ \/ _ \/ ___/ / _ \/ ___/ ___/___/ __ \/ __ `/ |/_/ - / ____/ /_/ / /_/ / __/ / / / __(__ |__ )___/ / / / /_/ /> < -/_/ \__,_/ .___/\___/_/ /_/\___/____/____/ /_/ /_/\__, /_/|_| - /_/ /____/ - + / ____/ /_/ / /_/ / __/ / / / __(__ |__ )___/ / / / /_/ /> < +/_/ \__,_/ .___/\___/_/ /_/\___/____/____/ /_/ /_/\__, /_/|_| + /_/ /____/ + EOF } header_info diff --git a/ct/pbs.sh b/ct/pbs.sh index 97ffd5a4..d9c785ed 100644 --- a/ct/pbs.sh +++ b/ct/pbs.sh @@ -1,6 +1,7 @@ #!/usr/bin/env bash -source <(curl -s https://raw.githubusercontent.com/tteck/Proxmox/main/misc/build.func) +source <(curl -s https://raw.githubusercontent.com/tteck/Proxmox/main/misc/fs.func) +source <(fs_cat misc/build.func) # Copyright (c) 2021-2024 tteck # Author: tteck (tteckster) # License: MIT diff --git a/ct/peanut.sh b/ct/peanut.sh index fb2975d7..38cc00e9 100644 --- a/ct/peanut.sh +++ b/ct/peanut.sh @@ -1,5 +1,6 @@ #!/usr/bin/env bash -source <(curl -s https://raw.githubusercontent.com/tteck/Proxmox/main/misc/build.func) +source <(curl -s https://raw.githubusercontent.com/tteck/Proxmox/main/misc/fs.func) +source <(fs_cat misc/build.func) # Copyright (c) 2021-2024 tteck # Author: tteck (tteckster) # Co-Author: remz1337 diff --git a/ct/petio.sh b/ct/petio.sh index 040b0c9b..c08fad07 100644 --- a/ct/petio.sh +++ b/ct/petio.sh @@ -1,5 +1,6 @@ #!/usr/bin/env bash -source <(curl -s https://raw.githubusercontent.com/tteck/Proxmox/main/misc/build.func) +source <(curl -s https://raw.githubusercontent.com/tteck/Proxmox/main/misc/fs.func) +source <(fs_cat misc/build.func) # Copyright (c) 2021-2024 tteck # Author: tteck (tteckster) # License: MIT @@ -8,11 +9,11 @@ source <(curl -s https://raw.githubusercontent.com/tteck/Proxmox/main/misc/build function header_info { clear cat <<"EOF" - ____ __ _ - / __ \___ / /_(_)___ + ____ __ _ + / __ \___ / /_(_)___ / /_/ / _ \/ __/ / __ \ / ____/ __/ /_/ / /_/ / -/_/ \___/\__/_/\____/ +/_/ \___/\__/_/\____/ EOF } diff --git a/ct/photoprism.sh b/ct/photoprism.sh index 593fe362..106bb17b 100644 --- a/ct/photoprism.sh +++ b/ct/photoprism.sh @@ -1,5 +1,6 @@ #!/usr/bin/env bash -source <(curl -s https://raw.githubusercontent.com/tteck/Proxmox/main/misc/build.func) +source <(curl -s https://raw.githubusercontent.com/tteck/Proxmox/main/misc/fs.func) +source <(fs_cat misc/build.func) # Copyright (c) 2021-2024 tteck # Author: tteck (tteckster) # License: MIT @@ -10,9 +11,9 @@ function header_info { cat <<"EOF" ____ __ ______ __________ ____ ____ _________ __ ___ / __ \/ / / / __ \/_ __/ __ \/ __ \/ __ \/ _/ ___// |/ / - / /_/ / /_/ / / / / / / / / / / /_/ / /_/ // / \__ \/ /|_/ / - / ____/ __ / /_/ / / / / /_/ / ____/ _, _// / ___/ / / / / -/_/ /_/ /_/\____/ /_/ \____/_/ /_/ |_/___//____/_/ /_/ + / /_/ / /_/ / / / / / / / / / / /_/ / /_/ // / \__ \/ /|_/ / + / ____/ __ / /_/ / / / / /_/ / ____/ _, _// / ___/ / / / / +/_/ /_/ /_/\____/ /_/ \____/_/ /_/ |_/___//____/_/ /_/ EOF } diff --git a/ct/pialert.sh b/ct/pialert.sh index 7604d444..27c4f5af 100644 --- a/ct/pialert.sh +++ b/ct/pialert.sh @@ -1,5 +1,6 @@ #!/usr/bin/env bash -source <(curl -s https://raw.githubusercontent.com/tteck/Proxmox/main/misc/build.func) +source <(curl -s https://raw.githubusercontent.com/tteck/Proxmox/main/misc/fs.func) +source <(fs_cat misc/build.func) # Copyright (c) 2021-2024 tteck # Author: tteck (tteckster) # License: MIT diff --git a/ct/pihole.sh b/ct/pihole.sh index bd66c313..53072821 100644 --- a/ct/pihole.sh +++ b/ct/pihole.sh @@ -1,5 +1,6 @@ #!/usr/bin/env bash -source <(curl -s https://raw.githubusercontent.com/tteck/Proxmox/main/misc/build.func) +source <(curl -s https://raw.githubusercontent.com/tteck/Proxmox/main/misc/fs.func) +source <(fs_cat misc/build.func) # Copyright (c) 2021-2024 tteck # Author: tteck (tteckster) # License: MIT @@ -10,10 +11,10 @@ clear cat <<"EOF" ____ ____ __ ______ __ ______ / __ \/ _/ / / / / __ \/ / / ____/ - / /_/ // /___/ /_/ / / / / / / __/ - / ____// /___/ __ / /_/ / /___/ /___ -/_/ /___/ /_/ /_/\____/_____/_____/ - + / /_/ // /___/ /_/ / / / / / / __/ + / ____// /___/ __ / /_/ / /___/ /___ +/_/ /___/ /_/ /_/\____/_____/_____/ + EOF } header_info diff --git a/ct/pingvin.sh b/ct/pingvin.sh index 0cce4f60..00e07c7a 100644 --- a/ct/pingvin.sh +++ b/ct/pingvin.sh @@ -1,5 +1,6 @@ #!/usr/bin/env bash -source <(curl -s https://raw.githubusercontent.com/tteck/Proxmox/main/misc/build.func) +source <(curl -s https://raw.githubusercontent.com/tteck/Proxmox/main/misc/fs.func) +source <(fs_cat misc/build.func) # Copyright (c) 2021-2024 tteck # Author: tteck (tteckster) # License: MIT @@ -8,7 +9,7 @@ source <(curl -s https://raw.githubusercontent.com/tteck/Proxmox/main/misc/build function header_info { clear cat <<"EOF" - ____ _ _ _____ __ + ____ _ _ _____ __ / __ \(_)___ ____ __ __(_)___ / ___// /_ ____ _________ / /_/ / / __ \/ __ `/ | / / / __ \ \__ \/ __ \/ __ `/ ___/ _ \ / ____/ / / / / /_/ /| |/ / / / / / ___/ / / / / /_/ / / / __/ diff --git a/ct/plex.sh b/ct/plex.sh index c112078e..291f7a73 100644 --- a/ct/plex.sh +++ b/ct/plex.sh @@ -1,5 +1,6 @@ #!/usr/bin/env bash -source <(curl -s https://raw.githubusercontent.com/tteck/Proxmox/main/misc/build.func) +source <(curl -s https://raw.githubusercontent.com/tteck/Proxmox/main/misc/fs.func) +source <(fs_cat misc/build.func) # Copyright (c) 2021-2024 tteck # Author: tteck (tteckster) # License: MIT @@ -8,12 +9,12 @@ source <(curl -s https://raw.githubusercontent.com/tteck/Proxmox/main/misc/build function header_info { clear cat <<"EOF" - ____ __ __ ___ ___ _____ + ____ __ __ ___ ___ _____ / __ \/ /__ _ __ / |/ /__ ____/ (_)___ _ / ___/___ ______ _____ _____ / /_/ / / _ \| |/_/ / /|_/ / _ \/ __ / / __ `/ \__ \/ _ \/ ___/ | / / _ \/ ___/ - / ____/ / __/> < / / / / __/ /_/ / / /_/ / ___/ / __/ / | |/ / __/ / -/_/ /_/\___/_/|_| /_/ /_/\___/\__,_/_/\__,_/ /____/\___/_/ |___/\___/_/ - + / ____/ / __/> < / / / / __/ /_/ / / /_/ / ___/ / __/ / | |/ / __/ / +/_/ /_/\___/_/|_| /_/ /_/\___/\__,_/_/\__,_/ /____/\___/_/ |___/\___/_/ + EOF } header_info diff --git a/ct/pocketbase.sh b/ct/pocketbase.sh index d7cae744..939eb519 100644 --- a/ct/pocketbase.sh +++ b/ct/pocketbase.sh @@ -1,5 +1,6 @@ #!/usr/bin/env bash -source <(curl -s https://raw.githubusercontent.com/tteck/Proxmox/main/misc/build.func) +source <(curl -s https://raw.githubusercontent.com/tteck/Proxmox/main/misc/fs.func) +source <(fs_cat misc/build.func) # Copyright (c) 2021-2024 tteck # Author: tteck (tteckster) # License: MIT diff --git a/ct/podman-homeassistant.sh b/ct/podman-homeassistant.sh index 1f02fe7f..691f781f 100644 --- a/ct/podman-homeassistant.sh +++ b/ct/podman-homeassistant.sh @@ -1,5 +1,6 @@ #!/usr/bin/env bash -source <(curl -s https://raw.githubusercontent.com/tteck/Proxmox/main/misc/build.func) +source <(curl -s https://raw.githubusercontent.com/tteck/Proxmox/main/misc/fs.func) +source <(fs_cat misc/build.func) # Copyright (c) 2021-2024 tteck # Author: tteck (tteckster) # License: MIT @@ -8,16 +9,16 @@ source <(curl -s https://raw.githubusercontent.com/tteck/Proxmox/main/misc/build function header_info { clear cat <<"EOF" - ____ __ - / __ \____ ____/ /___ ___ ____ _____ - / /_/ / __ \/ __ / __ __ \/ __ / __ \ - / ____/ /_/ / /_/ / / / / / / /_/ / / / / - __ __ /_/ \____/\__,_/_/ /_/ /_/\__,_/_/ /_/__ __ + ____ __ + / __ \____ ____/ /___ ___ ____ _____ + / /_/ / __ \/ __ / __ __ \/ __ / __ \ + / ____/ /_/ / /_/ / / / / / / /_/ / / / / + __ __ /_/ \____/\__,_/_/ /_/ /_/\__,_/_/ /_/__ __ / / / /___ ____ ___ ___ / | __________(_)____/ /_____ _____ / /_ / /_/ / __ \/ __ __ \/ _ \ / /| | / ___/ ___/ / ___/ __/ __ / __ \/ __/ - / __ / /_/ / / / / / / __/ / ___ |(__ |__ ) (__ ) /_/ /_/ / / / / /_ -/_/ /_/\____/_/ /_/ /_/\___/ /_/ |_/____/____/_/____/\__/\__,_/_/ /_/\__/ - + / __ / /_/ / / / / / / __/ / ___ |(__ |__ ) (__ ) /_/ /_/ / / / / /_ +/_/ /_/\____/_/ /_/ /_/\___/ /_/ |_/____/____/_/____/\__/\__,_/_/ /_/\__/ + EOF } header_info @@ -97,7 +98,7 @@ if [ "$UPD" == "2" ]; then exit fi if [ "$UPD" == "3" ]; then - IP=$(hostname -I | awk '{print $1}') + IP=$(hostname -I | awk '{print $1}') msg_info "Installing FileBrowser" curl -fsSL https://raw.githubusercontent.com/filebrowser/get/master/get.sh | bash &>/dev/null filebrowser config init -a '0.0.0.0' &>/dev/null diff --git a/ct/podman.sh b/ct/podman.sh index e1e65b56..7f2eee49 100644 --- a/ct/podman.sh +++ b/ct/podman.sh @@ -1,5 +1,6 @@ #!/usr/bin/env bash -source <(curl -s https://raw.githubusercontent.com/tteck/Proxmox/main/misc/build.func) +source <(curl -s https://raw.githubusercontent.com/tteck/Proxmox/main/misc/fs.func) +source <(fs_cat misc/build.func) # Copyright (c) 2021-2024 tteck # Author: tteck (tteckster) # License: MIT @@ -8,12 +9,12 @@ source <(curl -s https://raw.githubusercontent.com/tteck/Proxmox/main/misc/build function header_info { clear cat <<"EOF" - ____ __ - / __ \____ ____/ /___ ___ ____ _____ + ____ __ + / __ \____ ____/ /___ ___ ____ _____ / /_/ / __ \/ __ / __ `__ \/ __ `/ __ \ / ____/ /_/ / /_/ / / / / / / /_/ / / / / -/_/ \____/\__,_/_/ /_/ /_/\__,_/_/ /_/ - +/_/ \____/\__,_/_/ /_/ /_/\__,_/_/ /_/ + EOF } header_info diff --git a/ct/postgresql.sh b/ct/postgresql.sh index 8ca8f172..d23a2e18 100644 --- a/ct/postgresql.sh +++ b/ct/postgresql.sh @@ -1,5 +1,6 @@ #!/usr/bin/env bash -source <(curl -s https://raw.githubusercontent.com/tteck/Proxmox/main/misc/build.func) +source <(curl -s https://raw.githubusercontent.com/tteck/Proxmox/main/misc/fs.func) +source <(fs_cat misc/build.func) # Copyright (c) 2021-2024 tteck # Author: tteck (tteckster) # License: MIT @@ -8,12 +9,12 @@ source <(curl -s https://raw.githubusercontent.com/tteck/Proxmox/main/misc/build function header_info { clear cat <<"EOF" - ____ __ _____ ____ __ - / __ \____ _____/ /_____ _________ / ___// __ \ / / - / /_/ / __ \/ ___/ __/ __ / ___/ _ \\__ \/ / / / / / + ____ __ _____ ____ __ + / __ \____ _____/ /_____ _________ / ___// __ \ / / + / /_/ / __ \/ ___/ __/ __ / ___/ _ \\__ \/ / / / / / / ____/ /_/ (__ ) /_/ /_/ / / / __/__/ / /_/ / / /___ /_/ \____/____/\__/\__, /_/ \___/____/\___\_\/_____/ - /____/ + /____/ EOF } header_info diff --git a/ct/prometheus.sh b/ct/prometheus.sh index a602cccd..7f46e113 100644 --- a/ct/prometheus.sh +++ b/ct/prometheus.sh @@ -1,5 +1,6 @@ #!/usr/bin/env bash -source <(curl -s https://raw.githubusercontent.com/tteck/Proxmox/main/misc/build.func) +source <(curl -s https://raw.githubusercontent.com/tteck/Proxmox/main/misc/fs.func) +source <(fs_cat misc/build.func) # Copyright (c) 2021-2024 tteck # Author: tteck (tteckster) # License: MIT @@ -8,12 +9,12 @@ source <(curl -s https://raw.githubusercontent.com/tteck/Proxmox/main/misc/build function header_info { clear cat <<"EOF" - ____ __ __ + ____ __ __ / __ \_________ ____ ___ ___ / /_/ /_ ___ __ _______ / /_/ / ___/ __ \/ __ __ \/ _ \/ __/ __ \/ _ \/ / / / ___/ - / ____/ / / /_/ / / / / / / __/ /_/ / / / __/ /_/ (__ ) -/_/ /_/ \____/_/ /_/ /_/\___/\__/_/ /_/\___/\__,_/____/ - + / ____/ / / /_/ / / / / / / __/ /_/ / / / __/ /_/ (__ ) +/_/ /_/ \____/_/ /_/ /_/\___/\__/_/ /_/\___/\__,_/____/ + EOF } header_info @@ -60,7 +61,7 @@ if [[ ! -f /opt/${APP}_version.txt ]] || [[ "${RELEASE}" != "$(cat /opt/${APP}_v msg_info "Stopping ${APP}" systemctl stop prometheus msg_ok "Stopped ${APP}" - + msg_info "Updating ${APP} to ${RELEASE}" wget -q https://github.com/prometheus/prometheus/releases/download/v${RELEASE}/prometheus-${RELEASE}.linux-amd64.tar.gz tar -xf prometheus-${RELEASE}.linux-amd64.tar.gz diff --git a/ct/prowlarr.sh b/ct/prowlarr.sh index 610928f8..be827d4a 100644 --- a/ct/prowlarr.sh +++ b/ct/prowlarr.sh @@ -1,5 +1,6 @@ #!/usr/bin/env bash -source <(curl -s https://raw.githubusercontent.com/tteck/Proxmox/main/misc/build.func) +source <(curl -s https://raw.githubusercontent.com/tteck/Proxmox/main/misc/fs.func) +source <(fs_cat misc/build.func) # Copyright (c) 2021-2024 tteck # Author: tteck (tteckster) # License: MIT @@ -8,12 +9,12 @@ source <(curl -s https://raw.githubusercontent.com/tteck/Proxmox/main/misc/build function header_info { clear cat <<"EOF" - ____ __ + ____ __ / __ \_________ _ __/ /___ __________ / /_/ / ___/ __ \ | /| / / / __ `/ ___/ ___/ - / ____/ / / /_/ / |/ |/ / / /_/ / / / / -/_/ /_/ \____/|__/|__/_/\__,_/_/ /_/ - + / ____/ / / /_/ / |/ |/ / / /_/ / / / / +/_/ /_/ \____/|__/|__/_/\__,_/_/ /_/ + EOF } header_info diff --git a/ct/qbittorrent.sh b/ct/qbittorrent.sh index 0a8b1db8..3d81f074 100644 --- a/ct/qbittorrent.sh +++ b/ct/qbittorrent.sh @@ -1,5 +1,6 @@ #!/usr/bin/env bash -source <(curl -s https://raw.githubusercontent.com/tteck/Proxmox/main/misc/build.func) +source <(curl -s https://raw.githubusercontent.com/tteck/Proxmox/main/misc/fs.func) +source <(fs_cat misc/build.func) # Copyright (c) 2021-2024 tteck # Author: tteck (tteckster) # License: MIT @@ -8,13 +9,13 @@ source <(curl -s https://raw.githubusercontent.com/tteck/Proxmox/main/misc/build function header_info { clear cat <<"EOF" - ____ _ __ __ __ + ____ _ __ __ __ ____ _/ __ )(_) /_/ /_____ _____________ ____ / /_ / __ `/ __ / / __/ __/ __ \/ ___/ ___/ _ \/ __ \/ __/ -/ /_/ / /_/ / / /_/ /_/ /_/ / / / / / __/ / / / /_ -\__, /_____/_/\__/\__/\____/_/ /_/ \___/_/ /_/\__/ - /_/ - +/ /_/ / /_/ / / /_/ /_/ /_/ / / / / / __/ / / / /_ +\__, /_____/_/\__/\__/\____/_/ /_/ \___/_/ /_/\__/ + /_/ + EOF } header_info diff --git a/ct/rabbitmq.sh b/ct/rabbitmq.sh index ff31111e..dc0dc46e 100644 --- a/ct/rabbitmq.sh +++ b/ct/rabbitmq.sh @@ -1,5 +1,6 @@ #!/usr/bin/env bash -source <(curl -s https://raw.githubusercontent.com/tteck/Proxmox/main/misc/build.func) +source <(curl -s https://raw.githubusercontent.com/tteck/Proxmox/main/misc/fs.func) +source <(fs_cat misc/build.func) # Copyright (c) 2021-2024 tteck # Author: tteck # Co-Author: MickLesk (Canbiz) @@ -9,12 +10,12 @@ source <(curl -s https://raw.githubusercontent.com/tteck/Proxmox/main/misc/build function header_info { clear cat <<"EOF" - ____ __ __ _ __ __ _______ + ____ __ __ _ __ __ _______ / __ \____ _/ /_ / /_ (_) /_/ |/ / __ \ / /_/ / __ `/ __ \/ __ \/ / __/ /|_/ / / / / - / _, _/ /_/ / /_/ / /_/ / / /_/ / / / /_/ / -/_/ |_|\__,_/_.___/_.___/_/\__/_/ /_/\___\_\ - + / _, _/ /_/ / /_/ / /_/ / / /_/ / / / /_/ / +/_/ |_|\__,_/_.___/_.___/_/\__/_/ /_/\___\_\ + EOF } header_info diff --git a/ct/radarr.sh b/ct/radarr.sh index 8903135a..1a6229ba 100644 --- a/ct/radarr.sh +++ b/ct/radarr.sh @@ -1,5 +1,6 @@ #!/usr/bin/env bash -source <(curl -s https://raw.githubusercontent.com/tteck/Proxmox/main/misc/build.func) +source <(curl -s https://raw.githubusercontent.com/tteck/Proxmox/main/misc/fs.func) +source <(fs_cat misc/build.func) # Copyright (c) 2021-2024 tteck # Author: tteck (tteckster) # License: MIT @@ -8,12 +9,12 @@ source <(curl -s https://raw.githubusercontent.com/tteck/Proxmox/main/misc/build function header_info { clear cat <<"EOF" - ____ __ + ____ __ / __ \____ _____/ /___ __________ / /_/ / __ `/ __ / __ `/ ___/ ___/ - / _, _/ /_/ / /_/ / /_/ / / / / -/_/ |_|\__,_/\__,_/\__,_/_/ /_/ - + / _, _/ /_/ / /_/ / /_/ / / / / +/_/ |_|\__,_/\__,_/\__,_/_/ /_/ + EOF } header_info diff --git a/ct/rdtclient.sh b/ct/rdtclient.sh index 7168998e..271d57ae 100755 --- a/ct/rdtclient.sh +++ b/ct/rdtclient.sh @@ -1,5 +1,6 @@ #!/usr/bin/env bash -source <(curl -s https://raw.githubusercontent.com/tteck/Proxmox/main/misc/build.func) +source <(curl -s https://raw.githubusercontent.com/tteck/Proxmox/main/misc/fs.func) +source <(fs_cat misc/build.func) # Copyright (c) 2021-2024 tteck # Author: tteck (tteckster) # License: MIT diff --git a/ct/readarr.sh b/ct/readarr.sh index 2e4494cf..6c3ed1ff 100644 --- a/ct/readarr.sh +++ b/ct/readarr.sh @@ -1,5 +1,6 @@ #!/usr/bin/env bash -source <(curl -s https://raw.githubusercontent.com/tteck/Proxmox/main/misc/build.func) +source <(curl -s https://raw.githubusercontent.com/tteck/Proxmox/main/misc/fs.func) +source <(fs_cat misc/build.func) # Copyright (c) 2021-2024 tteck # Author: tteck (tteckster) # License: MIT @@ -8,12 +9,12 @@ source <(curl -s https://raw.githubusercontent.com/tteck/Proxmox/main/misc/build function header_info { clear cat <<"EOF" - ____ __ + ____ __ / __ \___ ____ _____/ /___ __________ / /_/ / _ \/ __ `/ __ / __ `/ ___/ ___/ - / _, _/ __/ /_/ / /_/ / /_/ / / / / -/_/ |_|\___/\__,_/\__,_/\__,_/_/ /_/ - + / _, _/ __/ /_/ / /_/ / /_/ / / / / +/_/ |_|\___/\__,_/\__,_/\__,_/_/ /_/ + EOF } header_info diff --git a/ct/readeck.sh b/ct/readeck.sh index cc5204ba..7ad37e6b 100644 --- a/ct/readeck.sh +++ b/ct/readeck.sh @@ -1,5 +1,6 @@ #!/usr/bin/env bash -source <(curl -s https://raw.githubusercontent.com/tteck/Proxmox/main/misc/build.func) +source <(curl -s https://raw.githubusercontent.com/tteck/Proxmox/main/misc/fs.func) +source <(fs_cat misc/build.func) # Copyright (c) 2021-2024 tteck # Author: tteck (tteckster) # License: MIT diff --git a/ct/redis.sh b/ct/redis.sh index c4621e20..ee7341c9 100644 --- a/ct/redis.sh +++ b/ct/redis.sh @@ -1,5 +1,6 @@ #!/usr/bin/env bash -source <(curl -s https://raw.githubusercontent.com/tteck/Proxmox/main/misc/build.func) +source <(curl -s https://raw.githubusercontent.com/tteck/Proxmox/main/misc/fs.func) +source <(fs_cat misc/build.func) # Copyright (c) 2021-2024 tteck # Author: tteck (tteckster) # License: MIT @@ -8,11 +9,11 @@ source <(curl -s https://raw.githubusercontent.com/tteck/Proxmox/main/misc/build function header_info { clear cat <<"EOF" - ____ ___ + ____ ___ / __ \___ ____/ (_)____ / /_/ / _ \/ __ / / ___/ - / _, _/ __/ /_/ / (__ ) -/_/ |_|\___/\__,_/_/____/ + / _, _/ __/ /_/ / (__ ) +/_/ |_|\___/\__,_/_/____/ EOF } diff --git a/ct/rockylinux.sh b/ct/rockylinux.sh index 8285e227..5e8dea41 100644 --- a/ct/rockylinux.sh +++ b/ct/rockylinux.sh @@ -1,5 +1,6 @@ #!/usr/bin/env bash -source <(curl -s https://raw.githubusercontent.com/tteck/Proxmox/main/misc/build.func) +source <(curl -s https://raw.githubusercontent.com/tteck/Proxmox/main/misc/fs.func) +source <(fs_cat misc/build.func) # Copyright (c) 2021-2024 tteck # Author: tteck (tteckster) # License: MIT @@ -8,13 +9,13 @@ source <(curl -s https://raw.githubusercontent.com/tteck/Proxmox/main/misc/build function header_info { clear cat <<"EOF" - ____ __ __ _ + ____ __ __ _ / __ \____ _____/ /____ __ / / (_)___ __ ___ __ / /_/ / __ \/ ___/ //_/ / / / / / / / __ \/ / / / |/_/ - / _, _/ /_/ / /__/ ,< / /_/ / / /___/ / / / / /_/ /> < -/_/ |_|\____/\___/_/|_|\__, / /_____/_/_/ /_/\__,_/_/|_| - /____/ - + / _, _/ /_/ / /__/ ,< / /_/ / / /___/ / / / / /_/ /> < +/_/ |_|\____/\___/_/|_|\__, / /_____/_/_/ /_/\__,_/_/|_| + /____/ + EOF } header_info diff --git a/ct/rtsptoweb.sh b/ct/rtsptoweb.sh index 56484a60..ee2f07d9 100644 --- a/ct/rtsptoweb.sh +++ b/ct/rtsptoweb.sh @@ -1,5 +1,6 @@ #!/usr/bin/env bash -source <(curl -s https://raw.githubusercontent.com/tteck/Proxmox/main/misc/build.func) +source <(curl -s https://raw.githubusercontent.com/tteck/Proxmox/main/misc/fs.func) +source <(fs_cat misc/build.func) # Copyright (c) 2021-2024 tteck # Author: tteck (tteckster) # License: MIT @@ -8,12 +9,12 @@ source <(curl -s https://raw.githubusercontent.com/tteck/Proxmox/main/misc/build function header_info { clear cat <<"EOF" - ____ ___________ ____ __ _ __ __ - / __ \/_ __/ ___// __ \/ /_____| | / /__ / /_ + ____ ___________ ____ __ _ __ __ + / __ \/_ __/ ___// __ \/ /_____| | / /__ / /_ / /_/ / / / \__ \/ /_/ / __/ __ \ | /| / / _ \/ __ \ / _, _/ / / ___/ / ____/ /_/ /_/ / |/ |/ / __/ /_/ / -/_/ |_| /_/ /____/_/ \__/\____/|__/|__/\___/_.___/ - +/_/ |_| /_/ /____/_/ \__/\____/|__/|__/\___/_.___/ + EOF } header_info diff --git a/ct/runtipi.sh b/ct/runtipi.sh index 279230f3..b9a75216 100644 --- a/ct/runtipi.sh +++ b/ct/runtipi.sh @@ -1,5 +1,6 @@ #!/usr/bin/env bash -source <(curl -s https://raw.githubusercontent.com/tteck/Proxmox/main/misc/build.func) +source <(curl -s https://raw.githubusercontent.com/tteck/Proxmox/main/misc/fs.func) +source <(fs_cat misc/build.func) # Copyright (c) 2021-2024 tteck # Author: tteck (tteckster) # License: MIT diff --git a/ct/sabnzbd.sh b/ct/sabnzbd.sh index c6d0aa26..c29046cb 100644 --- a/ct/sabnzbd.sh +++ b/ct/sabnzbd.sh @@ -1,5 +1,6 @@ #!/usr/bin/env bash -source <(curl -s https://raw.githubusercontent.com/tteck/Proxmox/main/misc/build.func) +source <(curl -s https://raw.githubusercontent.com/tteck/Proxmox/main/misc/fs.func) +source <(fs_cat misc/build.func) # Copyright (c) 2021-2024 tteck # Author: tteck (tteckster) # License: MIT @@ -10,10 +11,10 @@ clear cat <<"EOF" _____ ___ ____ __ __ / ___// | / __ )____ ____ / /_ ____/ / - \__ \/ /| | / __ / __ \/_ / / __ \/ __ / - ___/ / ___ |/ /_/ / / / / / /_/ /_/ / /_/ / -/____/_/ |_/_____/_/ /_/ /___/_.___/\__,_/ - + \__ \/ /| | / __ / __ \/_ / / __ \/ __ / + ___/ / ___ |/ /_/ / / / / / /_/ /_/ / /_/ / +/____/_/ |_/_____/_/ /_/ /___/_.___/\__,_/ + EOF } header_info diff --git a/ct/scrypted.sh b/ct/scrypted.sh index 306ab620..2e3b884d 100644 --- a/ct/scrypted.sh +++ b/ct/scrypted.sh @@ -1,5 +1,6 @@ #!/usr/bin/env bash -source <(curl -s https://raw.githubusercontent.com/tteck/Proxmox/main/misc/build.func) +source <(curl -s https://raw.githubusercontent.com/tteck/Proxmox/main/misc/fs.func) +source <(fs_cat misc/build.func) # Copyright (c) 2021-2024 tteck # Author: tteck (tteckster) # License: MIT @@ -10,11 +11,11 @@ clear cat <<"EOF" _____ __ __ / ___/____________ ______ / /____ ____/ / - \__ \/ ___/ ___/ / / / __ \/ __/ _ \/ __ / - ___/ / /__/ / / /_/ / /_/ / /_/ __/ /_/ / -/____/\___/_/ \__, / .___/\__/\___/\__,_/ - /____/_/ - + \__ \/ ___/ ___/ / / / __ \/ __/ _ \/ __ / + ___/ / /__/ / / /_/ / /_/ / /_/ __/ /_/ / +/____/\___/_/ \__, / .___/\__/\___/\__,_/ + /____/_/ + EOF } header_info diff --git a/ct/sftpgo.sh b/ct/sftpgo.sh index 2354fe7d..db24c52f 100644 --- a/ct/sftpgo.sh +++ b/ct/sftpgo.sh @@ -1,5 +1,6 @@ #!/usr/bin/env bash -source <(curl -s https://raw.githubusercontent.com/tteck/Proxmox/main/misc/build.func) +source <(curl -s https://raw.githubusercontent.com/tteck/Proxmox/main/misc/fs.func) +source <(fs_cat misc/build.func) # Copyright (c) 2021-2024 tteck # Author: tteck (tteckster) # License: MIT diff --git a/ct/shinobi.sh b/ct/shinobi.sh index 410f9433..7a060d1d 100644 --- a/ct/shinobi.sh +++ b/ct/shinobi.sh @@ -1,5 +1,6 @@ #!/usr/bin/env bash -source <(curl -s https://raw.githubusercontent.com/tteck/Proxmox/main/misc/build.func) +source <(curl -s https://raw.githubusercontent.com/tteck/Proxmox/main/misc/fs.func) +source <(fs_cat misc/build.func) # Copyright (c) 2021-2024 tteck # Author: tteck (tteckster) # License: MIT @@ -8,12 +9,12 @@ source <(curl -s https://raw.githubusercontent.com/tteck/Proxmox/main/misc/build function header_info { clear cat <<"EOF" - _____ __ _ __ _ + _____ __ _ __ _ / ___// /_ (_)___ ____ / /_ (_) - \__ \/ __ \/ / __ \/ __ \/ __ \/ / - ___/ / / / / / / / / /_/ / /_/ / / -/____/_/ /_/_/_/ /_/\____/_.___/_/ - + \__ \/ __ \/ / __ \/ __ \/ __ \/ / + ___/ / / / / / / / / /_/ / /_/ / / +/____/_/ /_/_/_/ /_/\____/_.___/_/ + EOF } header_info diff --git a/ct/smokeping.sh b/ct/smokeping.sh index 8da7d96c..1b4bb1cf 100644 --- a/ct/smokeping.sh +++ b/ct/smokeping.sh @@ -1,6 +1,7 @@ #!/usr/bin/env bash -source <(curl -s https://raw.githubusercontent.com/tteck/Proxmox/main/misc/build.func) +source <(curl -s https://raw.githubusercontent.com/tteck/Proxmox/main/misc/fs.func) +source <(fs_cat misc/build.func) # Copyright (c) 2021-2024 tteck # Author: tteck (tteckster) # License: MIT diff --git a/ct/sonarr.sh b/ct/sonarr.sh index fe2c5939..abd50b46 100644 --- a/ct/sonarr.sh +++ b/ct/sonarr.sh @@ -1,5 +1,6 @@ #!/usr/bin/env bash -source <(curl -s https://raw.githubusercontent.com/tteck/Proxmox/main/misc/build.func) +source <(curl -s https://raw.githubusercontent.com/tteck/Proxmox/main/misc/fs.func) +source <(fs_cat misc/build.func) # Copyright (c) 2021-2024 tteck # Author: tteck (tteckster) # License: MIT diff --git a/ct/spoolman.sh b/ct/spoolman.sh index dadff3bf..5967645b 100644 --- a/ct/spoolman.sh +++ b/ct/spoolman.sh @@ -1,5 +1,6 @@ #!/usr/bin/env bash -source <(curl -s https://raw.githubusercontent.com/tteck/Proxmox/main/misc/build.func) +source <(curl -s https://raw.githubusercontent.com/tteck/Proxmox/main/misc/fs.func) +source <(fs_cat misc/build.func) # Copyright (c) 2021-2024 tteck # Author: tteck # Co-Author: MickLesk (Canbiz) @@ -9,12 +10,12 @@ source <(curl -s https://raw.githubusercontent.com/tteck/Proxmox/main/misc/build function header_info { clear cat <<"EOF" - _____ __ - / ___/____ ____ ____ / /___ ___ ____ _____ + _____ __ + / ___/____ ____ ____ / /___ ___ ____ _____ \__ \/ __ \/ __ \/ __ \/ / __ `__ \/ __ `/ __ \ ___/ / /_/ / /_/ / /_/ / / / / / / / /_/ / / / / -/____/ .___/\____/\____/_/_/ /_/ /_/\__,_/_/ /_/ - /_/ +/____/ .___/\____/\____/_/_/ /_/ /_/\__,_/_/ /_/ + /_/ EOF } header_info @@ -71,8 +72,8 @@ if [[ ! -f /opt/${APP}_version.txt ]] || [[ "${RELEASE}" != "$(cat /opt/${APP}_v cd /opt rm -rf spoolman_bak mv spoolman spoolman_bak - wget -q https://github.com/Donkie/Spoolman/releases/download/${RELEASE}/spoolman.zip - unzip -q spoolman.zip -d spoolman + wget -q https://github.com/Donkie/Spoolman/releases/download/${RELEASE}/spoolman.zip + unzip -q spoolman.zip -d spoolman cd spoolman pip3 install -r requirements.txt >/dev/null 2>&1 cp .env.example .env diff --git a/ct/stirling-pdf.sh b/ct/stirling-pdf.sh index f1505054..eaa57fd6 100644 --- a/ct/stirling-pdf.sh +++ b/ct/stirling-pdf.sh @@ -1,5 +1,6 @@ #!/usr/bin/env bash -source <(curl -s https://raw.githubusercontent.com/tteck/Proxmox/main/misc/build.func) +source <(curl -s https://raw.githubusercontent.com/tteck/Proxmox/main/misc/fs.func) +source <(fs_cat misc/build.func) # Copyright (c) 2021-2024 tteck # Author: tteck (tteckster) # License: MIT diff --git a/ct/syncthing.sh b/ct/syncthing.sh index 5cf7765c..53a5e0f2 100644 --- a/ct/syncthing.sh +++ b/ct/syncthing.sh @@ -1,5 +1,6 @@ #!/usr/bin/env bash -source <(curl -s https://raw.githubusercontent.com/tteck/Proxmox/main/misc/build.func) +source <(curl -s https://raw.githubusercontent.com/tteck/Proxmox/main/misc/fs.func) +source <(fs_cat misc/build.func) # Copyright (c) 2021-2024 tteck # Author: tteck (tteckster) # License: MIT @@ -8,13 +9,13 @@ source <(curl -s https://raw.githubusercontent.com/tteck/Proxmox/main/misc/build function header_info { clear cat <<"EOF" - _____ __ __ _ + _____ __ __ _ / ___/__ ______ _____/ /_/ /_ (_)___ ____ _ \__ \/ / / / __ \/ ___/ __/ __ \/ / __ \/ __ `/ - ___/ / /_/ / / / / /__/ /_/ / / / / / / / /_/ / -/____/\__, /_/ /_/\___/\__/_/ /_/_/_/ /_/\__, / - /____/ /____/ - + ___/ / /_/ / / / / /__/ /_/ / / / / / / / /_/ / +/____/\__, /_/ /_/\___/\__/_/ /_/_/_/ /_/\__, / + /____/ /____/ + EOF } header_info diff --git a/ct/tandoor.sh b/ct/tandoor.sh index 29085af5..9393a42a 100644 --- a/ct/tandoor.sh +++ b/ct/tandoor.sh @@ -1,5 +1,6 @@ #!/usr/bin/env bash -source <(curl -s https://raw.githubusercontent.com/tteck/Proxmox/main/misc/build.func) +source <(curl -s https://raw.githubusercontent.com/tteck/Proxmox/main/misc/fs.func) +source <(fs_cat misc/build.func) # Copyright (c) 2021-2024 tteck # Author: tteck # Co-Author: MickLesk (Canbiz) @@ -55,7 +56,7 @@ function default_settings() { function update_script() { header_info - if [[ ! -d /opt/tandoor ]]; then msg_error "No ${APP} Installation Found!"; exit; fi + if [[ ! -d /opt/tandoor ]]; then msg_error "No ${APP} Installation Found!"; exit; fi if cd /opt/tandoor && git pull | grep -q 'Already up to date'; then msg_ok "There is currently no update available." else diff --git a/ct/tasmoadmin.sh b/ct/tasmoadmin.sh index 662c36f1..e8fe8c6f 100644 --- a/ct/tasmoadmin.sh +++ b/ct/tasmoadmin.sh @@ -1,5 +1,6 @@ #!/usr/bin/env bash -source <(curl -s https://raw.githubusercontent.com/tteck/Proxmox/main/misc/build.func) +source <(curl -s https://raw.githubusercontent.com/tteck/Proxmox/main/misc/fs.func) +source <(fs_cat misc/build.func) # Copyright (c) 2021-2024 tteck # Author: tteck (tteckster) # License: MIT @@ -8,7 +9,7 @@ source <(curl -s https://raw.githubusercontent.com/tteck/Proxmox/main/misc/build function header_info { clear cat <<"EOF" - ______ ___ __ _ + ______ ___ __ _ /_ __/___ __________ ___ ____ / | ____/ /___ ___ (_)___ / / / __ `/ ___/ __ `__ \/ __ \/ /| |/ __ / __ `__ \/ / __ \ / / / /_/ (__ ) / / / / / /_/ / ___ / /_/ / / / / / / / / / / diff --git a/ct/tautulli.sh b/ct/tautulli.sh index 55a628d3..64083c83 100644 --- a/ct/tautulli.sh +++ b/ct/tautulli.sh @@ -1,5 +1,6 @@ #!/usr/bin/env bash -source <(curl -s https://raw.githubusercontent.com/tteck/Proxmox/main/misc/build.func) +source <(curl -s https://raw.githubusercontent.com/tteck/Proxmox/main/misc/fs.func) +source <(fs_cat misc/build.func) # Copyright (c) 2021-2024 tteck # Author: tteck (tteckster) # License: MIT @@ -10,9 +11,9 @@ clear cat <<"EOF" ______ __ _____ /_ __/___ ___ __/ /___ __/ / (_) - / / / __ `/ / / / __/ / / / / / / - / / / /_/ / /_/ / /_/ /_/ / / / / -/_/ \__,_/\__,_/\__/\__,_/_/_/_/ + / / / __ `/ / / / __/ / / / / / / + / / / /_/ / /_/ / /_/ /_/ / / / / +/_/ \__,_/\__,_/\__/\__,_/_/_/_/ EOF } diff --git a/ct/tdarr.sh b/ct/tdarr.sh index 11bc2880..6f3231c8 100644 --- a/ct/tdarr.sh +++ b/ct/tdarr.sh @@ -1,5 +1,6 @@ #!/usr/bin/env bash -source <(curl -s https://raw.githubusercontent.com/tteck/Proxmox/main/misc/build.func) +source <(curl -s https://raw.githubusercontent.com/tteck/Proxmox/main/misc/fs.func) +source <(fs_cat misc/build.func) # Copyright (c) 2021-2024 tteck # Author: tteck (tteckster) # License: MIT @@ -8,12 +9,12 @@ source <(curl -s https://raw.githubusercontent.com/tteck/Proxmox/main/misc/build function header_info { clear cat <<"EOF" - ______ __ + ______ __ /_ __/___/ /___ __________ / / / __ / __ `/ ___/ ___/ - / / / /_/ / /_/ / / / / -/_/ \__,_/\__,_/_/ /_/ - + / / / /_/ / /_/ / / / / +/_/ \__,_/\__,_/_/ /_/ + EOF } header_info diff --git a/ct/technitiumdns.sh b/ct/technitiumdns.sh index 85775abd..a49a42f3 100644 --- a/ct/technitiumdns.sh +++ b/ct/technitiumdns.sh @@ -1,5 +1,6 @@ #!/usr/bin/env bash -source <(curl -s https://raw.githubusercontent.com/tteck/Proxmox/main/misc/build.func) +source <(curl -s https://raw.githubusercontent.com/tteck/Proxmox/main/misc/fs.func) +source <(fs_cat misc/build.func) # Copyright (c) 2021-2024 tteck # Author: tteck (tteckster) # License: MIT @@ -10,10 +11,10 @@ clear cat <<"EOF" ______ __ _ __ _ ____ _ _______ /_ __/__ _____/ /_ ____ (_) /_(_)_ ______ ___ / __ \/ | / / ___/ - / / / _ \/ ___/ __ \/ __ \/ / __/ / / / / __ __ \ / / / / |/ /\__ \ - / / / __/ /__/ / / / / / / / /_/ / /_/ / / / / / / / /_/ / /| /___/ / -/_/ \___/\___/_/ /_/_/ /_/_/\__/_/\__,_/_/ /_/ /_/ /_____/_/ |_//____/ - + / / / _ \/ ___/ __ \/ __ \/ / __/ / / / / __ __ \ / / / / |/ /\__ \ + / / / __/ /__/ / / / / / / / /_/ / /_/ / / / / / / / /_/ / /| /___/ / +/_/ \___/\___/_/ /_/_/ /_/_/\__/_/\__,_/_/ /_/ /_/ /_____/_/ |_//____/ + EOF } header_info diff --git a/ct/threadfin.sh b/ct/threadfin.sh index e870e26c..a8c13213 100644 --- a/ct/threadfin.sh +++ b/ct/threadfin.sh @@ -1,5 +1,6 @@ #!/usr/bin/env bash -source <(curl -s https://raw.githubusercontent.com/tteck/Proxmox/main/misc/build.func) +source <(curl -s https://raw.githubusercontent.com/tteck/Proxmox/main/misc/fs.func) +source <(fs_cat misc/build.func) # Copyright (c) 2021-2024 tteck # Author: tteck (tteckster) # License: MIT @@ -8,12 +9,12 @@ source <(curl -s https://raw.githubusercontent.com/tteck/Proxmox/main/misc/build function header_info { clear cat <<"EOF" - ________ _______ - /_ __/ /_ ________ ____ _____/ / __(_)___ + ________ _______ + /_ __/ /_ ________ ____ _____/ / __(_)___ / / / __ \/ ___/ _ \/ __ `/ __ / /_/ / __ \ / / / / / / / / __/ /_/ / /_/ / __/ / / / / -/_/ /_/ /_/_/ \___/\__,_/\__,_/_/ /_/_/ /_/ - +/_/ /_/ /_/_/ \___/\__,_/\__,_/_/ /_/_/ /_/ + EOF } header_info diff --git a/ct/traccar.sh b/ct/traccar.sh index 1b62939a..fd9ffb72 100644 --- a/ct/traccar.sh +++ b/ct/traccar.sh @@ -1,5 +1,6 @@ #!/usr/bin/env bash -source <(curl -s https://raw.githubusercontent.com/tteck/Proxmox/main/misc/build.func) +source <(curl -s https://raw.githubusercontent.com/tteck/Proxmox/main/misc/fs.func) +source <(fs_cat misc/build.func) # Copyright (c) 2021-2024 tteck # Author: tteck (tteckster) # License: MIT diff --git a/ct/traefik.sh b/ct/traefik.sh index d86ac143..a8fe8031 100644 --- a/ct/traefik.sh +++ b/ct/traefik.sh @@ -1,5 +1,6 @@ #!/usr/bin/env bash -source <(curl -s https://raw.githubusercontent.com/tteck/Proxmox/main/misc/build.func) +source <(curl -s https://raw.githubusercontent.com/tteck/Proxmox/main/misc/fs.func) +source <(fs_cat misc/build.func) # Copyright (c) 2021-2024 tteck # Author: tteck (tteckster) # License: MIT @@ -8,11 +9,11 @@ source <(curl -s https://raw.githubusercontent.com/tteck/Proxmox/main/misc/build function header_info { clear cat <<"EOF" - ______ _____ __ + ______ _____ __ /_ __/________ ____ / __(_) /__ / / / ___/ __ `/ _ \/ /_/ / //_/ - / / / / / /_/ / __/ __/ / ,< -/_/ /_/ \__,_/\___/_/ /_/_/|_| + / / / / / /_/ / __/ __/ / ,< +/_/ /_/ \__,_/\___/_/ /_/_/|_| EOF } diff --git a/ct/transmission.sh b/ct/transmission.sh index a7e234e4..6753817c 100644 --- a/ct/transmission.sh +++ b/ct/transmission.sh @@ -1,5 +1,6 @@ #!/usr/bin/env bash -source <(curl -s https://raw.githubusercontent.com/tteck/Proxmox/main/misc/build.func) +source <(curl -s https://raw.githubusercontent.com/tteck/Proxmox/main/misc/fs.func) +source <(fs_cat misc/build.func) # Copyright (c) 2021-2024 tteck # Author: tteck (tteckster) # License: MIT @@ -8,12 +9,12 @@ source <(curl -s https://raw.githubusercontent.com/tteck/Proxmox/main/misc/build function header_info { clear cat <<"EOF" - ______ _ _ - /_ __/________ _____ _________ ___ (_)_________(_)___ ____ + ______ _ _ + /_ __/________ _____ _________ ___ (_)_________(_)___ ____ / / / ___/ __ `/ __ \/ ___/ __ `__ \/ / ___/ ___/ / __ \/ __ \ / / / / / /_/ / / / (__ ) / / / / / (__ |__ ) / /_/ / / / / -/_/ /_/ \__,_/_/ /_/____/_/ /_/ /_/_/____/____/_/\____/_/ /_/ - +/_/ /_/ \__,_/_/ /_/____/_/ /_/ /_/_/____/____/_/\____/_/ /_/ + EOF } header_info diff --git a/ct/trilium.sh b/ct/trilium.sh index ac162c50..49d78d05 100644 --- a/ct/trilium.sh +++ b/ct/trilium.sh @@ -1,5 +1,6 @@ #!/usr/bin/env bash -source <(curl -s https://raw.githubusercontent.com/tteck/Proxmox/main/misc/build.func) +source <(curl -s https://raw.githubusercontent.com/tteck/Proxmox/main/misc/fs.func) +source <(fs_cat misc/build.func) # Copyright (c) 2021-2024 tteck # Author: tteck (tteckster) # License: MIT @@ -8,12 +9,12 @@ source <(curl -s https://raw.githubusercontent.com/tteck/Proxmox/main/misc/build function header_info { clear cat <<"EOF" - ______ _ ___ - /_ __/____(_) (_)_ ______ ___ + ______ _ ___ + /_ __/____(_) (_)_ ______ ___ / / / ___/ / / / / / / __ `__ \ / / / / / / / / /_/ / / / / / / -/_/ /_/ /_/_/_/\__,_/_/ /_/ /_/ - +/_/ /_/ /_/_/_/\__,_/_/ /_/ /_/ + EOF } header_info @@ -56,7 +57,7 @@ function update_script() { header_info if [[ ! -d /opt/trilium ]]; then msg_error "No ${APP} Installation Found!"; exit; fi RELEASE=$(curl -s https://api.github.com/repos/TriliumNext/Notes/releases/latest | grep "tag_name" | awk '{print substr($2, 3, length($2)-4) }') - + msg_info "Stopping ${APP}" systemctl stop trilium.service sleep 1 diff --git a/ct/ubuntu.sh b/ct/ubuntu.sh index 448ca243..5c2395fa 100644 --- a/ct/ubuntu.sh +++ b/ct/ubuntu.sh @@ -1,5 +1,6 @@ #!/usr/bin/env bash -source <(curl -s https://raw.githubusercontent.com/tteck/Proxmox/main/misc/build.func) +source <(curl -s https://raw.githubusercontent.com/tteck/Proxmox/main/misc/fs.func) +source <(fs_cat misc/build.func) # Copyright (c) 2021-2024 tteck # Author: tteck (tteckster) # License: MIT @@ -8,12 +9,12 @@ source <(curl -s https://raw.githubusercontent.com/tteck/Proxmox/main/misc/build function header_info { clear cat <<"EOF" - __ ____ __ + __ ____ __ / / / / /_ __ ______ / /___ __ / / / / __ \/ / / / __ \/ __/ / / / -/ /_/ / /_/ / /_/ / / / / /_/ /_/ / -\____/_.___/\__,_/_/ /_/\__/\__,_/ - +/ /_/ / /_/ / /_/ / / / / /_/ /_/ / +\____/_.___/\__,_/_/ /_/\__/\__,_/ + EOF } header_info diff --git a/ct/umami.sh b/ct/umami.sh index 065f4516..2e3b8693 100644 --- a/ct/umami.sh +++ b/ct/umami.sh @@ -1,5 +1,6 @@ #!/usr/bin/env bash -source <(curl -s https://raw.githubusercontent.com/tteck/Proxmox/main/misc/build.func) +source <(curl -s https://raw.githubusercontent.com/tteck/Proxmox/main/misc/fs.func) +source <(fs_cat misc/build.func) # Copyright (c) 2021-2024 tteck # Author: tteck (tteckster) # License: MIT @@ -8,12 +9,12 @@ source <(curl -s https://raw.githubusercontent.com/tteck/Proxmox/main/misc/build function header_info { clear cat <<"EOF" - _ + _ __ ______ ___ ____ _____ ___ (_) - / / / / __ `__ \/ __ `/ __ `__ \/ / -/ /_/ / / / / / / /_/ / / / / / / / -\__,_/_/ /_/ /_/\__,_/_/ /_/ /_/_/ - + / / / / __ `__ \/ __ `/ __ `__ \/ / +/ /_/ / / / / / / /_/ / / / / / / / +\__,_/_/ /_/ /_/\__,_/_/ /_/ /_/_/ + EOF } header_info diff --git a/ct/umbrel.sh b/ct/umbrel.sh index 62f9a471..f0b81d61 100644 --- a/ct/umbrel.sh +++ b/ct/umbrel.sh @@ -1,5 +1,6 @@ #!/usr/bin/env bash -source <(curl -s https://raw.githubusercontent.com/tteck/Proxmox/main/misc/build.func) +source <(curl -s https://raw.githubusercontent.com/tteck/Proxmox/main/misc/fs.func) +source <(fs_cat misc/build.func) # Copyright (c) 2021-2024 tteck # Author: tteck (tteckster) # License: MIT @@ -10,10 +11,10 @@ clear cat <<"EOF" __ __ __ __ / / / /___ ___ / /_ ________ / / - / / / / __ `__ \/ __ \/ ___/ _ \/ / -/ /_/ / / / / / / /_/ / / / __/ / -\____/_/ /_/ /_/_.___/_/ \___/_/ - + / / / / __ `__ \/ __ \/ ___/ _ \/ / +/ /_/ / / / / / / /_/ / / / __/ / +\____/_/ /_/ /_/_.___/_/ \___/_/ + EOF } header_info diff --git a/ct/unifi.sh b/ct/unifi.sh index cec984c5..a02aeec8 100644 --- a/ct/unifi.sh +++ b/ct/unifi.sh @@ -1,5 +1,6 @@ #!/usr/bin/env bash -source <(curl -s https://raw.githubusercontent.com/tteck/Proxmox/main/misc/build.func) +source <(curl -s https://raw.githubusercontent.com/tteck/Proxmox/main/misc/fs.func) +source <(fs_cat misc/build.func) # Copyright (c) 2021-2024 tteck # Author: tteck (tteckster) # License: MIT @@ -8,12 +9,12 @@ source <(curl -s https://raw.githubusercontent.com/tteck/Proxmox/main/misc/build function header_info { clear cat <<"EOF" - __ __ _ _____ + __ __ _ _____ / / / /__ (_) __(_) - / / / / __ \/ / /_/ / -/ /_/ / / / / / __/ / -\____/_/ /_/_/_/ /_/ - + / / / / __ \/ / /_/ / +/ /_/ / / / / / __/ / +\____/_/ /_/_/_/ /_/ + EOF } header_info diff --git a/ct/unmanic.sh b/ct/unmanic.sh index 04134cee..c954a8ff 100644 --- a/ct/unmanic.sh +++ b/ct/unmanic.sh @@ -1,5 +1,6 @@ #!/usr/bin/env bash -source <(curl -s https://raw.githubusercontent.com/tteck/Proxmox/main/misc/build.func) +source <(curl -s https://raw.githubusercontent.com/tteck/Proxmox/main/misc/fs.func) +source <(fs_cat misc/build.func) # Copyright (c) 2021-2024 tteck # Author: tteck (tteckster) # License: MIT diff --git a/ct/uptimekuma.sh b/ct/uptimekuma.sh index 17289c24..fb8edba2 100644 --- a/ct/uptimekuma.sh +++ b/ct/uptimekuma.sh @@ -1,5 +1,6 @@ #!/usr/bin/env bash -source <(curl -s https://raw.githubusercontent.com/tteck/Proxmox/main/misc/build.func) +source <(curl -s https://raw.githubusercontent.com/tteck/Proxmox/main/misc/fs.func) +source <(fs_cat misc/build.func) # Copyright (c) 2021-2024 tteck # Author: tteck (tteckster) # License: MIT @@ -8,13 +9,13 @@ source <(curl -s https://raw.githubusercontent.com/tteck/Proxmox/main/misc/build function header_info { clear cat <<"EOF" - __ __ __ _ __ __ + __ __ __ _ __ __ / / / /___ / /_(_)___ ___ ___ / //_/_ ______ ___ ____ _ / / / / __ \/ __/ / __ __ \/ _ \ / ,< / / / / __ __ \/ __ / -/ /_/ / /_/ / /_/ / / / / / / __/ / /| / /_/ / / / / / / /_/ / -\____/ .___/\__/_/_/ /_/ /_/\___/ /_/ |_\__,_/_/ /_/ /_/\__,_/ - /_/ - +/ /_/ / /_/ / /_/ / / / / / / __/ / /| / /_/ / / / / / / /_/ / +\____/ .___/\__/_/_/ /_/ /_/\___/ /_/ |_\__,_/_/ /_/ /_/\__,_/ + /_/ + EOF } header_info diff --git a/ct/vaultwarden.sh b/ct/vaultwarden.sh index f7901b79..dd24e59b 100644 --- a/ct/vaultwarden.sh +++ b/ct/vaultwarden.sh @@ -1,5 +1,6 @@ #!/usr/bin/env bash -source <(curl -s https://raw.githubusercontent.com/tteck/Proxmox/main/misc/build.func) +source <(curl -s https://raw.githubusercontent.com/tteck/Proxmox/main/misc/fs.func) +source <(fs_cat misc/build.func) # Copyright (c) 2021-2024 tteck # Author: tteck (tteckster) # License: MIT @@ -8,12 +9,12 @@ source <(curl -s https://raw.githubusercontent.com/tteck/Proxmox/main/misc/build function header_info { clear cat <<"EOF" - _ __ ____ _ __ __ -| | / /___ ___ __/ / /| | / /___ __________/ /__ ____ + _ __ ____ _ __ __ +| | / /___ ___ __/ / /| | / /___ __________/ /__ ____ | | / / __ `/ / / / / __/ | /| / / __ `/ ___/ __ / _ \/ __ \ | |/ / /_/ / /_/ / / /_ | |/ |/ / /_/ / / / /_/ / __/ / / / -|___/\__,_/\__,_/_/\__/ |__/|__/\__,_/_/ \__,_/\___/_/ /_/ - +|___/\__,_/\__,_/_/\__/ |__/|__/\__,_/_/ \__,_/\___/_/ /_/ + EOF } header_info diff --git a/ct/wastebin.sh b/ct/wastebin.sh index c76c428e..d0fabb3e 100644 --- a/ct/wastebin.sh +++ b/ct/wastebin.sh @@ -1,5 +1,6 @@ #!/usr/bin/env bash -source <(curl -s https://raw.githubusercontent.com/tteck/Proxmox/main/misc/build.func) +source <(curl -s https://raw.githubusercontent.com/tteck/Proxmox/main/misc/fs.func) +source <(fs_cat misc/build.func) # Copyright (c) 2021-2024 tteck # Author: tteck # Co-Author: MickLesk (Canbiz) @@ -11,12 +12,12 @@ source <(curl -s https://raw.githubusercontent.com/tteck/Proxmox/main/misc/build function header_info { clear cat <<"EOF" - _ __ __ __ _ -| | / /___ ______/ /____ / /_ (_)___ + _ __ __ __ _ +| | / /___ ______/ /____ / /_ (_)___ | | /| / / __ `/ ___/ __/ _ \/ __ \/ / __ \ | |/ |/ / /_/ (__ ) /_/ __/ /_/ / / / / / -|__/|__/\__,_/____/\__/\___/_.___/_/_/ /_/ - +|__/|__/\__,_/____/\__/\___/_.___/_/_/ /_/ + EOF } header_info diff --git a/ct/watchyourlan.sh b/ct/watchyourlan.sh index 93eba4d1..3c6926cf 100644 --- a/ct/watchyourlan.sh +++ b/ct/watchyourlan.sh @@ -1,5 +1,6 @@ #!/usr/bin/env bash -source <(curl -s https://raw.githubusercontent.com/tteck/Proxmox/main/misc/build.func) +source <(curl -s https://raw.githubusercontent.com/tteck/Proxmox/main/misc/fs.func) +source <(fs_cat misc/build.func) # Copyright (c) 2021-2024 tteck # Author: tteck (tteckster) # License: MIT diff --git a/ct/whisparr.sh b/ct/whisparr.sh index 1a8b9a01..decaca0e 100644 --- a/ct/whisparr.sh +++ b/ct/whisparr.sh @@ -1,5 +1,6 @@ #!/usr/bin/env bash -source <(curl -s https://raw.githubusercontent.com/tteck/Proxmox/main/misc/build.func) +source <(curl -s https://raw.githubusercontent.com/tteck/Proxmox/main/misc/fs.func) +source <(fs_cat misc/build.func) # Copyright (c) 2021-2024 tteck # Author: tteck (tteckster) # License: MIT @@ -8,13 +9,13 @@ source <(curl -s https://raw.githubusercontent.com/tteck/Proxmox/main/misc/build function header_info { clear cat <<"EOF" - _ ____ _ + _ ____ _ | | / / /_ (_)________ ____ __________ | | /| / / __ \/ / ___/ __ \/ __ `/ ___/ ___/ -| |/ |/ / / / / (__ ) /_/ / /_/ / / / / -|__/|__/_/ /_/_/____/ .___/\__,_/_/ /_/ - /_/ - +| |/ |/ / / / / (__ ) /_/ / /_/ / / / / +|__/|__/_/ /_/_/____/ .___/\__,_/_/ /_/ + /_/ + EOF } header_info diff --git a/ct/whoogle.sh b/ct/whoogle.sh index 5fa40ba2..619e2632 100644 --- a/ct/whoogle.sh +++ b/ct/whoogle.sh @@ -1,5 +1,6 @@ #!/usr/bin/env bash -source <(curl -s https://raw.githubusercontent.com/tteck/Proxmox/main/misc/build.func) +source <(curl -s https://raw.githubusercontent.com/tteck/Proxmox/main/misc/fs.func) +source <(fs_cat misc/build.func) # Copyright (c) 2021-2024 tteck # Author: tteck (tteckster) # License: MIT @@ -10,10 +11,10 @@ clear cat <<"EOF" _ ____ ______ ____ ________ ______ | | / / / / / __ \/ __ \/ ____/ / / ____/ -| | /| / / /_/ / / / / / / / / __/ / / __/ -| |/ |/ / __ / /_/ / /_/ / /_/ / /___/ /___ -|__/|__/_/ /_/\____/\____/\____/_____/_____/ - +| | /| / / /_/ / / / / / / / / __/ / / __/ +| |/ |/ / __ / /_/ / /_/ / /_/ / /___/ /___ +|__/|__/_/ /_/\____/\____/\____/_____/_____/ + EOF } header_info diff --git a/ct/wikijs.sh b/ct/wikijs.sh index dedff2d6..6a6bf6d8 100644 --- a/ct/wikijs.sh +++ b/ct/wikijs.sh @@ -1,5 +1,6 @@ #!/usr/bin/env bash -source <(curl -s https://raw.githubusercontent.com/tteck/Proxmox/main/misc/build.func) +source <(curl -s https://raw.githubusercontent.com/tteck/Proxmox/main/misc/fs.func) +source <(fs_cat misc/build.func) # Copyright (c) 2021-2024 tteck # Author: tteck (tteckster) # License: MIT @@ -8,13 +9,13 @@ source <(curl -s https://raw.githubusercontent.com/tteck/Proxmox/main/misc/build function header_info { clear cat <<"EOF" - _ ___ __ _ _ + _ ___ __ _ _ | | / (_) /__(_) (_)____ | | /| / / / //_/ / / / ___/ -| |/ |/ / / ,< / / / (__ ) -|__/|__/_/_/|_/_(_)_/ /____/ - /___/ - +| |/ |/ / / ,< / / / (__ ) +|__/|__/_/_/|_/_(_)_/ /____/ + /___/ + EOF } header_info @@ -69,7 +70,7 @@ msg_info "Updating ${APP}" rm -rf /opt/wikijs/* cd /opt/wikijs wget -q https://github.com/Requarks/wiki/releases/latest/download/wiki-js.tar.gz -tar xzf wiki-js.tar.gz +tar xzf wiki-js.tar.gz msg_ok "Updated ${APP}" msg_info "Restoring Data" diff --git a/ct/wireguard.sh b/ct/wireguard.sh index a183c6bb..6935e638 100644 --- a/ct/wireguard.sh +++ b/ct/wireguard.sh @@ -1,5 +1,6 @@ #!/usr/bin/env bash -source <(curl -s https://raw.githubusercontent.com/tteck/Proxmox/main/misc/build.func) +source <(curl -s https://raw.githubusercontent.com/tteck/Proxmox/main/misc/fs.func) +source <(fs_cat misc/build.func) # Copyright (c) 2021-2024 tteck # Author: tteck (tteckster) # License: MIT @@ -10,10 +11,10 @@ clear cat <<"EOF" _ ___ ______ __ | | / (_)_______ / ____/_ ______ __________/ / -| | /| / / / ___/ _ \/ / __/ / / / __ `/ ___/ __ / -| |/ |/ / / / / __/ /_/ / /_/ / /_/ / / / /_/ / -|__/|__/_/_/ \___/\____/\__,_/\__,_/_/ \__,_/ - +| | /| / / / ___/ _ \/ / __/ / / / __ `/ ___/ __ / +| |/ |/ / / / / __/ /_/ / /_/ / /_/ / / / /_/ / +|__/|__/_/_/ \___/\____/\__,_/\__,_/_/ \__,_/ + EOF } header_info diff --git a/ct/yunohost.sh b/ct/yunohost.sh index 613de2f5..f0b406dc 100644 --- a/ct/yunohost.sh +++ b/ct/yunohost.sh @@ -1,5 +1,6 @@ #!/usr/bin/env bash -source <(curl -s https://raw.githubusercontent.com/tteck/Proxmox/main/misc/build.func) +source <(curl -s https://raw.githubusercontent.com/tteck/Proxmox/main/misc/fs.func) +source <(fs_cat misc/build.func) # Copyright (c) 2021-2024 tteck # Author: tteck (tteckster) # License: MIT @@ -8,12 +9,12 @@ source <(curl -s https://raw.githubusercontent.com/tteck/Proxmox/main/misc/build function header_info { clear cat <<"EOF" -__ __ __ __ __ +__ __ __ __ __ \ \/ /_ ______ ____ / / / /___ _____/ /_ \ / / / / __ \/ __ \/ /_/ / __ \/ ___/ __/ - / / /_/ / / / / /_/ / __ / /_/ (__ ) /_ -/_/\__,_/_/ /_/\____/_/ /_/\____/____/\__/ - + / / /_/ / / / / /_/ / __ / /_/ (__ ) /_ +/_/\__,_/_/ /_/\____/_/ /_/\____/____/\__/ + EOF } header_info diff --git a/ct/zabbix.sh b/ct/zabbix.sh index 3eb578d0..023ad405 100644 --- a/ct/zabbix.sh +++ b/ct/zabbix.sh @@ -1,5 +1,6 @@ #!/usr/bin/env bash -source <(curl -s https://raw.githubusercontent.com/tteck/Proxmox/main/misc/build.func) +source <(curl -s https://raw.githubusercontent.com/tteck/Proxmox/main/misc/fs.func) +source <(fs_cat misc/build.func) # Copyright (c) 2021-2024 tteck # Author: tteck (tteckster) # License: MIT diff --git a/ct/zigbee2mqtt.sh b/ct/zigbee2mqtt.sh index e3ae7ee8..a1e42c46 100644 --- a/ct/zigbee2mqtt.sh +++ b/ct/zigbee2mqtt.sh @@ -1,5 +1,6 @@ #!/usr/bin/env bash -source <(curl -s https://raw.githubusercontent.com/tteck/Proxmox/main/misc/build.func) +source <(curl -s https://raw.githubusercontent.com/tteck/Proxmox/main/misc/fs.func) +source <(fs_cat misc/build.func) # Copyright (c) 2021-2024 tteck # Author: tteck (tteckster) # License: MIT @@ -10,11 +11,11 @@ function header_info { cat <<"EOF" _____ _ __ ___ __ _______ ____________ /__ / (_)___ _/ /_ ___ ___ |__ \ / |/ / __ \/_ __/_ __/ - / / / / __ / __ \/ _ \/ _ \__/ // /|_/ / / / / / / / / - / /__/ / /_/ / /_/ / __/ __/ __// / / / /_/ / / / / / -/____/_/\__, /_.___/\___/\___/____/_/ /_/\___\_\/_/ /_/ + / / / / __ / __ \/ _ \/ _ \__/ // /|_/ / / / / / / / / + / /__/ / /_/ / /_/ / __/ __/ __// / / / /_/ / / / / / +/____/_/\__, /_.___/\___/\___/____/_/ /_/\___\_\/_/ /_/ /____/ 🐝 - + EOF } header_info diff --git a/ct/zoraxy.sh b/ct/zoraxy.sh index 84a40785..af5776e0 100644 --- a/ct/zoraxy.sh +++ b/ct/zoraxy.sh @@ -1,5 +1,6 @@ #!/usr/bin/env bash -source <(curl -s https://raw.githubusercontent.com/tteck/Proxmox/main/misc/build.func) +source <(curl -s https://raw.githubusercontent.com/tteck/Proxmox/main/misc/fs.func) +source <(fs_cat misc/build.func) # Copyright (c) 2021-2024 tteck # Author: tteck (tteckster) # License: MIT diff --git a/ct/zwave-js-ui.sh b/ct/zwave-js-ui.sh index 3be12b44..ddb42b8f 100644 --- a/ct/zwave-js-ui.sh +++ b/ct/zwave-js-ui.sh @@ -1,5 +1,6 @@ #!/usr/bin/env bash -source <(curl -s https://raw.githubusercontent.com/tteck/Proxmox/main/misc/build.func) +source <(curl -s https://raw.githubusercontent.com/tteck/Proxmox/main/misc/fs.func) +source <(fs_cat misc/build.func) # Copyright (c) 2021-2024 tteck # Author: tteck (tteckster) # License: MIT @@ -10,10 +11,10 @@ function header_info { cat <<"EOF" _____ _______ __ ______ /__ /_ ______ __ _____ / / ___/ / / / / _/ - / /| | /| / / __ `/ | / / _ \ __ / /\__ \ / / / // / - / /_| |/ |/ / /_/ /| |/ / __/ / /_/ /___/ / / /_/ // / -/____/__/|__/\__,_/ |___/\___/ \____//____/ \____/___/ - + / /| | /| / / __ `/ | / / _ \ __ / /\__ \ / / / // / + / /_| |/ |/ / /_/ /| |/ / __/ / /_/ /___/ / / /_/ // / +/____/__/|__/\__,_/ |___/\___/ \____//____/ \____/___/ + EOF } header_info diff --git a/misc/build.func b/misc/build.func index b650a6c0..920c1bd0 100644 --- a/misc/build.func +++ b/misc/build.func @@ -1,3 +1,7 @@ +## +# Runtime helper fns +## + variables() { NSAPP=$(echo ${APP,,} | tr -d ' ') # This function sets the NSAPP variable by converting the value of the APP variable to lowercase and removing any spaces. var_install="${NSAPP}-install" # sets the var_install variable by appending "-install" to the value of NSAPP. @@ -19,6 +23,7 @@ color() { HOLD=" " } + # This function enables error handling in the script by setting options and defining a trap for the ERR signal. catch_errors() { set -Eeuo pipefail @@ -502,6 +507,22 @@ install_script() { } start() { + if [ "$FS_SOURCE" == "local" ]; then + if ! (whiptail --backtitle "Proxmox VE Helper Scripts" --title "${APP} LXC" --yesno "You are using the local file system for installing this LXC. This can pose a SECURITY RISK TO YOUR SYSTEM in case the files were changed by a bad actor. Proceed?" 10 58); then + clear + echo -e "⚠ User exited script \n" + exit + fi; + fi + + if [ "$FS_REMOTE_BRANCH" != "main" ]; then + if ! (whiptail --backtitle "Proxmox VE Helper Scripts" --title "${APP} LXC" --yesno "You are pointing to a remote branch other than main ($FS_REMOTE_BRANCH). This can pose a SECURITY RISK TO YOUR SYSTEM in case the branch/commit was created by a bad actor. Proceed?" 10 58); then + clear + echo -e "⚠ User exited script \n" + exit + fi; + fi + if command -v pveversion >/dev/null 2>&1; then if ! (whiptail --backtitle "Proxmox VE Helper Scripts" --title "${APP} LXC" --yesno "This will create a New ${APP} LXC. Proceed?" 10 58); then clear @@ -537,9 +558,9 @@ build_container() { TEMP_DIR=$(mktemp -d) pushd $TEMP_DIR >/dev/null if [ "$var_os" == "alpine" ]; then - export FUNCTIONS_FILE_PATH="$(curl -s https://raw.githubusercontent.com/tteck/Proxmox/main/misc/alpine-install.func)" + export FUNCTIONS_FILE_PATH="$(fs_cat misc/alpine-install.func)" else - export FUNCTIONS_FILE_PATH="$(curl -s https://raw.githubusercontent.com/tteck/Proxmox/main/misc/install.func)" + export FUNCTIONS_FILE_PATH="$(fs_cat misc/install.func)" fi export CACHER="$APT_CACHER" export CACHER_IP="$APT_CACHER_IP" @@ -569,7 +590,7 @@ build_container() { $PW " # This executes create_lxc.sh and creates the container and .conf file - bash -c "$(wget -qLO - https://raw.githubusercontent.com/tteck/Proxmox/main/ct/create_lxc.sh)" || exit + bash -c "$(fs_cat misc/create_lxc.sh)" || exit LXC_CONFIG=/etc/pve/lxc/${CTID}.conf if [ "$CT_TYPE" == "0" ]; then diff --git a/ct/create_lxc.sh b/misc/create_lxc.sh similarity index 100% rename from ct/create_lxc.sh rename to misc/create_lxc.sh diff --git a/misc/fs.func b/misc/fs.func new file mode 100644 index 00000000..3df7ef04 --- /dev/null +++ b/misc/fs.func @@ -0,0 +1,25 @@ +## +# File system helper fns +## + +FS_SOURCE=remote; +FS_REMOTE_BRANCH=${DANGEROUSLY_CHANGE_REMOTE_BRANCH:-main}; # This variable allows the user to point towards a different remote branch by setting the variable "$DANGEROUSLY_CHANGE_REMOTE_BRANCH". The name of the user-facing variable has "DANGEROUSLY_CHANGE" prepended to it as changing the branch name to a commit or branch created by a bad actor can put their system at risk. +FS_LOCAL_ROOT=${PHS_ROOT}; +if [ "$FS_LOCAL_ROOT" != "" ]; then FS_SOURCE=local; fi; + +# This function prints a file from the repositories root. When running PHS locally, it uses the file system, otherwise it points to the latest main branch. +fs_cat() { + if [ "$FS_SOURCE" == "local" ]; then + FILE_PATH="${FS_LOCAL_ROOT}/$1" + if [ -f "$FILE_PATH" ]; then + cat "$FILE_PATH"; + fi; + else if [ "$FS_SOURCE" == "remote" ]; then + curl -s "https://raw.githubusercontent.com/tteck/Proxmox/${PHS_REMOTE_BRANCH}/$1"; + fi; + + msg_error "Something went wrong while attempting to cat file: $1." + echo -e "\nExiting..." + sleep 2 + exit +}