update pve & arch checks (#1044)

* update ARCH_CHECK & PVE_CHECK
* header_info
* PVE 7 required
This commit is contained in:
tteckster 2023-02-11 20:36:39 -05:00 committed by GitHub
parent 06831d6128
commit 0ddf5e2101
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
82 changed files with 1146 additions and 1148 deletions

View file

@ -6,7 +6,9 @@
# https://github.com/tteck/Proxmox/raw/main/LICENSE # https://github.com/tteck/Proxmox/raw/main/LICENSE
function header_info { function header_info {
cat <<"EOF" clear
cat <<"EOF"
___ __ __ ___ __ __
/ | ____/ /___ ___v5______ __________/ / / | ____/ /___ ___v5______ __________/ /
/ /| |/ __ / __ / / / / __ / ___/ __ / / /| |/ __ / __ / / / / __ / ___/ __ /
@ -16,7 +18,6 @@ function header_info {
EOF EOF
} }
clear
header_info header_info
echo -e "Loading..." echo -e "Loading..."
APP="Adguard" APP="Adguard"
@ -65,18 +66,17 @@ function msg_error() {
} }
function PVE_CHECK() { function PVE_CHECK() {
PVE=$(pveversion | grep "pve-manager/7" | wc -l) if [ $(pveversion | grep -c "pve-manager/7\.[0-9]") -eq 0 ]; then
if [[ $PVE != 1 ]]; then echo -e "${CROSS} This version of Proxmox Virtual Environment is not supported"
echo -e "${RD}This script requires Proxmox Virtual Environment 7.0 or greater${CL}" echo -e "Requires PVE Version 7.0 or higher"
echo -e "Exiting..." echo -e "Exiting..."
sleep 2 sleep 2
exit exit
fi fi
} }
function ARCH_CHECK() { function ARCH_CHECK() {
ARCH=$(dpkg --print-architecture) if [ "$(dpkg --print-architecture)" != "amd64" ]; then
if [[ "$ARCH" != "amd64" ]]; then echo -e "\n ${CROSS} This script will not work with PiMox! \n"
echo -e "\n ❌ This script will not work with PiMox! \n"
echo -e "Exiting..." echo -e "Exiting..."
sleep 2 sleep 2
exit exit
@ -338,7 +338,6 @@ function install_script() {
} }
function update_script() { function update_script() {
clear
header_info header_info
msg_info "Stopping AdguardHome" msg_info "Stopping AdguardHome"
systemctl stop AdGuardHome systemctl stop AdGuardHome
@ -364,8 +363,9 @@ msg_ok "Update Successfull"
exit exit
} }
clear
ARCH_CHECK ARCH_CHECK
PVE_CHECK
header_info
if ! command -v pveversion >/dev/null 2>&1; then update_script; else install_script; fi if ! command -v pveversion >/dev/null 2>&1; then update_script; else install_script; fi
if [ "$VERB" == "yes" ]; then set -x; fi if [ "$VERB" == "yes" ]; then set -x; fi
if [ "$CT_TYPE" == "1" ]; then if [ "$CT_TYPE" == "1" ]; then

View file

@ -6,7 +6,9 @@
# https://github.com/tteck/Proxmox/raw/main/LICENSE # https://github.com/tteck/Proxmox/raw/main/LICENSE
function header_info { function header_info {
cat <<"EOF" clear
cat <<"EOF"
___ v5 __ _ ___ v5 __ _
/ | / /___ (_)___ ___ / | / /___ (_)___ ___
/ /| | / / __ \/ / __ \/ _ \ / /| | / / __ \/ / __ \/ _ \
@ -16,7 +18,6 @@ function header_info {
EOF EOF
} }
clear
header_info header_info
echo -e "Loading..." echo -e "Loading..."
APP="Alpine" APP="Alpine"
@ -65,18 +66,17 @@ function msg_error() {
} }
function PVE_CHECK() { function PVE_CHECK() {
PVE=$(pveversion | grep "pve-manager/7" | wc -l) if [ $(pveversion | grep -c "pve-manager/7\.[0-9]") -eq 0 ]; then
if [[ $PVE != 1 ]]; then echo -e "${CROSS} This version of Proxmox Virtual Environment is not supported"
echo -e "${RD}This script requires Proxmox Virtual Environment 7.0 or greater${CL}" echo -e "Requires PVE Version 7.0 or higher"
echo -e "Exiting..." echo -e "Exiting..."
sleep 2 sleep 2
exit exit
fi fi
} }
function ARCH_CHECK() { function ARCH_CHECK() {
ARCH=$(dpkg --print-architecture) if [ "$(dpkg --print-architecture)" != "amd64" ]; then
if [[ "$ARCH" != "amd64" ]]; then echo -e "\n ${CROSS} This script will not work with PiMox! \n"
echo -e "\n ❌ This script will not work with PiMox! \n"
echo -e "Exiting..." echo -e "Exiting..."
sleep 2 sleep 2
exit exit
@ -335,7 +335,6 @@ function install_script() {
} }
function update_script() { function update_script() {
clear
header_info header_info
msg_info "Updating ${APP} LXC" msg_info "Updating ${APP} LXC"
apk update &>/dev/null apk update &>/dev/null
@ -343,8 +342,9 @@ apk upgrade &>/dev/null
msg_ok "Update Successfull" msg_ok "Update Successfull"
exit exit
} }
clear
ARCH_CHECK ARCH_CHECK
PVE_CHECK
header_info
if ! command -v pveversion >/dev/null 2>&1; then update_script; else install_script; fi if ! command -v pveversion >/dev/null 2>&1; then update_script; else install_script; fi
if [ "$VERB" == "yes" ]; then set -x; fi if [ "$VERB" == "yes" ]; then set -x; fi
if [ "$CT_TYPE" == "1" ]; then if [ "$CT_TYPE" == "1" ]; then

View file

@ -6,7 +6,9 @@
# https://github.com/tteck/Proxmox/raw/main/LICENSE # https://github.com/tteck/Proxmox/raw/main/LICENSE
function header_info { function header_info {
cat <<"EOF" clear
cat <<"EOF"
___ __ __ _ ___ __ __ _
/ | __________/ /_ v5 / / (_)___ __ ___ __ / | __________/ /_ v5 / / (_)___ __ ___ __
/ /| | / ___/ ___/ __ \ / / / / __ \/ / / / |/_/ / /| | / ___/ ___/ __ \ / / / / __ \/ / / / |/_/
@ -15,7 +17,6 @@ function header_info {
EOF EOF
} }
clear
header_info header_info
echo -e "Loading..." echo -e "Loading..."
APP="Arch Linux" APP="Arch Linux"
@ -64,18 +65,17 @@ function msg_error() {
} }
function PVE_CHECK() { function PVE_CHECK() {
PVE=$(pveversion | grep "pve-manager/7" | wc -l) if [ $(pveversion | grep -c "pve-manager/7\.[0-9]") -eq 0 ]; then
if [[ $PVE != 1 ]]; then echo -e "${CROSS} This version of Proxmox Virtual Environment is not supported"
echo -e "${RD}This script requires Proxmox Virtual Environment 7.0 or greater${CL}" echo -e "Requires PVE Version 7.0 or higher"
echo -e "Exiting..." echo -e "Exiting..."
sleep 2 sleep 2
exit exit
fi fi
} }
function ARCH_CHECK() { function ARCH_CHECK() {
ARCH=$(dpkg --print-architecture) if [ "$(dpkg --print-architecture)" != "amd64" ]; then
if [[ "$ARCH" != "amd64" ]]; then echo -e "\n ${CROSS} This script will not work with PiMox! \n"
echo -e "\n ❌ This script will not work with PiMox! \n"
echo -e "Exiting..." echo -e "Exiting..."
sleep 2 sleep 2
exit exit
@ -338,7 +338,6 @@ function install_script() {
} }
function update_script() { function update_script() {
clear
header_info header_info
msg_info "Updating ${APP} LXC" msg_info "Updating ${APP} LXC"
pacman-key --init pacman-key --init
@ -347,8 +346,9 @@ pacman -Sy archlinux-keyring && pacman -Su
msg_ok "Update Successfull" msg_ok "Update Successfull"
exit exit
} }
clear
ARCH_CHECK ARCH_CHECK
PVE_CHECK
header_info
if ! command -v pveversion >/dev/null 2>&1; then update_script; else install_script; fi if ! command -v pveversion >/dev/null 2>&1; then update_script; else install_script; fi
if [ "$VERB" == "yes" ]; then set -x; fi if [ "$VERB" == "yes" ]; then set -x; fi
if [ "$CT_TYPE" == "1" ]; then if [ "$CT_TYPE" == "1" ]; then

View file

@ -6,7 +6,9 @@
# https://github.com/tteck/Proxmox/raw/main/LICENSE # https://github.com/tteck/Proxmox/raw/main/LICENSE
function header_info { function header_info {
cat <<"EOF" clear
cat <<"EOF"
___ __ __ __ ______ ___ __ __ __ ______
____ ___ ______/ (_)___v5/ /_ ____ ____ / /_______/ /_ ___ / / __/ ____ ___ ______/ (_)___v5/ /_ ____ ____ / /_______/ /_ ___ / / __/
/ __ `/ / / / __ / / __ \/ __ \/ __ \/ __ \/ //_/ ___/ __ \/ _ \/ / /_ / __ `/ / / / __ / / __ \/ __ \/ __ \/ __ \/ //_/ ___/ __ \/ _ \/ / /_
@ -15,7 +17,6 @@ function header_info {
EOF EOF
} }
clear
header_info header_info
echo -e "Loading..." echo -e "Loading..."
APP="audiobookshelf" APP="audiobookshelf"
@ -64,18 +65,17 @@ function msg_error() {
} }
function PVE_CHECK() { function PVE_CHECK() {
PVE=$(pveversion | grep "pve-manager/7" | wc -l) if [ $(pveversion | grep -c "pve-manager/7\.[0-9]") -eq 0 ]; then
if [[ $PVE != 1 ]]; then echo -e "${CROSS} This version of Proxmox Virtual Environment is not supported"
echo -e "${RD}This script requires Proxmox Virtual Environment 7.0 or greater${CL}" echo -e "Requires PVE Version 7.0 or higher"
echo -e "Exiting..." echo -e "Exiting..."
sleep 2 sleep 2
exit exit
fi fi
} }
function ARCH_CHECK() { function ARCH_CHECK() {
ARCH=$(dpkg --print-architecture) if [ "$(dpkg --print-architecture)" != "amd64" ]; then
if [[ "$ARCH" != "amd64" ]]; then echo -e "\n ${CROSS} This script will not work with PiMox! \n"
echo -e "\n ❌ This script will not work with PiMox! \n"
echo -e "Exiting..." echo -e "Exiting..."
sleep 2 sleep 2
exit exit
@ -334,7 +334,6 @@ function install_script() {
} }
function update_script() { function update_script() {
clear
header_info header_info
msg_info "Updating $APP LXC" msg_info "Updating $APP LXC"
apt-get update &>/dev/null apt-get update &>/dev/null
@ -342,8 +341,9 @@ apt-get -y upgrade &>/dev/null
msg_ok "Updated $APP LXC" msg_ok "Updated $APP LXC"
exit exit
} }
clear
ARCH_CHECK ARCH_CHECK
PVE_CHECK
header_info
if ! command -v pveversion >/dev/null 2>&1; then update_script; else install_script; fi if ! command -v pveversion >/dev/null 2>&1; then update_script; else install_script; fi
if [ "$VERB" == "yes" ]; then set -x; fi if [ "$VERB" == "yes" ]; then set -x; fi
if [ "$CT_TYPE" == "1" ]; then if [ "$CT_TYPE" == "1" ]; then

View file

@ -6,7 +6,9 @@
# https://github.com/tteck/Proxmox/raw/main/LICENSE # https://github.com/tteck/Proxmox/raw/main/LICENSE
function header_info { function header_info {
cat <<"EOF" clear
cat <<"EOF"
___ __ __ ___ __ __
/ | __ __/ /_____ / /_v5__________ / | __ __/ /_____ / /_v5__________
/ /| |/ / / / __/ __ \/ __ \/ ___/ ___/ / /| |/ / / / __/ __ \/ __ \/ ___/ ___/
@ -15,7 +17,6 @@ function header_info {
EOF EOF
} }
clear
header_info header_info
echo -e "Loading..." echo -e "Loading..."
APP="Autobrr" APP="Autobrr"
@ -64,18 +65,17 @@ function msg_error() {
} }
function PVE_CHECK() { function PVE_CHECK() {
PVE=$(pveversion | grep "pve-manager/7" | wc -l) if [ $(pveversion | grep -c "pve-manager/7\.[0-9]") -eq 0 ]; then
if [[ $PVE != 1 ]]; then echo -e "${CROSS} This version of Proxmox Virtual Environment is not supported"
echo -e "${RD}This script requires Proxmox Virtual Environment 7.0 or greater${CL}" echo -e "Requires PVE Version 7.0 or higher"
echo -e "Exiting..." echo -e "Exiting..."
sleep 2 sleep 2
exit exit
fi fi
} }
function ARCH_CHECK() { function ARCH_CHECK() {
ARCH=$(dpkg --print-architecture) if [ "$(dpkg --print-architecture)" != "amd64" ]; then
if [[ "$ARCH" != "amd64" ]]; then echo -e "\n ${CROSS} This script will not work with PiMox! \n"
echo -e "\n ❌ This script will not work with PiMox! \n"
echo -e "Exiting..." echo -e "Exiting..."
sleep 2 sleep 2
exit exit
@ -337,7 +337,6 @@ function install_script() {
} }
function update_script() { function update_script() {
clear
header_info header_info
msg_info "Stopping ${APP} LXC" msg_info "Stopping ${APP} LXC"
systemctl stop autobrr.service systemctl stop autobrr.service
@ -356,8 +355,9 @@ msg_ok "Started ${APP} LXC"
msg_ok "Update Successfull" msg_ok "Update Successfull"
exit exit
} }
clear
ARCH_CHECK ARCH_CHECK
PVE_CHECK
header_info
if ! command -v pveversion >/dev/null 2>&1; then update_script; else install_script; fi if ! command -v pveversion >/dev/null 2>&1; then update_script; else install_script; fi
if [ "$VERB" == "yes" ]; then set -x; fi if [ "$VERB" == "yes" ]; then set -x; fi
if [ "$CT_TYPE" == "1" ]; then if [ "$CT_TYPE" == "1" ]; then

View file

@ -6,7 +6,9 @@
# https://github.com/tteck/Proxmox/raw/main/LICENSE # https://github.com/tteck/Proxmox/raw/main/LICENSE
function header_info { function header_info {
cat <<"EOF" clear
cat <<"EOF"
____ __ __ ____ __ __
/ __ )/ /___v5_____/ /____ __ / __ )/ /___v5_____/ /____ __
/ __ / / __ \/ ___/ //_/ / / / / __ / / __ \/ ___/ //_/ / / /
@ -15,7 +17,6 @@ function header_info {
/____/ /____/
EOF EOF
} }
clear
header_info header_info
echo -e "Loading..." echo -e "Loading..."
APP="Blocky" APP="Blocky"
@ -64,18 +65,17 @@ function msg_error() {
} }
function PVE_CHECK() { function PVE_CHECK() {
PVE=$(pveversion | grep "pve-manager/7" | wc -l) if [ $(pveversion | grep -c "pve-manager/7\.[0-9]") -eq 0 ]; then
if [[ $PVE != 1 ]]; then echo -e "${CROSS} This version of Proxmox Virtual Environment is not supported"
echo -e "${RD}This script requires Proxmox Virtual Environment 7.0 or greater${CL}" echo -e "Requires PVE Version 7.0 or higher"
echo -e "Exiting..." echo -e "Exiting..."
sleep 2 sleep 2
exit exit
fi fi
} }
function ARCH_CHECK() { function ARCH_CHECK() {
ARCH=$(dpkg --print-architecture) if [ "$(dpkg --print-architecture)" != "amd64" ]; then
if [[ "$ARCH" != "amd64" ]]; then echo -e "\n ${CROSS} This script will not work with PiMox! \n"
echo -e "\n ❌ This script will not work with PiMox! \n"
echo -e "Exiting..." echo -e "Exiting..."
sleep 2 sleep 2
exit exit
@ -338,7 +338,6 @@ function install_script() {
} }
function update_script() { function update_script() {
clear
header_info header_info
msg_info "Updating ${APP} LXC" msg_info "Updating ${APP} LXC"
apt-get update &>/dev/null apt-get update &>/dev/null
@ -347,8 +346,9 @@ msg_ok "Updated ${APP} LXC"
msg_ok "Update Successfull" msg_ok "Update Successfull"
exit exit
} }
clear
ARCH_CHECK ARCH_CHECK
PVE_CHECK
header_info
if ! command -v pveversion >/dev/null 2>&1; then update_script; else install_script; fi if ! command -v pveversion >/dev/null 2>&1; then update_script; else install_script; fi
if [ "$VERB" == "yes" ]; then set -x; fi if [ "$VERB" == "yes" ]; then set -x; fi
if [ "$CT_TYPE" == "1" ]; then if [ "$CT_TYPE" == "1" ]; then

View file

@ -6,7 +6,9 @@
# https://github.com/tteck/Proxmox/raw/main/LICENSE # https://github.com/tteck/Proxmox/raw/main/LICENSE
function header_info { function header_info {
cat <<"EOF" clear
cat <<"EOF"
______ ____ _____ ______ ____ _____
/ ____/___ __v5______ _/ __ \/ ___/ / ____/___ __v5______ _/ __ \/ ___/
/ / / __ `/ ___/ __ `/ / / /\__ \ / / / __ `/ ___/ __ `/ / / /\__ \
@ -15,7 +17,6 @@ function header_info {
EOF EOF
} }
clear
header_info header_info
echo -e "Loading..." echo -e "Loading..."
APP="CasaOS" APP="CasaOS"
@ -64,18 +65,17 @@ function msg_error() {
} }
function PVE_CHECK() { function PVE_CHECK() {
PVE=$(pveversion | grep "pve-manager/7" | wc -l) if [ $(pveversion | grep -c "pve-manager/7\.[0-9]") -eq 0 ]; then
if [[ $PVE != 1 ]]; then echo -e "${CROSS} This version of Proxmox Virtual Environment is not supported"
echo -e "${RD}This script requires Proxmox Virtual Environment 7.0 or greater${CL}" echo -e "Requires PVE Version 7.0 or higher"
echo -e "Exiting..." echo -e "Exiting..."
sleep 2 sleep 2
exit exit
fi fi
} }
function ARCH_CHECK() { function ARCH_CHECK() {
ARCH=$(dpkg --print-architecture) if [ "$(dpkg --print-architecture)" != "amd64" ]; then
if [[ "$ARCH" != "amd64" ]]; then echo -e "\n ${CROSS} This script will not work with PiMox! \n"
echo -e "\n ❌ This script will not work with PiMox! \n"
echo -e "Exiting..." echo -e "Exiting..."
sleep 2 sleep 2
exit exit
@ -346,7 +346,6 @@ function install_script() {
fi fi
} }
function update_script() { function update_script() {
clear
header_info header_info
msg_info "Updating ${APP} LXC" msg_info "Updating ${APP} LXC"
apt-get update &>/dev/null apt-get update &>/dev/null
@ -356,8 +355,9 @@ msg_ok "Update Successfull"
exit exit
} }
clear
ARCH_CHECK ARCH_CHECK
PVE_CHECK
header_info
if ! command -v pveversion >/dev/null 2>&1; then update_script; else install_script; fi if ! command -v pveversion >/dev/null 2>&1; then update_script; else install_script; fi
if [ "$VERB" == "yes" ]; then set -x; fi if [ "$VERB" == "yes" ]; then set -x; fi
if [ "$FUSE" == "yes" ]; then if [ "$FUSE" == "yes" ]; then

View file

@ -6,7 +6,9 @@
# https://github.com/tteck/Proxmox/raw/main/LICENSE # https://github.com/tteck/Proxmox/raw/main/LICENSE
function header_info { function header_info {
cat <<"EOF" clear
cat <<"EOF"
________ ____ __ __ _ ________ ____ __ __ _
/ ____/ /_v5____ _____ ____ ____ / __ \___ / /____ _____/ /_(_)___ ____ / ____/ /_v5____ _____ ____ ____ / __ \___ / /____ _____/ /_(_)___ ____
/ / / __ \/ __ `/ __ \/ __ `/ _ \ / / / / _ \/ __/ _ \/ ___/ __/ / __ \/ __ \ / / / __ \/ __ `/ __ \/ __ `/ _ \ / / / / _ \/ __/ _ \/ ___/ __/ / __ \/ __ \
@ -15,7 +17,6 @@ function header_info {
/____/ /____/
EOF EOF
} }
clear
header_info header_info
echo -e "Loading..." echo -e "Loading..."
APP="Change Detection" APP="Change Detection"
@ -64,18 +65,17 @@ function msg_error() {
} }
function PVE_CHECK() { function PVE_CHECK() {
PVE=$(pveversion | grep "pve-manager/7" | wc -l) if [ $(pveversion | grep -c "pve-manager/7\.[0-9]") -eq 0 ]; then
if [[ $PVE != 1 ]]; then echo -e "${CROSS} This version of Proxmox Virtual Environment is not supported"
echo -e "${RD}This script requires Proxmox Virtual Environment 7.0 or greater${CL}" echo -e "Requires PVE Version 7.0 or higher"
echo -e "Exiting..." echo -e "Exiting..."
sleep 2 sleep 2
exit exit
fi fi
} }
function ARCH_CHECK() { function ARCH_CHECK() {
ARCH=$(dpkg --print-architecture) if [ "$(dpkg --print-architecture)" != "amd64" ]; then
if [[ "$ARCH" != "amd64" ]]; then echo -e "\n ${CROSS} This script will not work with PiMox! \n"
echo -e "\n ❌ This script will not work with PiMox! \n"
echo -e "Exiting..." echo -e "Exiting..."
sleep 2 sleep 2
exit exit
@ -338,7 +338,6 @@ function install_script() {
} }
function update_script() { function update_script() {
clear
header_info header_info
msg_info "Updating ${APP} LXC" msg_info "Updating ${APP} LXC"
pip3 install changedetection.io --upgrade &>/dev/null pip3 install changedetection.io --upgrade &>/dev/null
@ -346,8 +345,9 @@ msg_ok "Updated ${APP} LXC"
msg_ok "Update Successfull" msg_ok "Update Successfull"
exit exit
} }
clear
ARCH_CHECK ARCH_CHECK
PVE_CHECK
header_info
if ! command -v pveversion >/dev/null 2>&1; then update_script; else install_script; fi if ! command -v pveversion >/dev/null 2>&1; then update_script; else install_script; fi
if [ "$VERB" == "yes" ]; then set -x; fi if [ "$VERB" == "yes" ]; then set -x; fi
if [ "$CT_TYPE" == "1" ]; then if [ "$CT_TYPE" == "1" ]; then

View file

@ -6,7 +6,9 @@
# https://github.com/tteck/Proxmox/raw/main/LICENSE # https://github.com/tteck/Proxmox/raw/main/LICENSE
function header_info { function header_info {
cat <<"EOF" clear
cat <<"EOF"
______ _ __ ______ _ __
/ ____/________v5____ (_)____/ /__ / ____/________v5____ (_)____/ /__
/ / / ___/ __ \/ __ \/ / ___/ / _ \ / / / ___/ __ \/ __ \/ / ___/ / _ \
@ -15,7 +17,6 @@ function header_info {
EOF EOF
} }
clear
header_info header_info
echo -e "Loading..." echo -e "Loading..."
APP="Cronicle" APP="Cronicle"
@ -65,18 +66,17 @@ function msg_error() {
} }
function PVE_CHECK() { function PVE_CHECK() {
PVE=$(pveversion | grep "pve-manager/7" | wc -l) if [ $(pveversion | grep -c "pve-manager/7\.[0-9]") -eq 0 ]; then
if [[ $PVE != 1 ]]; then echo -e "${CROSS} This version of Proxmox Virtual Environment is not supported"
echo -e "${RD}This script requires Proxmox Virtual Environment 7.0 or greater${CL}" echo -e "Requires PVE Version 7.0 or higher"
echo -e "Exiting..." echo -e "Exiting..."
sleep 2 sleep 2
exit exit
fi fi
} }
function ARCH_CHECK() { function ARCH_CHECK() {
ARCH=$(dpkg --print-architecture) if [ "$(dpkg --print-architecture)" != "amd64" ]; then
if [[ "$ARCH" != "amd64" ]]; then echo -e "\n ${CROSS} This script will not work with PiMox! \n"
echo -e "\n ❌ This script will not work with PiMox! \n"
echo -e "Exiting..." echo -e "Exiting..."
sleep 2 sleep 2
exit exit
@ -341,7 +341,6 @@ UPD=$(whiptail --title "SUPPORT" --radiolist --cancel-button Exit-Script "Spaceb
"2" "Install ${APP} Worker" OFF \ "2" "Install ${APP} Worker" OFF \
3>&1 1>&2 2>&3) 3>&1 1>&2 2>&3)
clear
header_info header_info
if [ "$UPD" == "1" ]; then if [ "$UPD" == "1" ]; then
if [[ ! -d /opt/cronicle ]]; then if [[ ! -d /opt/cronicle ]]; then
@ -393,8 +392,9 @@ exit
fi fi
} }
clear
ARCH_CHECK ARCH_CHECK
PVE_CHECK
header_info
if ! command -v pveversion >/dev/null 2>&1; then update_script; else install_script; fi if ! command -v pveversion >/dev/null 2>&1; then update_script; else install_script; fi
if [ "$VERB" == "yes" ]; then set -x; fi if [ "$VERB" == "yes" ]; then set -x; fi
if [ "$CT_TYPE" == "1" ]; then if [ "$CT_TYPE" == "1" ]; then

View file

@ -6,7 +6,9 @@
# https://github.com/tteck/Proxmox/raw/main/LICENSE # https://github.com/tteck/Proxmox/raw/main/LICENSE
function header_info { function header_info {
cat <<"EOF" clear
cat <<"EOF"
____ _____ ____ _____
/ __ \____ ____ ____ ___ ____ ____ / ___/__v5______ _____ / __ \____ ____ ____ ___ ____ ____ / ___/__v5______ _____
/ / / / __ / _ \/ __ __ \/ __ \/ __ \ \__ \/ / / / __ \/ ___/ / / / / __ / _ \/ __ __ \/ __ \/ __ \ \__ \/ / / / __ \/ ___/
@ -15,7 +17,6 @@ function header_info {
/____/ /____/
EOF EOF
} }
clear
header_info header_info
echo -e "Loading..." echo -e "Loading..."
APP="Daemon Sync" APP="Daemon Sync"
@ -64,18 +65,17 @@ function msg_error() {
} }
function PVE_CHECK() { function PVE_CHECK() {
PVE=$(pveversion | grep "pve-manager/7" | wc -l) if [ $(pveversion | grep -c "pve-manager/7\.[0-9]") -eq 0 ]; then
if [[ $PVE != 1 ]]; then echo -e "${CROSS} This version of Proxmox Virtual Environment is not supported"
echo -e "${RD}This script requires Proxmox Virtual Environment 7.0 or greater${CL}" echo -e "Requires PVE Version 7.0 or higher"
echo -e "Exiting..." echo -e "Exiting..."
sleep 2 sleep 2
exit exit
fi fi
} }
function ARCH_CHECK() { function ARCH_CHECK() {
ARCH=$(dpkg --print-architecture) if [ "$(dpkg --print-architecture)" != "amd64" ]; then
if [[ "$ARCH" != "amd64" ]]; then echo -e "\n ${CROSS} This script will not work with PiMox! \n"
echo -e "\n ❌ This script will not work with PiMox! \n"
echo -e "Exiting..." echo -e "Exiting..."
sleep 2 sleep 2
exit exit
@ -338,7 +338,6 @@ function install_script() {
} }
function update_script() { function update_script() {
clear
header_info header_info
msg_info "Updating ${APP} LXC" msg_info "Updating ${APP} LXC"
apt-get update &>/dev/null apt-get update &>/dev/null
@ -347,8 +346,9 @@ msg_ok "Updated ${APP} LXC"
msg_ok "Update Successfull" msg_ok "Update Successfull"
exit exit
} }
clear
ARCH_CHECK ARCH_CHECK
PVE_CHECK
header_info
if ! command -v pveversion >/dev/null 2>&1; then update_script; else install_script; fi if ! command -v pveversion >/dev/null 2>&1; then update_script; else install_script; fi
if [ "$VERB" == "yes" ]; then set -x; fi if [ "$VERB" == "yes" ]; then set -x; fi
if [ "$CT_TYPE" == "1" ]; then if [ "$CT_TYPE" == "1" ]; then

View file

@ -6,7 +6,9 @@
# https://github.com/tteck/Proxmox/raw/main/LICENSE # https://github.com/tteck/Proxmox/raw/main/LICENSE
function header_info { function header_info {
cat <<"EOF" clear
cat <<"EOF"
____ __ ____ __
/ __ \____ ______/ /_ __ __ / __ \____ ______/ /_ __ __
/ / / / __ / ___/ __ \/ / / / / / / / __ / ___/ __ \/ / / /
@ -15,7 +17,6 @@ function header_info {
v5 /____/ v5 /____/
EOF EOF
} }
clear
header_info header_info
echo -e "Loading..." echo -e "Loading..."
APP="Dashy" APP="Dashy"
@ -64,18 +65,17 @@ function msg_error() {
} }
function PVE_CHECK() { function PVE_CHECK() {
PVE=$(pveversion | grep "pve-manager/7" | wc -l) if [ $(pveversion | grep -c "pve-manager/7\.[0-9]") -eq 0 ]; then
if [[ $PVE != 1 ]]; then echo -e "${CROSS} This version of Proxmox Virtual Environment is not supported"
echo -e "${RD}This script requires Proxmox Virtual Environment 7.0 or greater${CL}" echo -e "Requires PVE Version 7.0 or higher"
echo -e "Exiting..." echo -e "Exiting..."
sleep 2 sleep 2
exit exit
fi fi
} }
function ARCH_CHECK() { function ARCH_CHECK() {
ARCH=$(dpkg --print-architecture) if [ "$(dpkg --print-architecture)" != "amd64" ]; then
if [[ "$ARCH" != "amd64" ]]; then echo -e "\n ${CROSS} This script will not work with PiMox! \n"
echo -e "\n ❌ This script will not work with PiMox! \n"
echo -e "Exiting..." echo -e "Exiting..."
sleep 2 sleep 2
exit exit
@ -338,7 +338,6 @@ function install_script() {
} }
function update_script() { function update_script() {
clear
header_info header_info
msg_info "Stopping ${APP}" msg_info "Stopping ${APP}"
systemctl stop dashy systemctl stop dashy
@ -373,8 +372,9 @@ msg_ok "Update Successfull"
exit exit
} }
clear
ARCH_CHECK ARCH_CHECK
PVE_CHECK
header_info
if ! command -v pveversion >/dev/null 2>&1; then update_script; else install_script; fi if ! command -v pveversion >/dev/null 2>&1; then update_script; else install_script; fi
if [ "$VERB" == "yes" ]; then set -x; fi if [ "$VERB" == "yes" ]; then set -x; fi
if [ "$CT_TYPE" == "1" ]; then if [ "$CT_TYPE" == "1" ]; then

View file

@ -6,7 +6,9 @@
# https://github.com/tteck/Proxmox/raw/main/LICENSE # https://github.com/tteck/Proxmox/raw/main/LICENSE
function header_info { function header_info {
cat <<"EOF" clear
cat <<"EOF"
____ __ _ ____ __ _
/ __ \___v5/ /_ (_)___ _____ / __ \___v5/ /_ (_)___ _____
/ / / / _ \/ __ \/ / __ `/ __ \ / / / / _ \/ __ \/ / __ `/ __ \
@ -15,7 +17,6 @@ function header_info {
EOF EOF
} }
clear
header_info header_info
echo -e "Loading..." echo -e "Loading..."
APP="Debian" APP="Debian"
@ -64,18 +65,17 @@ function msg_error() {
} }
function PVE_CHECK() { function PVE_CHECK() {
PVE=$(pveversion | grep "pve-manager/7" | wc -l) if [ $(pveversion | grep -c "pve-manager/7\.[0-9]") -eq 0 ]; then
if [[ $PVE != 1 ]]; then echo -e "${CROSS} This version of Proxmox Virtual Environment is not supported"
echo -e "${RD}This script requires Proxmox Virtual Environment 7.0 or greater${CL}" echo -e "Requires PVE Version 7.0 or higher"
echo -e "Exiting..." echo -e "Exiting..."
sleep 2 sleep 2
exit exit
fi fi
} }
function ARCH_CHECK() { function ARCH_CHECK() {
ARCH=$(dpkg --print-architecture) if [ "$(dpkg --print-architecture)" != "amd64" ]; then
if [[ "$ARCH" != "amd64" ]]; then echo -e "\n ${CROSS} This script will not work with PiMox! \n"
echo -e "\n ❌ This script will not work with PiMox! \n"
echo -e "Exiting..." echo -e "Exiting..."
sleep 2 sleep 2
exit exit
@ -334,7 +334,6 @@ function install_script() {
} }
function update_script() { function update_script() {
clear
header_info header_info
msg_info "Updating $APP LXC" msg_info "Updating $APP LXC"
apt-get update &>/dev/null apt-get update &>/dev/null
@ -342,8 +341,9 @@ apt-get -y upgrade &>/dev/null
msg_ok "Updated $APP LXC" msg_ok "Updated $APP LXC"
exit exit
} }
clear
ARCH_CHECK ARCH_CHECK
PVE_CHECK
header_info
if ! command -v pveversion >/dev/null 2>&1; then update_script; else install_script; fi if ! command -v pveversion >/dev/null 2>&1; then update_script; else install_script; fi
if [ "$VERB" == "yes" ]; then set -x; fi if [ "$VERB" == "yes" ]; then set -x; fi
if [ "$CT_TYPE" == "1" ]; then if [ "$CT_TYPE" == "1" ]; then

View file

@ -6,7 +6,9 @@
# https://github.com/tteck/Proxmox/raw/main/LICENSE # https://github.com/tteck/Proxmox/raw/main/LICENSE
function header_info { function header_info {
cat <<"EOF" clear
cat <<"EOF"
__ __________ _ _______ __ __________ _ _______
____/ /v5 / ____/ __ \/ | / /__ / ____/ /v5 / ____/ __ \/ | / /__ /
/ __ / _ \/ / / / / / |/ / / / / __ / _ \/ / / / / / |/ / / /
@ -15,7 +17,6 @@ function header_info {
EOF EOF
} }
clear
header_info header_info
echo -e "Loading..." echo -e "Loading..."
APP="deCONZ" APP="deCONZ"
@ -64,18 +65,17 @@ function msg_error() {
} }
function PVE_CHECK() { function PVE_CHECK() {
PVE=$(pveversion | grep "pve-manager/7" | wc -l) if [ $(pveversion | grep -c "pve-manager/7\.[0-9]") -eq 0 ]; then
if [[ $PVE != 1 ]]; then echo -e "${CROSS} This version of Proxmox Virtual Environment is not supported"
echo -e "${RD}This script requires Proxmox Virtual Environment 7.0 or greater${CL}" echo -e "Requires PVE Version 7.0 or higher"
echo -e "Exiting..." echo -e "Exiting..."
sleep 2 sleep 2
exit exit
fi fi
} }
function ARCH_CHECK() { function ARCH_CHECK() {
ARCH=$(dpkg --print-architecture) if [ "$(dpkg --print-architecture)" != "amd64" ]; then
if [[ "$ARCH" != "amd64" ]]; then echo -e "\n ${CROSS} This script will not work with PiMox! \n"
echo -e "\n ❌ This script will not work with PiMox! \n"
echo -e "Exiting..." echo -e "Exiting..."
sleep 2 sleep 2
exit exit
@ -339,7 +339,6 @@ function install_script() {
} }
function update_script() { function update_script() {
clear
header_info header_info
msg_info "Updating ${APP} LXC" msg_info "Updating ${APP} LXC"
apt-get update &>/dev/null apt-get update &>/dev/null
@ -348,8 +347,9 @@ msg_ok "Updated ${APP} LXC"
msg_ok "Update Successfull" msg_ok "Update Successfull"
exit exit
} }
clear
ARCH_CHECK ARCH_CHECK
PVE_CHECK
header_info
if ! command -v pveversion >/dev/null 2>&1; then update_script; else install_script; fi if ! command -v pveversion >/dev/null 2>&1; then update_script; else install_script; fi
if [ "$VERB" == "yes" ]; then set -x; fi if [ "$VERB" == "yes" ]; then set -x; fi
if [ "$CT_TYPE" == "1" ]; then if [ "$CT_TYPE" == "1" ]; then

View file

@ -6,7 +6,9 @@
# https://github.com/tteck/Proxmox/raw/main/LICENSE # https://github.com/tteck/Proxmox/raw/main/LICENSE
function header_info { function header_info {
cat <<"EOF" clear
cat <<"EOF"
____ __ ____ __
/ __ \___ / /_v5______ ____ / __ \___ / /_v5______ ____
/ / / / _ \/ / / / / __ `/ _ \ / / / / _ \/ / / / / __ `/ _ \
@ -16,7 +18,6 @@ function header_info {
EOF EOF
} }
clear
header_info header_info
echo -e "Loading..." echo -e "Loading..."
APP="Deluge" APP="Deluge"
@ -65,18 +66,17 @@ function msg_error() {
} }
function PVE_CHECK() { function PVE_CHECK() {
PVE=$(pveversion | grep "pve-manager/7" | wc -l) if [ $(pveversion | grep -c "pve-manager/7\.[0-9]") -eq 0 ]; then
if [[ $PVE != 1 ]]; then echo -e "${CROSS} This version of Proxmox Virtual Environment is not supported"
echo -e "${RD}This script requires Proxmox Virtual Environment 7.0 or greater${CL}" echo -e "Requires PVE Version 7.0 or higher"
echo -e "Exiting..." echo -e "Exiting..."
sleep 2 sleep 2
exit exit
fi fi
} }
function ARCH_CHECK() { function ARCH_CHECK() {
ARCH=$(dpkg --print-architecture) if [ "$(dpkg --print-architecture)" != "amd64" ]; then
if [[ "$ARCH" != "amd64" ]]; then echo -e "\n ${CROSS} This script will not work with PiMox! \n"
echo -e "\n ❌ This script will not work with PiMox! \n"
echo -e "Exiting..." echo -e "Exiting..."
sleep 2 sleep 2
exit exit
@ -335,7 +335,6 @@ function install_script() {
} }
function update_script() { function update_script() {
clear
header_info header_info
msg_info "Updating $APP LXC" msg_info "Updating $APP LXC"
apt-get update &>/dev/null apt-get update &>/dev/null
@ -343,8 +342,9 @@ apt-get -y upgrade &>/dev/null
msg_ok "Updated $APP LXC" msg_ok "Updated $APP LXC"
exit exit
} }
clear
ARCH_CHECK ARCH_CHECK
PVE_CHECK
header_info
if ! command -v pveversion >/dev/null 2>&1; then update_script; else install_script; fi if ! command -v pveversion >/dev/null 2>&1; then update_script; else install_script; fi
if [ "$VERB" == "yes" ]; then set -x; fi if [ "$VERB" == "yes" ]; then set -x; fi
if [ "$CT_TYPE" == "1" ]; then if [ "$CT_TYPE" == "1" ]; then

View file

@ -6,7 +6,9 @@
# https://github.com/tteck/Proxmox/raw/main/LICENSE # https://github.com/tteck/Proxmox/raw/main/LICENSE
function header_info { function header_info {
cat <<"EOF" clear
cat <<"EOF"
____ ____
/ __ \___ _ ____ ______v5____ / __ \___ _ ____ ______v5____
/ / / / _ \ | / / / / / __ `/ __ \ / / / / _ \ | / / / / / __ `/ __ \
@ -15,7 +17,6 @@ function header_info {
EOF EOF
} }
clear
header_info header_info
echo -e "Loading..." echo -e "Loading..."
APP="Devuan" APP="Devuan"
@ -64,18 +65,17 @@ function msg_error() {
} }
function PVE_CHECK() { function PVE_CHECK() {
PVE=$(pveversion | grep "pve-manager/7" | wc -l) if [ $(pveversion | grep -c "pve-manager/7\.[0-9]") -eq 0 ]; then
if [[ $PVE != 1 ]]; then echo -e "${CROSS} This version of Proxmox Virtual Environment is not supported"
echo -e "${RD}This script requires Proxmox Virtual Environment 7.0 or greater${CL}" echo -e "Requires PVE Version 7.0 or higher"
echo -e "Exiting..." echo -e "Exiting..."
sleep 2 sleep 2
exit exit
fi fi
} }
function ARCH_CHECK() { function ARCH_CHECK() {
ARCH=$(dpkg --print-architecture) if [ "$(dpkg --print-architecture)" != "amd64" ]; then
if [[ "$ARCH" != "amd64" ]]; then echo -e "\n ${CROSS} This script will not work with PiMox! \n"
echo -e "\n ❌ This script will not work with PiMox! \n"
echo -e "Exiting..." echo -e "Exiting..."
sleep 2 sleep 2
exit exit
@ -334,7 +334,6 @@ function install_script() {
} }
function update_script() { function update_script() {
clear
header_info header_info
msg_info "Updating $APP LXC" msg_info "Updating $APP LXC"
apt-get update &>/dev/null apt-get update &>/dev/null
@ -342,8 +341,9 @@ apt-get -y upgrade &>/dev/null
msg_ok "Updated $APP LXC" msg_ok "Updated $APP LXC"
exit exit
} }
clear
ARCH_CHECK ARCH_CHECK
PVE_CHECK
header_info
if ! command -v pveversion >/dev/null 2>&1; then update_script; else install_script; fi if ! command -v pveversion >/dev/null 2>&1; then update_script; else install_script; fi
if [ "$VERB" == "yes" ]; then set -x; fi if [ "$VERB" == "yes" ]; then set -x; fi
if [ "$CT_TYPE" == "1" ]; then if [ "$CT_TYPE" == "1" ]; then

View file

@ -6,7 +6,9 @@
# https://github.com/tteck/Proxmox/raw/main/LICENSE # https://github.com/tteck/Proxmox/raw/main/LICENSE
function header_info { function header_info {
cat <<"EOF" clear
cat <<"EOF"
____ __ ____ __
/ __ \____ _____/ /_v5__ _____ / __ \____ _____/ /_v5__ _____
/ / / / __ \/ ___/ //_/ _ \/ ___/ / / / / __ \/ ___/ //_/ _ \/ ___/
@ -15,7 +17,6 @@ function header_info {
EOF EOF
} }
clear
header_info header_info
echo -e "Loading..." echo -e "Loading..."
APP="Docker" APP="Docker"
@ -64,18 +65,17 @@ function msg_error() {
} }
function PVE_CHECK() { function PVE_CHECK() {
PVE=$(pveversion | grep "pve-manager/7" | wc -l) if [ $(pveversion | grep -c "pve-manager/7\.[0-9]") -eq 0 ]; then
if [[ $PVE != 1 ]]; then echo -e "${CROSS} This version of Proxmox Virtual Environment is not supported"
echo -e "${RD}This script requires Proxmox Virtual Environment 7.0 or greater${CL}" echo -e "Requires PVE Version 7.0 or higher"
echo -e "Exiting..." echo -e "Exiting..."
sleep 2 sleep 2
exit exit
fi fi
} }
function ARCH_CHECK() { function ARCH_CHECK() {
ARCH=$(dpkg --print-architecture) if [ "$(dpkg --print-architecture)" != "amd64" ]; then
if [[ "$ARCH" != "amd64" ]]; then echo -e "\n ${CROSS} This script will not work with PiMox! \n"
echo -e "\n ❌ This script will not work with PiMox! \n"
echo -e "Exiting..." echo -e "Exiting..."
sleep 2 sleep 2
exit exit
@ -345,7 +345,6 @@ function install_script() {
fi fi
} }
function update_script() { function update_script() {
clear
header_info header_info
msg_info "Updating ${APP} LXC" msg_info "Updating ${APP} LXC"
apt-get update &>/dev/null apt-get update &>/dev/null
@ -353,8 +352,9 @@ apt-get -y upgrade &>/dev/null
msg_ok "Updated ${APP} LXC" msg_ok "Updated ${APP} LXC"
exit exit
} }
clear
ARCH_CHECK ARCH_CHECK
PVE_CHECK
header_info
if ! command -v pveversion >/dev/null 2>&1; then update_script; else install_script; fi if ! command -v pveversion >/dev/null 2>&1; then update_script; else install_script; fi
if [ "$VERB" == "yes" ]; then set -x; fi if [ "$VERB" == "yes" ]; then set -x; fi
if [ "$FUSE" == "yes" ]; then if [ "$FUSE" == "yes" ]; then

View file

@ -6,7 +6,9 @@
# https://github.com/tteck/Proxmox/raw/main/LICENSE # https://github.com/tteck/Proxmox/raw/main/LICENSE
function header_info { function header_info {
cat <<"EOF" clear
cat <<"EOF"
______ __ ______ __
/ ____/___ v5_ / /_ __ __ / ____/___ v5_ / /_ __ __
/ __/ / __ __ \/ __ \/ / / / / __/ / __ __ \/ __ \/ / / /
@ -15,7 +17,6 @@ function header_info {
/____/ /____/
EOF EOF
} }
clear
header_info header_info
echo -e "Loading..." echo -e "Loading..."
APP="Emby" APP="Emby"
@ -64,18 +65,17 @@ function msg_error() {
} }
function PVE_CHECK() { function PVE_CHECK() {
PVE=$(pveversion | grep "pve-manager/7" | wc -l) if [ $(pveversion | grep -c "pve-manager/7\.[0-9]") -eq 0 ]; then
if [[ $PVE != 1 ]]; then echo -e "${CROSS} This version of Proxmox Virtual Environment is not supported"
echo -e "${RD}This script requires Proxmox Virtual Environment 7.0 or greater${CL}" echo -e "Requires PVE Version 7.0 or higher"
echo -e "Exiting..." echo -e "Exiting..."
sleep 2 sleep 2
exit exit
fi fi
} }
function ARCH_CHECK() { function ARCH_CHECK() {
ARCH=$(dpkg --print-architecture) if [ "$(dpkg --print-architecture)" != "amd64" ]; then
if [[ "$ARCH" != "amd64" ]]; then echo -e "\n ${CROSS} This script will not work with PiMox! \n"
echo -e "\n ❌ This script will not work with PiMox! \n"
echo -e "Exiting..." echo -e "Exiting..."
sleep 2 sleep 2
exit exit
@ -346,7 +346,6 @@ function install_script() {
fi fi
} }
function update_script() { function update_script() {
clear
header_info header_info
LATEST=$(curl -sL https://api.github.com/repos/MediaBrowser/Emby.Releases/releases/latest | grep '"tag_name":' | cut -d'"' -f4) LATEST=$(curl -sL https://api.github.com/repos/MediaBrowser/Emby.Releases/releases/latest | grep '"tag_name":' | cut -d'"' -f4)
msg_info "Stopping ${APP}" msg_info "Stopping ${APP}"
@ -366,8 +365,9 @@ msg_ok "Update Successfull"
exit exit
} }
clear
ARCH_CHECK ARCH_CHECK
PVE_CHECK
header_info
if ! command -v pveversion >/dev/null 2>&1; then update_script; else install_script; fi if ! command -v pveversion >/dev/null 2>&1; then update_script; else install_script; fi
if [ "$VERB" == "yes" ]; then set -x; fi if [ "$VERB" == "yes" ]; then set -x; fi
if [ "$CT_TYPE" == "1" ]; then if [ "$CT_TYPE" == "1" ]; then

View file

@ -6,7 +6,9 @@
# https://github.com/tteck/Proxmox/raw/main/LICENSE # https://github.com/tteck/Proxmox/raw/main/LICENSE
function header_info { function header_info {
cat <<"EOF" clear
cat <<"EOF"
________ _______v5 _ __ ________ _______v5 _ __
/ ____/ |/ / __ \ | |/ / / ____/ |/ / __ \ | |/ /
/ __/ / /|_/ / / / / | / / __/ / /|_/ / / / / | /
@ -15,7 +17,6 @@ function header_info {
EOF EOF
} }
clear
header_info header_info
echo -e "Loading..." echo -e "Loading..."
APP="EMQX" APP="EMQX"
@ -64,18 +65,17 @@ function msg_error() {
} }
function PVE_CHECK() { function PVE_CHECK() {
PVE=$(pveversion | grep "pve-manager/7" | wc -l) if [ $(pveversion | grep -c "pve-manager/7\.[0-9]") -eq 0 ]; then
if [[ $PVE != 1 ]]; then echo -e "${CROSS} This version of Proxmox Virtual Environment is not supported"
echo -e "${RD}This script requires Proxmox Virtual Environment 7.0 or greater${CL}" echo -e "Requires PVE Version 7.0 or higher"
echo -e "Exiting..." echo -e "Exiting..."
sleep 2 sleep 2
exit exit
fi fi
} }
function ARCH_CHECK() { function ARCH_CHECK() {
ARCH=$(dpkg --print-architecture) if [ "$(dpkg --print-architecture)" != "amd64" ]; then
if [[ "$ARCH" != "amd64" ]]; then echo -e "\n ${CROSS} This script will not work with PiMox! \n"
echo -e "\n ❌ This script will not work with PiMox! \n"
echo -e "Exiting..." echo -e "Exiting..."
sleep 2 sleep 2
exit exit
@ -338,7 +338,6 @@ function install_script() {
} }
function update_script() { function update_script() {
clear
header_info header_info
msg_info "Updating ${APP} LXC" msg_info "Updating ${APP} LXC"
apt-get update &>/dev/null apt-get update &>/dev/null
@ -346,8 +345,9 @@ apt-get -y upgrade &>/dev/null
msg_ok "Updated ${APP} LXC" msg_ok "Updated ${APP} LXC"
exit exit
} }
clear
ARCH_CHECK ARCH_CHECK
PVE_CHECK
header_info
if ! command -v pveversion >/dev/null 2>&1; then update_script; else install_script; fi if ! command -v pveversion >/dev/null 2>&1; then update_script; else install_script; fi
if [ "$VERB" == "yes" ]; then set -x; fi if [ "$VERB" == "yes" ]; then set -x; fi
if [ "$CT_TYPE" == "1" ]; then if [ "$CT_TYPE" == "1" ]; then

View file

@ -6,7 +6,9 @@
# https://github.com/tteck/Proxmox/raw/main/LICENSE # https://github.com/tteck/Proxmox/raw/main/LICENSE
function header_info { function header_info {
cat <<"EOF" clear
cat <<"EOF"
___________ ____ __ __ ___________ ____ __ __
/ ____/ ___// __ \/ / / /___v5____ ___ ___ / ____/ ___// __ \/ / / /___v5____ ___ ___
/ __/ \__ \/ /_/ / /_/ / __ \/ __ `__ \/ _ \ / __/ \__ \/ /_/ / /_/ / __ \/ __ `__ \/ _ \
@ -15,7 +17,6 @@ function header_info {
EOF EOF
} }
clear
header_info header_info
echo -e "Loading..." echo -e "Loading..."
APP="ESPHome" APP="ESPHome"
@ -64,18 +65,17 @@ function msg_error() {
} }
function PVE_CHECK() { function PVE_CHECK() {
PVE=$(pveversion | grep "pve-manager/7" | wc -l) if [ $(pveversion | grep -c "pve-manager/7\.[0-9]") -eq 0 ]; then
if [[ $PVE != 1 ]]; then echo -e "${CROSS} This version of Proxmox Virtual Environment is not supported"
echo -e "${RD}This script requires Proxmox Virtual Environment 7.0 or greater${CL}" echo -e "Requires PVE Version 7.0 or higher"
echo -e "Exiting..." echo -e "Exiting..."
sleep 2 sleep 2
exit exit
fi fi
} }
function ARCH_CHECK() { function ARCH_CHECK() {
ARCH=$(dpkg --print-architecture) if [ "$(dpkg --print-architecture)" != "amd64" ]; then
if [[ "$ARCH" != "amd64" ]]; then echo -e "\n ${CROSS} This script will not work with PiMox! \n"
echo -e "\n ❌ This script will not work with PiMox! \n"
echo -e "Exiting..." echo -e "Exiting..."
sleep 2 sleep 2
exit exit
@ -337,7 +337,6 @@ function install_script() {
fi fi
} }
function update_script() { function update_script() {
clear
header_info header_info
msg_info "Stopping ESPHome" msg_info "Stopping ESPHome"
systemctl stop esphomeDashboard systemctl stop esphomeDashboard
@ -353,8 +352,9 @@ msg_ok "Started ESPHome"
msg_ok "Update Successfull" msg_ok "Update Successfull"
exit exit
} }
clear
ARCH_CHECK ARCH_CHECK
PVE_CHECK
header_info
if ! command -v pveversion >/dev/null 2>&1; then update_script; else install_script; fi if ! command -v pveversion >/dev/null 2>&1; then update_script; else install_script; fi
if [ "$VERB" == "yes" ]; then set -x; fi if [ "$VERB" == "yes" ]; then set -x; fi
if [ "$CT_TYPE" == "1" ]; then if [ "$CT_TYPE" == "1" ]; then

View file

@ -6,7 +6,9 @@
# https://github.com/tteck/Proxmox/raw/main/LICENSE # https://github.com/tteck/Proxmox/raw/main/LICENSE
function header_info { function header_info {
cat <<"EOF" clear
cat <<"EOF"
______ ____ ______ ____
/ ____/________ _/ __/___ _____v5____ _ / ____/________ _/ __/___ _____v5____ _
/ / __/ ___/ __ / /_/ __ / __ \/ __ / / / __/ ___/ __ / /_/ __ / __ \/ __ /
@ -15,7 +17,6 @@ function header_info {
EOF EOF
} }
clear
header_info header_info
echo -e "Loading..." echo -e "Loading..."
APP="Grafana" APP="Grafana"
@ -64,18 +65,17 @@ function msg_error() {
} }
function PVE_CHECK() { function PVE_CHECK() {
PVE=$(pveversion | grep "pve-manager/7" | wc -l) if [ $(pveversion | grep -c "pve-manager/7\.[0-9]") -eq 0 ]; then
if [[ $PVE != 1 ]]; then echo -e "${CROSS} This version of Proxmox Virtual Environment is not supported"
echo -e "${RD}This script requires Proxmox Virtual Environment 7.0 or greater${CL}" echo -e "Requires PVE Version 7.0 or higher"
echo -e "Exiting..." echo -e "Exiting..."
sleep 2 sleep 2
exit exit
fi fi
} }
function ARCH_CHECK() { function ARCH_CHECK() {
ARCH=$(dpkg --print-architecture) if [ "$(dpkg --print-architecture)" != "amd64" ]; then
if [[ "$ARCH" != "amd64" ]]; then echo -e "\n ${CROSS} This script will not work with PiMox! \n"
echo -e "\n ❌ This script will not work with PiMox! \n"
echo -e "Exiting..." echo -e "Exiting..."
sleep 2 sleep 2
exit exit
@ -338,7 +338,6 @@ function install_script() {
} }
function update_script() { function update_script() {
clear
header_info header_info
msg_info "Updating ${APP} LXC" msg_info "Updating ${APP} LXC"
apt-get update &>/dev/null apt-get update &>/dev/null
@ -347,8 +346,9 @@ msg_ok "Updated ${APP} LXC"
msg_ok "Update Successfull" msg_ok "Update Successfull"
exit exit
} }
clear
ARCH_CHECK ARCH_CHECK
PVE_CHECK
header_info
if ! command -v pveversion >/dev/null 2>&1; then update_script; else install_script; fi if ! command -v pveversion >/dev/null 2>&1; then update_script; else install_script; fi
if [ "$VERB" == "yes" ]; then set -x; fi if [ "$VERB" == "yes" ]; then set -x; fi
if [ "$CT_TYPE" == "1" ]; then if [ "$CT_TYPE" == "1" ]; then

View file

@ -6,7 +6,9 @@
# https://github.com/tteck/Proxmox/raw/main/LICENSE # https://github.com/tteck/Proxmox/raw/main/LICENSE
function header_info { function header_info {
cat <<"EOF" clear
cat <<"EOF"
____ __________ _______ __ ____ __________ _______ __
/ __ / ___/ __ \/ ___/ / / / / __ / ___/ __ \/ ___/ / / /
/ /_/ / / / /_/ / /__/ /_/ / / /_/ / / / /_/ / /__/ /_/ /
@ -15,7 +17,6 @@ function header_info {
EOF EOF
} }
clear
header_info header_info
echo -e "Loading..." echo -e "Loading..."
APP="grocy" APP="grocy"
@ -64,18 +65,17 @@ function msg_error() {
} }
function PVE_CHECK() { function PVE_CHECK() {
PVE=$(pveversion | grep "pve-manager/7" | wc -l) if [ $(pveversion | grep -c "pve-manager/7\.[0-9]") -eq 0 ]; then
if [[ $PVE != 1 ]]; then echo -e "${CROSS} This version of Proxmox Virtual Environment is not supported"
echo -e "${RD}This script requires Proxmox Virtual Environment 7.0 or greater${CL}" echo -e "Requires PVE Version 7.0 or higher"
echo -e "Exiting..." echo -e "Exiting..."
sleep 2 sleep 2
exit exit
fi fi
} }
function ARCH_CHECK() { function ARCH_CHECK() {
ARCH=$(dpkg --print-architecture) if [ "$(dpkg --print-architecture)" != "amd64" ]; then
if [[ "$ARCH" != "amd64" ]]; then echo -e "\n ${CROSS} This script will not work with PiMox! \n"
echo -e "\n ❌ This script will not work with PiMox! \n"
echo -e "Exiting..." echo -e "Exiting..."
sleep 2 sleep 2
exit exit
@ -338,7 +338,6 @@ function install_script() {
} }
function update_script() { function update_script() {
clear
header_info header_info
msg_info "Updating ${APP}" msg_info "Updating ${APP}"
bash /var/www/html/update.sh bash /var/www/html/update.sh
@ -346,8 +345,9 @@ msg_ok "Updated ${APP}"
msg_ok "Update Successfull" msg_ok "Update Successfull"
exit exit
} }
clear
ARCH_CHECK ARCH_CHECK
PVE_CHECK
header_info
if ! command -v pveversion >/dev/null 2>&1; then update_script; else install_script; fi if ! command -v pveversion >/dev/null 2>&1; then update_script; else install_script; fi
if [ "$VERB" == "yes" ]; then set -x; fi if [ "$VERB" == "yes" ]; then set -x; fi
if [ "$CT_TYPE" == "1" ]; then if [ "$CT_TYPE" == "1" ]; then

View file

@ -6,7 +6,9 @@
# https://github.com/tteck/Proxmox/raw/main/LICENSE # https://github.com/tteck/Proxmox/raw/main/LICENSE
function header_info { function header_info {
cat <<"EOF" clear
cat <<"EOF"
_ _ _ _ ___ _ _ _ _ _ _ _ ___ _ _ _
/\ /\___(_)_ __ ___ __| | __ _| | | / \__ _ ___| |__ | |__ ___ __ _ _ __ __| | /\ /\___(_)_ __ ___ __| | __ _| | | / \__ _ ___| |__ | |__ ___ __ _ _ __ __| |
/ /_/ / _ \ | '_ ` _ \ / _` |/ _` | | | / /\ / _` / __| '_ \| '_ \ / _ \ / _` | '__/ _` | / /_/ / _ \ | '_ ` _ \ / _` |/ _` | | | / /\ / _` / __| '_ \| '_ \ / _ \ / _` | '__/ _` |
@ -15,7 +17,6 @@ function header_info {
EOF EOF
} }
clear
header_info header_info
echo -e "Loading..." echo -e "Loading..."
APP="Heimdall Dashboard" APP="Heimdall Dashboard"
@ -64,18 +65,17 @@ function msg_error() {
} }
function PVE_CHECK() { function PVE_CHECK() {
PVE=$(pveversion | grep "pve-manager/7" | wc -l) if [ $(pveversion | grep -c "pve-manager/7\.[0-9]") -eq 0 ]; then
if [[ $PVE != 1 ]]; then echo -e "${CROSS} This version of Proxmox Virtual Environment is not supported"
echo -e "${RD}This script requires Proxmox Virtual Environment 7.0 or greater${CL}" echo -e "Requires PVE Version 7.0 or higher"
echo -e "Exiting..." echo -e "Exiting..."
sleep 2 sleep 2
exit exit
fi fi
} }
function ARCH_CHECK() { function ARCH_CHECK() {
ARCH=$(dpkg --print-architecture) if [ "$(dpkg --print-architecture)" != "amd64" ]; then
if [[ "$ARCH" != "amd64" ]]; then echo -e "\n ${CROSS} This script will not work with PiMox! \n"
echo -e "\n ❌ This script will not work with PiMox! \n"
echo -e "Exiting..." echo -e "Exiting..."
sleep 2 sleep 2
exit exit
@ -338,7 +338,6 @@ function install_script() {
} }
function update_script() { function update_script() {
clear
header_info header_info
msg_info "Stopping ${APP}" msg_info "Stopping ${APP}"
systemctl disable heimdall.service &>/dev/null systemctl disable heimdall.service &>/dev/null
@ -426,8 +425,9 @@ msg_ok "Started ${APP}"
msg_ok "Update Successfull" msg_ok "Update Successfull"
exit exit
} }
clear
ARCH_CHECK ARCH_CHECK
PVE_CHECK
header_info
if ! command -v pveversion >/dev/null 2>&1; then update_script; else install_script; fi if ! command -v pveversion >/dev/null 2>&1; then update_script; else install_script; fi
if [ "$VERB" == "yes" ]; then set -x; fi if [ "$VERB" == "yes" ]; then set -x; fi
if [ "$CT_TYPE" == "1" ]; then if [ "$CT_TYPE" == "1" ]; then

View file

@ -6,7 +6,9 @@
# https://github.com/tteck/Proxmox/raw/main/LICENSE # https://github.com/tteck/Proxmox/raw/main/LICENSE
function header_info { function header_info {
cat <<"EOF" clear
cat <<"EOF"
_ _ _ _ ___ _ _ _ _ ___
/\ /\___ _ __ ___ ___ /_\ ___ ___(_)___| |_ __ _ _ __ | |_ / __\___v5_ __ ___ /\ /\___ _ __ ___ ___ /_\ ___ ___(_)___| |_ __ _ _ __ | |_ / __\___v5_ __ ___
/ /_/ / _ \| '_ ` _ \ / _ \ //_\\/ __/ __| / __| __/ _` | '_ \| __| / / / _ \| '__/ _ \ / /_/ / _ \| '_ ` _ \ / _ \ //_\\/ __/ __| / __| __/ _` | '_ \| __| / / / _ \| '__/ _ \
@ -15,7 +17,6 @@ function header_info {
EOF EOF
} }
clear
header_info header_info
echo -e "Loading..." echo -e "Loading..."
APP="Home Assistant-Core" APP="Home Assistant-Core"
@ -66,23 +67,22 @@ function msg_error() {
} }
function PVE_CHECK() { function PVE_CHECK() {
PVE=$(pveversion | grep "pve-manager/7" | wc -l) if [ $(pveversion | grep -c "pve-manager/7\.[0-9]") -eq 0 ]; then
if [[ $PVE != 1 ]]; then echo -e "${CROSS} This version of Proxmox Virtual Environment is not supported"
msg_error "This script requires Proxmox Virtual Environment 7.0 or greater" echo -e "Requires PVE Version 7.0 or higher"
echo -e "Exiting..."
sleep 2
exit
fi
}
function ARCH_CHECK() {
if [ "$(dpkg --print-architecture)" != "amd64" ]; then
echo -e "\n ${CROSS} This script will not work with PiMox! \n"
echo -e "Exiting..." echo -e "Exiting..."
sleep 2 sleep 2
exit exit
fi fi
} }
function ARCH_CHECK() {
ARCH=$(dpkg --print-architecture)
if [[ "$ARCH" != "amd64" ]]; then
echo -e "\n ❌ This script will not work with PiMox! \n"
echo -e "Exiting..."
sleep 2
exit
fi
}
if command -v pveversion >/dev/null 2>&1; then if command -v pveversion >/dev/null 2>&1; then
if (whiptail --title "${APP} LXC" --yesno "This will create a New ${APP} LXC. Proceed?" 10 58); then if (whiptail --title "${APP} LXC" --yesno "This will create a New ${APP} LXC. Proceed?" 10 58); then
NEXTID=$(pvesh get /cluster/nextid) NEXTID=$(pvesh get /cluster/nextid)
@ -348,7 +348,6 @@ function update_script() {
"2" "Install HACS" OFF \ "2" "Install HACS" OFF \
"3" "Install FileBrowser" OFF \ "3" "Install FileBrowser" OFF \
3>&1 1>&2 2>&3) 3>&1 1>&2 2>&3)
clear
header_info header_info
if [ "$UPD" == "1" ]; then if [ "$UPD" == "1" ]; then
if (whiptail --defaultno --title "SELECT BRANCH" --yesno "Use Beta Branch?" 10 58); then if (whiptail --defaultno --title "SELECT BRANCH" --yesno "Use Beta Branch?" 10 58); then
@ -421,8 +420,9 @@ exit
fi fi
} }
clear
ARCH_CHECK ARCH_CHECK
PVE_CHECK
header_info
if ! command -v pveversion >/dev/null 2>&1; then update_script; else install_script; fi if ! command -v pveversion >/dev/null 2>&1; then update_script; else install_script; fi
if [ "$VERB" == "yes" ]; then set -x; fi if [ "$VERB" == "yes" ]; then set -x; fi
if [ "$CT_TYPE" == "1" ]; then if [ "$CT_TYPE" == "1" ]; then

View file

@ -6,7 +6,9 @@
# https://github.com/tteck/Proxmox/raw/main/LICENSE # https://github.com/tteck/Proxmox/raw/main/LICENSE
function header_info { function header_info {
cat <<"EOF" clear
cat <<"EOF"
__ __ ___ _ __ __ __ __ ___ _ __ __
/ / / /___v5____ ___ ___ / | __________(_)____/ /_____ _____ / /_ / / / /___v5____ ___ ___ / | __________(_)____/ /_____ _____ / /_
/ /_/ / __ \/ __ __ \/ _ \ / /| | / ___/ ___/ / ___/ __/ __ / __ \/ __/ / /_/ / __ \/ __ __ \/ _ \ / /| | / ___/ ___/ / ___/ __/ __ / __ \/ __/
@ -15,7 +17,6 @@ function header_info {
EOF EOF
} }
clear
header_info header_info
echo -e "Loading..." echo -e "Loading..."
APP="Home Assistant" APP="Home Assistant"
@ -65,18 +66,17 @@ function msg_error() {
} }
function PVE_CHECK() { function PVE_CHECK() {
PVE=$(pveversion | grep "pve-manager/7" | wc -l) if [ $(pveversion | grep -c "pve-manager/7\.[0-9]") -eq 0 ]; then
if [[ $PVE != 1 ]]; then echo -e "${CROSS} This version of Proxmox Virtual Environment is not supported"
echo -e "${RD}This script requires Proxmox Virtual Environment 7.0 or greater${CL}" echo -e "Requires PVE Version 7.0 or higher"
echo -e "Exiting..." echo -e "Exiting..."
sleep 2 sleep 2
exit exit
fi fi
} }
function ARCH_CHECK() { function ARCH_CHECK() {
ARCH=$(dpkg --print-architecture) if [ "$(dpkg --print-architecture)" != "amd64" ]; then
if [[ "$ARCH" != "amd64" ]]; then echo -e "\n ${CROSS} This script will not work with PiMox! \n"
echo -e "\n ❌ This script will not work with PiMox! \n"
echo -e "Exiting..." echo -e "Exiting..."
sleep 2 sleep 2
exit exit
@ -354,7 +354,6 @@ function update_script() {
"3" "Install HACS" OFF \ "3" "Install HACS" OFF \
"4" "Install FileBrowser" OFF \ "4" "Install FileBrowser" OFF \
3>&1 1>&2 2>&3) 3>&1 1>&2 2>&3)
clear
header_info header_info
if [ "$UPD" == "1" ]; then if [ "$UPD" == "1" ]; then
msg_info "Updating All Containers" msg_info "Updating All Containers"
@ -421,8 +420,9 @@ exit
fi fi
} }
clear
ARCH_CHECK ARCH_CHECK
PVE_CHECK
header_info
if ! command -v pveversion >/dev/null 2>&1; then update_script; else install_script; fi if ! command -v pveversion >/dev/null 2>&1; then update_script; else install_script; fi
if [ "$VERB" == "yes" ]; then set -x; fi if [ "$VERB" == "yes" ]; then set -x; fi
if [ "$FUSE" == "yes" ]; then if [ "$FUSE" == "yes" ]; then

View file

@ -6,7 +6,9 @@
# https://github.com/tteck/Proxmox/raw/main/LICENSE # https://github.com/tteck/Proxmox/raw/main/LICENSE
function header_info { function header_info {
cat <<"EOF" clear
cat <<"EOF"
__ ______ __ _____________ ____ ________ ____________ __ ______ __ _____________ ____ ________ ____________
/ / / / __ \/ |/ / ____/ __ )/ __ \/ _/ __ \/ ____/ ____/ / / / / __ \/ |/ / ____/ __ )/ __ \/ _/ __ \/ ____/ ____/
/ /_/ / / / / /|_/ / __/ / __ / /_/ // // / / / / __/ __/ / /_/ / / / / /|_/ / __/ / __ / /_/ // // / / / / __/ __/
@ -15,7 +17,6 @@ function header_info {
EOF EOF
} }
clear
header_info header_info
echo -e "Loading..." echo -e "Loading..."
APP="Homebridge" APP="Homebridge"
@ -64,18 +65,17 @@ function msg_error() {
} }
function PVE_CHECK() { function PVE_CHECK() {
PVE=$(pveversion | grep "pve-manager/7" | wc -l) if [ $(pveversion | grep -c "pve-manager/7\.[0-9]") -eq 0 ]; then
if [[ $PVE != 1 ]]; then echo -e "${CROSS} This version of Proxmox Virtual Environment is not supported"
echo -e "${RD}This script requires Proxmox Virtual Environment 7.0 or greater${CL}" echo -e "Requires PVE Version 7.0 or higher"
echo -e "Exiting..." echo -e "Exiting..."
sleep 2 sleep 2
exit exit
fi fi
} }
function ARCH_CHECK() { function ARCH_CHECK() {
ARCH=$(dpkg --print-architecture) if [ "$(dpkg --print-architecture)" != "amd64" ]; then
if [[ "$ARCH" != "amd64" ]]; then echo -e "\n ${CROSS} This script will not work with PiMox! \n"
echo -e "\n ❌ This script will not work with PiMox! \n"
echo -e "Exiting..." echo -e "Exiting..."
sleep 2 sleep 2
exit exit
@ -338,7 +338,6 @@ function install_script() {
} }
function update_script() { function update_script() {
clear
header_info header_info
msg_info "Updating ${APP} LXC" msg_info "Updating ${APP} LXC"
apt-get update &>/dev/null apt-get update &>/dev/null
@ -347,8 +346,9 @@ msg_ok "Updated ${APP} LXC"
msg_ok "Update Successfull" msg_ok "Update Successfull"
exit exit
} }
clear
ARCH_CHECK ARCH_CHECK
PVE_CHECK
header_info
if ! command -v pveversion >/dev/null 2>&1; then update_script; else install_script; fi if ! command -v pveversion >/dev/null 2>&1; then update_script; else install_script; fi
if [ "$VERB" == "yes" ]; then set -x; fi if [ "$VERB" == "yes" ]; then set -x; fi
if [ "$CT_TYPE" == "1" ]; then if [ "$CT_TYPE" == "1" ]; then

View file

@ -6,7 +6,9 @@
# https://github.com/tteck/Proxmox/raw/main/LICENSE # https://github.com/tteck/Proxmox/raw/main/LICENSE
function header_info { function header_info {
cat <<"EOF" clear
cat <<"EOF"
__ __ __ __
/ / / /___ ____ ___ ___ ____ ____ _____ ____ / / / /___ ____ ___ ___ ____ ____ _____ ____
/ /_/ / __ \/ __ `__ \/ _ \/ __ \/ __ `/ __ `/ _ \ / /_/ / __ \/ __ `__ \/ _ \/ __ \/ __ `/ __ `/ _ \
@ -15,7 +17,6 @@ function header_info {
/_/ v5 /____/ /_/ v5 /____/
EOF EOF
} }
clear
header_info header_info
echo -e "Loading..." echo -e "Loading..."
APP="Homepage" APP="Homepage"
@ -64,18 +65,17 @@ function msg_error() {
} }
function PVE_CHECK() { function PVE_CHECK() {
PVE=$(pveversion | grep "pve-manager/7" | wc -l) if [ $(pveversion | grep -c "pve-manager/7\.[0-9]") -eq 0 ]; then
if [[ $PVE != 1 ]]; then echo -e "${CROSS} This version of Proxmox Virtual Environment is not supported"
echo -e "${RD}This script requires Proxmox Virtual Environment 7.0 or greater${CL}" echo -e "Requires PVE Version 7.0 or higher"
echo -e "Exiting..." echo -e "Exiting..."
sleep 2 sleep 2
exit exit
fi fi
} }
function ARCH_CHECK() { function ARCH_CHECK() {
ARCH=$(dpkg --print-architecture) if [ "$(dpkg --print-architecture)" != "amd64" ]; then
if [[ "$ARCH" != "amd64" ]]; then echo -e "\n ${CROSS} This script will not work with PiMox! \n"
echo -e "\n ❌ This script will not work with PiMox! \n"
echo -e "Exiting..." echo -e "Exiting..."
sleep 2 sleep 2
exit exit
@ -338,7 +338,6 @@ function install_script() {
} }
function update_script() { function update_script() {
clear
header_info header_info
msg_info "Updating ${APP}" msg_info "Updating ${APP}"
if ! command -v pnpm >/dev/null 2>&1; then if ! command -v pnpm >/dev/null 2>&1; then
@ -353,8 +352,9 @@ systemctl start homepage
msg_ok "Update Successfull" msg_ok "Update Successfull"
exit exit
} }
clear
ARCH_CHECK ARCH_CHECK
PVE_CHECK
header_info
if ! command -v pveversion >/dev/null 2>&1; then update_script; else install_script; fi if ! command -v pveversion >/dev/null 2>&1; then update_script; else install_script; fi
if [ "$VERB" == "yes" ]; then set -x; fi if [ "$VERB" == "yes" ]; then set -x; fi
if [ "$CT_TYPE" == "1" ]; then if [ "$CT_TYPE" == "1" ]; then

View file

@ -6,7 +6,9 @@
# https://github.com/tteck/Proxmox/raw/main/LICENSE # https://github.com/tteck/Proxmox/raw/main/LICENSE
function header_info { function header_info {
cat <<"EOF" clear
cat <<"EOF"
__ __ __ __
/ / / /___ ____ ___v5___ _____ / / / /___ ____ ___v5___ _____
/ /_/ / __ \/ __ `__ \/ _ \/ ___/ / /_/ / __ \/ __ `__ \/ _ \/ ___/
@ -15,7 +17,6 @@ function header_info {
EOF EOF
} }
clear
header_info header_info
echo -e "Loading..." echo -e "Loading..."
APP="Homer" APP="Homer"
@ -64,18 +65,17 @@ function msg_error() {
} }
function PVE_CHECK() { function PVE_CHECK() {
PVE=$(pveversion | grep "pve-manager/7" | wc -l) if [ $(pveversion | grep -c "pve-manager/7\.[0-9]") -eq 0 ]; then
if [[ $PVE != 1 ]]; then echo -e "${CROSS} This version of Proxmox Virtual Environment is not supported"
echo -e "${RD}This script requires Proxmox Virtual Environment 7.0 or greater${CL}" echo -e "Requires PVE Version 7.0 or higher"
echo -e "Exiting..." echo -e "Exiting..."
sleep 2 sleep 2
exit exit
fi fi
} }
function ARCH_CHECK() { function ARCH_CHECK() {
ARCH=$(dpkg --print-architecture) if [ "$(dpkg --print-architecture)" != "amd64" ]; then
if [[ "$ARCH" != "amd64" ]]; then echo -e "\n ${CROSS} This script will not work with PiMox! \n"
echo -e "\n ❌ This script will not work with PiMox! \n"
echo -e "Exiting..." echo -e "Exiting..."
sleep 2 sleep 2
exit exit
@ -334,7 +334,6 @@ function install_script() {
} }
function update_script() { function update_script() {
clear
header_info header_info
msg_info "Stopping ${APP}" msg_info "Stopping ${APP}"
systemctl stop homer systemctl stop homer
@ -366,8 +365,9 @@ msg_ok "Started ${APP}"
msg_ok "Update Successfull" msg_ok "Update Successfull"
exit exit
} }
clear
ARCH_CHECK ARCH_CHECK
PVE_CHECK
header_info
if ! command -v pveversion >/dev/null 2>&1; then update_script; else install_script; fi if ! command -v pveversion >/dev/null 2>&1; then update_script; else install_script; fi
if [ "$VERB" == "yes" ]; then set -x; fi if [ "$VERB" == "yes" ]; then set -x; fi
if [ "$CT_TYPE" == "1" ]; then if [ "$CT_TYPE" == "1" ]; then

View file

@ -6,6 +6,7 @@
# https://github.com/tteck/Proxmox/raw/main/LICENSE # https://github.com/tteck/Proxmox/raw/main/LICENSE
function header_info { function header_info {
clear
cat <<"EOF" cat <<"EOF"
__ __ _ __ __ _
/ / / /_ ______v5___ _____(_)___ ____ / / / /_ ______v5___ _____(_)___ ____
@ -16,7 +17,6 @@ cat <<"EOF"
EOF EOF
} }
clear
header_info header_info
echo -e "Loading..." echo -e "Loading..."
APP="Hyperion" APP="Hyperion"
@ -65,18 +65,17 @@ function msg_error() {
} }
function PVE_CHECK() { function PVE_CHECK() {
PVE=$(pveversion | grep "pve-manager/7" | wc -l) if [ $(pveversion | grep -c "pve-manager/7\.[0-9]") -eq 0 ]; then
if [[ $PVE != 1 ]]; then echo -e "${CROSS} This version of Proxmox Virtual Environment is not supported"
echo -e "${RD}This script requires Proxmox Virtual Environment 7.0 or greater${CL}" echo -e "Requires PVE Version 7.0 or higher"
echo -e "Exiting..." echo -e "Exiting..."
sleep 2 sleep 2
exit exit
fi fi
} }
function ARCH_CHECK() { function ARCH_CHECK() {
ARCH=$(dpkg --print-architecture) if [ "$(dpkg --print-architecture)" != "amd64" ]; then
if [[ "$ARCH" != "amd64" ]]; then echo -e "\n ${CROSS} This script will not work with PiMox! \n"
echo -e "\n ❌ This script will not work with PiMox! \n"
echo -e "Exiting..." echo -e "Exiting..."
sleep 2 sleep 2
exit exit
@ -339,7 +338,6 @@ function install_script() {
} }
function update_script() { function update_script() {
clear
header_info header_info
msg_info "Updating ${APP} LXC" msg_info "Updating ${APP} LXC"
apt-get update &>/dev/null apt-get update &>/dev/null
@ -348,8 +346,9 @@ msg_ok "Updated ${APP} LXC"
msg_ok "Update Successfull" msg_ok "Update Successfull"
exit exit
} }
clear
ARCH_CHECK ARCH_CHECK
PVE_CHECK
header_info
if ! command -v pveversion >/dev/null 2>&1; then update_script; else install_script; fi if ! command -v pveversion >/dev/null 2>&1; then update_script; else install_script; fi
if [ "$VERB" == "yes" ]; then set -x; fi if [ "$VERB" == "yes" ]; then set -x; fi
if [ "$CT_TYPE" == "1" ]; then if [ "$CT_TYPE" == "1" ]; then

View file

@ -6,7 +6,9 @@
# https://github.com/tteck/Proxmox/raw/main/LICENSE # https://github.com/tteck/Proxmox/raw/main/LICENSE
function header_info { function header_info {
cat <<"EOF" clear
cat <<"EOF"
____ ______ ____ ____ ____ ______ ____ ____
/ _/_v5 / __/ /_ ___ __/ __ \/ __ ) / _/_v5 / __/ /_ ___ __/ __ \/ __ )
/ // __ \/ /_/ / / / / |/_/ / / / __ | / // __ \/ /_/ / / / / |/_/ / / / __ |
@ -15,7 +17,6 @@ function header_info {
EOF EOF
} }
clear
header_info header_info
echo -e "Loading..." echo -e "Loading..."
APP="InfluxDB" APP="InfluxDB"
@ -64,18 +65,17 @@ function msg_error() {
} }
function PVE_CHECK() { function PVE_CHECK() {
PVE=$(pveversion | grep "pve-manager/7" | wc -l) if [ $(pveversion | grep -c "pve-manager/7\.[0-9]") -eq 0 ]; then
if [[ $PVE != 1 ]]; then echo -e "${CROSS} This version of Proxmox Virtual Environment is not supported"
echo -e "${RD}This script requires Proxmox Virtual Environment 7.0 or greater${CL}" echo -e "Requires PVE Version 7.0 or higher"
echo -e "Exiting..." echo -e "Exiting..."
sleep 2 sleep 2
exit exit
fi fi
} }
function ARCH_CHECK() { function ARCH_CHECK() {
ARCH=$(dpkg --print-architecture) if [ "$(dpkg --print-architecture)" != "amd64" ]; then
if [[ "$ARCH" != "amd64" ]]; then echo -e "\n ${CROSS} This script will not work with PiMox! \n"
echo -e "\n ❌ This script will not work with PiMox! \n"
echo -e "Exiting..." echo -e "Exiting..."
sleep 2 sleep 2
exit exit
@ -338,7 +338,6 @@ function install_script() {
} }
function update_script() { function update_script() {
clear
header_info header_info
msg_info "Updating ${APP} LXC" msg_info "Updating ${APP} LXC"
apt-get update &>/dev/null apt-get update &>/dev/null
@ -347,8 +346,9 @@ msg_ok "Updated ${APP} LXC"
msg_ok "Update Successfull" msg_ok "Update Successfull"
exit exit
} }
clear
ARCH_CHECK ARCH_CHECK
PVE_CHECK
header_info
if ! command -v pveversion >/dev/null 2>&1; then update_script; else install_script; fi if ! command -v pveversion >/dev/null 2>&1; then update_script; else install_script; fi
if [ "$VERB" == "yes" ]; then set -x; fi if [ "$VERB" == "yes" ]; then set -x; fi
if [ "$CT_TYPE" == "1" ]; then if [ "$CT_TYPE" == "1" ]; then

View file

@ -6,7 +6,9 @@
# https://github.com/tteck/Proxmox/raw/main/LICENSE # https://github.com/tteck/Proxmox/raw/main/LICENSE
function header_info { function header_info {
cat <<"EOF" clear
cat <<"EOF"
_ ____ __ _ ____ __
(_)___ / __ )_________ / /_____ _____ (_)___ / __ )_________ / /_____ _____
/ / __ \/ __ / ___/ __ \/ //_/ _ \/ ___/ / / __ \/ __ / ___/ __ \/ //_/ _ \/ ___/
@ -15,7 +17,6 @@ function header_info {
EOF EOF
} }
clear
header_info header_info
echo -e "Loading..." echo -e "Loading..."
APP="ioBroker" APP="ioBroker"
@ -64,18 +65,17 @@ function msg_error() {
} }
function PVE_CHECK() { function PVE_CHECK() {
PVE=$(pveversion | grep "pve-manager/7" | wc -l) if [ $(pveversion | grep -c "pve-manager/7\.[0-9]") -eq 0 ]; then
if [[ $PVE != 1 ]]; then echo -e "${CROSS} This version of Proxmox Virtual Environment is not supported"
echo -e "${RD}This script requires Proxmox Virtual Environment 7.0 or greater${CL}" echo -e "Requires PVE Version 7.0 or higher"
echo -e "Exiting..." echo -e "Exiting..."
sleep 2 sleep 2
exit exit
fi fi
} }
function ARCH_CHECK() { function ARCH_CHECK() {
ARCH=$(dpkg --print-architecture) if [ "$(dpkg --print-architecture)" != "amd64" ]; then
if [[ "$ARCH" != "amd64" ]]; then echo -e "\n ${CROSS} This script will not work with PiMox! \n"
echo -e "\n ❌ This script will not work with PiMox! \n"
echo -e "Exiting..." echo -e "Exiting..."
sleep 2 sleep 2
exit exit
@ -338,7 +338,6 @@ function install_script() {
} }
function update_script() { function update_script() {
clear
header_info header_info
msg_info "Updating ${APP} LXC" msg_info "Updating ${APP} LXC"
apt-get update &>/dev/null apt-get update &>/dev/null
@ -347,8 +346,9 @@ msg_ok "Updated ${APP} LXC"
msg_ok "Update Successfull" msg_ok "Update Successfull"
exit exit
} }
clear
ARCH_CHECK ARCH_CHECK
PVE_CHECK
header_info
if ! command -v pveversion >/dev/null 2>&1; then update_script; else install_script; fi if ! command -v pveversion >/dev/null 2>&1; then update_script; else install_script; fi
if [ "$VERB" == "yes" ]; then set -x; fi if [ "$VERB" == "yes" ]; then set -x; fi
if [ "$CT_TYPE" == "1" ]; then if [ "$CT_TYPE" == "1" ]; then

View file

@ -6,7 +6,9 @@
# https://github.com/tteck/Proxmox/raw/main/LICENSE # https://github.com/tteck/Proxmox/raw/main/LICENSE
function header_info { function header_info {
cat <<"EOF" clear
cat <<"EOF"
__ ____ _____ __ ____ _____
/ /__ / / /_v5__/ __(_)___ / /__ / / /_v5__/ __(_)___
__ / / _ \/ / / / / / /_/ / __ \ __ / / _ \/ / / / / / /_/ / __ \
@ -16,7 +18,6 @@ function header_info {
EOF EOF
} }
clear
header_info header_info
echo -e "Loading..." echo -e "Loading..."
APP="Jellyfin" APP="Jellyfin"
@ -65,18 +66,17 @@ function msg_error() {
} }
function PVE_CHECK() { function PVE_CHECK() {
PVE=$(pveversion | grep "pve-manager/7" | wc -l) if [ $(pveversion | grep -c "pve-manager/7\.[0-9]") -eq 0 ]; then
if [[ $PVE != 1 ]]; then echo -e "${CROSS} This version of Proxmox Virtual Environment is not supported"
echo -e "${RD}This script requires Proxmox Virtual Environment 7.0 or greater${CL}" echo -e "Requires PVE Version 7.0 or higher"
echo -e "Exiting..." echo -e "Exiting..."
sleep 2 sleep 2
exit exit
fi fi
} }
function ARCH_CHECK() { function ARCH_CHECK() {
ARCH=$(dpkg --print-architecture) if [ "$(dpkg --print-architecture)" != "amd64" ]; then
if [[ "$ARCH" != "amd64" ]]; then echo -e "\n ${CROSS} This script will not work with PiMox! \n"
echo -e "\n ❌ This script will not work with PiMox! \n"
echo -e "Exiting..." echo -e "Exiting..."
sleep 2 sleep 2
exit exit
@ -348,7 +348,6 @@ function install_script() {
fi fi
} }
function update_script() { function update_script() {
clear
header_info header_info
msg_info "Updating ${APP} LXC" msg_info "Updating ${APP} LXC"
apt-get update &>/dev/null apt-get update &>/dev/null
@ -356,8 +355,9 @@ apt-get -y upgrade &>/dev/null
msg_ok "Updated ${APP} LXC" msg_ok "Updated ${APP} LXC"
exit exit
} }
clear
ARCH_CHECK ARCH_CHECK
PVE_CHECK
header_info
if ! command -v pveversion >/dev/null 2>&1; then update_script; else install_script; fi if ! command -v pveversion >/dev/null 2>&1; then update_script; else install_script; fi
if [ "$VERB" == "yes" ]; then set -x; fi if [ "$VERB" == "yes" ]; then set -x; fi
if [ "$CT_TYPE" == "1" ]; then if [ "$CT_TYPE" == "1" ]; then

View file

@ -6,7 +6,9 @@
# https://github.com/tteck/Proxmox/raw/main/LICENSE # https://github.com/tteck/Proxmox/raw/main/LICENSE
function header_info { function header_info {
cat <<"EOF" clear
cat <<"EOF"
__ ____ __ __ __ __ __ ____ __ __ __ __
/ /__/ __ \_____ / //_/_ __/ /_ ___v5_________ ___ / /____ _____ / /__/ __ \_____ / //_/_ __/ /_ ___v5_________ ___ / /____ _____
/ //_/ / / / ___/ / ,< / / / / __ \/ _ \/ ___/ __ \/ _ \/ __/ _ \/ ___/ / //_/ / / / ___/ / ,< / / / / __ \/ _ \/ ___/ __ \/ _ \/ __/ _ \/ ___/
@ -15,7 +17,6 @@ function header_info {
EOF EOF
} }
clear
header_info header_info
echo -e "Loading..." echo -e "Loading..."
APP="k0s" APP="k0s"
@ -64,18 +65,17 @@ function msg_error() {
} }
function PVE_CHECK() { function PVE_CHECK() {
PVE=$(pveversion | grep "pve-manager/7" | wc -l) if [ $(pveversion | grep -c "pve-manager/7\.[0-9]") -eq 0 ]; then
if [[ $PVE != 1 ]]; then echo -e "${CROSS} This version of Proxmox Virtual Environment is not supported"
echo -e "${RD}This script requires Proxmox Virtual Environment 7.0 or greater${CL}" echo -e "Requires PVE Version 7.0 or higher"
echo -e "Exiting..." echo -e "Exiting..."
sleep 2 sleep 2
exit exit
fi fi
} }
function ARCH_CHECK() { function ARCH_CHECK() {
ARCH=$(dpkg --print-architecture) if [ "$(dpkg --print-architecture)" != "amd64" ]; then
if [[ "$ARCH" != "amd64" ]]; then echo -e "\n ${CROSS} This script will not work with PiMox! \n"
echo -e "\n ❌ This script will not work with PiMox! \n"
echo -e "Exiting..." echo -e "Exiting..."
sleep 2 sleep 2
exit exit
@ -338,7 +338,6 @@ function install_script() {
} }
function update_script() { function update_script() {
clear
header_info header_info
msg_info "Updating ${APP} LXC" msg_info "Updating ${APP} LXC"
apt-get update &>/dev/null apt-get update &>/dev/null
@ -347,8 +346,9 @@ msg_ok "Updated ${APP} LXC"
msg_ok "Update Successfull" msg_ok "Update Successfull"
exit exit
} }
clear
ARCH_CHECK ARCH_CHECK
PVE_CHECK
header_info
if ! command -v pveversion >/dev/null 2>&1; then update_script; else install_script; fi if ! command -v pveversion >/dev/null 2>&1; then update_script; else install_script; fi
if [ "$VERB" == "yes" ]; then set -x; fi if [ "$VERB" == "yes" ]; then set -x; fi
if [ "$CT_TYPE" == "1" ]; then if [ "$CT_TYPE" == "1" ]; then

View file

@ -6,7 +6,9 @@
# https://github.com/tteck/Proxmox/raw/main/LICENSE # https://github.com/tteck/Proxmox/raw/main/LICENSE
function header_info { function header_info {
cat <<"EOF" clear
cat <<"EOF"
__ __ _ __ __ __ _ __
/ //_/___ __ v5__(_) /_____ _ / //_/___ __ v5__(_) /_____ _
/ ,< / __ `/ | / / / __/ __ `/ / ,< / __ `/ | / / / __/ __ `/
@ -15,7 +17,6 @@ function header_info {
EOF EOF
} }
clear
header_info header_info
echo -e "Loading..." echo -e "Loading..."
APP="Kavita" APP="Kavita"
@ -64,18 +65,17 @@ function msg_error() {
} }
function PVE_CHECK() { function PVE_CHECK() {
PVE=$(pveversion | grep "pve-manager/7" | wc -l) if [ $(pveversion | grep -c "pve-manager/7\.[0-9]") -eq 0 ]; then
if [[ $PVE != 1 ]]; then echo -e "${CROSS} This version of Proxmox Virtual Environment is not supported"
echo -e "${RD}This script requires Proxmox Virtual Environment 7.0 or greater${CL}" echo -e "Requires PVE Version 7.0 or higher"
echo -e "Exiting..." echo -e "Exiting..."
sleep 2 sleep 2
exit exit
fi fi
} }
function ARCH_CHECK() { function ARCH_CHECK() {
ARCH=$(dpkg --print-architecture) if [ "$(dpkg --print-architecture)" != "amd64" ]; then
if [[ "$ARCH" != "amd64" ]]; then echo -e "\n ${CROSS} This script will not work with PiMox! \n"
echo -e "\n ❌ This script will not work with PiMox! \n"
echo -e "Exiting..." echo -e "Exiting..."
sleep 2 sleep 2
exit exit
@ -337,7 +337,6 @@ function install_script() {
} }
function update_script() { function update_script() {
clear
header_info header_info
msg_info "Updating $APP LXC" msg_info "Updating $APP LXC"
apt-get update &>/dev/null apt-get update &>/dev/null
@ -345,8 +344,9 @@ apt-get -y upgrade &>/dev/null
msg_ok "Updated $APP LXC" msg_ok "Updated $APP LXC"
exit exit
} }
clear
ARCH_CHECK ARCH_CHECK
PVE_CHECK
header_info
if ! command -v pveversion >/dev/null 2>&1; then update_script; else install_script; fi if ! command -v pveversion >/dev/null 2>&1; then update_script; else install_script; fi
if [ "$VERB" == "yes" ]; then set -x; fi if [ "$VERB" == "yes" ]; then set -x; fi
if [ "$CT_TYPE" == "1" ]; then if [ "$CT_TYPE" == "1" ]; then

View file

@ -6,7 +6,9 @@
# https://github.com/tteck/Proxmox/raw/main/LICENSE # https://github.com/tteck/Proxmox/raw/main/LICENSE
function header_info { function header_info {
cat <<"EOF" clear
cat <<"EOF"
__ __ __ __ __ __ __ __
/ //_/__v5__ _______/ /___ ____ _/ /__ / //_/__v5__ _______/ /___ ____ _/ /__
/ ,< / _ \/ / / / ___/ / __ \/ __ / //_/ / ,< / _ \/ / / / ___/ / __ \/ __ / //_/
@ -16,7 +18,6 @@ function header_info {
EOF EOF
} }
clear
header_info header_info
echo -e "Loading..." echo -e "Loading..."
APP="Keycloak" APP="Keycloak"
@ -65,18 +66,17 @@ function msg_error() {
} }
function PVE_CHECK() { function PVE_CHECK() {
PVE=$(pveversion | grep "pve-manager/7" | wc -l) if [ $(pveversion | grep -c "pve-manager/7\.[0-9]") -eq 0 ]; then
if [[ $PVE != 1 ]]; then echo -e "${CROSS} This version of Proxmox Virtual Environment is not supported"
echo -e "${RD}This script requires Proxmox Virtual Environment 7.0 or greater${CL}" echo -e "Requires PVE Version 7.0 or higher"
echo -e "Exiting..." echo -e "Exiting..."
sleep 2 sleep 2
exit exit
fi fi
} }
function ARCH_CHECK() { function ARCH_CHECK() {
ARCH=$(dpkg --print-architecture) if [ "$(dpkg --print-architecture)" != "amd64" ]; then
if [[ "$ARCH" != "amd64" ]]; then echo -e "\n ${CROSS} This script will not work with PiMox! \n"
echo -e "\n ❌ This script will not work with PiMox! \n"
echo -e "Exiting..." echo -e "Exiting..."
sleep 2 sleep 2
exit exit
@ -339,7 +339,6 @@ function install_script() {
} }
function update_script() { function update_script() {
clear
header_info header_info
msg_info "Updating ${APP} LXC" msg_info "Updating ${APP} LXC"
apt-get update &>/dev/null apt-get update &>/dev/null
@ -348,8 +347,9 @@ msg_ok "Updated ${APP} LXC"
msg_ok "Update Successfull" msg_ok "Update Successfull"
exit exit
} }
clear
ARCH_CHECK ARCH_CHECK
PVE_CHECK
header_info
if ! command -v pveversion >/dev/null 2>&1; then update_script; else install_script; fi if ! command -v pveversion >/dev/null 2>&1; then update_script; else install_script; fi
if [ "$VERB" == "yes" ]; then set -x; fi if [ "$VERB" == "yes" ]; then set -x; fi
if [ "$CT_TYPE" == "1" ]; then if [ "$CT_TYPE" == "1" ]; then

View file

@ -6,7 +6,9 @@
# https://github.com/tteck/Proxmox/raw/main/LICENSE # https://github.com/tteck/Proxmox/raw/main/LICENSE
function header_info { function header_info {
cat <<"EOF" clear
cat <<"EOF"
__ _ __ __ _ __
/ / (_)___/ /___v5__________ / / (_)___/ /___v5__________
/ / / / __ / __ `/ ___/ ___/ / / / / __ / __ `/ ___/ ___/
@ -15,7 +17,6 @@ function header_info {
EOF EOF
} }
clear
header_info header_info
echo -e "Loading..." echo -e "Loading..."
APP="Lidarr" APP="Lidarr"
@ -64,18 +65,17 @@ function msg_error() {
} }
function PVE_CHECK() { function PVE_CHECK() {
PVE=$(pveversion | grep "pve-manager/7" | wc -l) if [ $(pveversion | grep -c "pve-manager/7\.[0-9]") -eq 0 ]; then
if [[ $PVE != 1 ]]; then echo -e "${CROSS} This version of Proxmox Virtual Environment is not supported"
echo -e "${RD}This script requires Proxmox Virtual Environment 7.0 or greater${CL}" echo -e "Requires PVE Version 7.0 or higher"
echo -e "Exiting..." echo -e "Exiting..."
sleep 2 sleep 2
exit exit
fi fi
} }
function ARCH_CHECK() { function ARCH_CHECK() {
ARCH=$(dpkg --print-architecture) if [ "$(dpkg --print-architecture)" != "amd64" ]; then
if [[ "$ARCH" != "amd64" ]]; then echo -e "\n ${CROSS} This script will not work with PiMox! \n"
echo -e "\n ❌ This script will not work with PiMox! \n"
echo -e "Exiting..." echo -e "Exiting..."
sleep 2 sleep 2
exit exit
@ -334,7 +334,6 @@ function install_script() {
} }
function update_script() { function update_script() {
clear
header_info header_info
msg_info "Updating $APP LXC" msg_info "Updating $APP LXC"
apt-get update &>/dev/null apt-get update &>/dev/null
@ -342,8 +341,9 @@ apt-get -y upgrade &>/dev/null
msg_ok "Updated $APP LXC" msg_ok "Updated $APP LXC"
exit exit
} }
clear
ARCH_CHECK ARCH_CHECK
PVE_CHECK
header_info
if ! command -v pveversion >/dev/null 2>&1; then update_script; else install_script; fi if ! command -v pveversion >/dev/null 2>&1; then update_script; else install_script; fi
if [ "$VERB" == "yes" ]; then set -x; fi if [ "$VERB" == "yes" ]; then set -x; fi
if [ "$CT_TYPE" == "1" ]; then if [ "$CT_TYPE" == "1" ]; then

View file

@ -6,7 +6,9 @@
# https://github.com/tteck/Proxmox/raw/main/LICENSE # https://github.com/tteck/Proxmox/raw/main/LICENSE
function header_info { function header_info {
cat <<"EOF" clear
cat <<"EOF"
__ ___ _ __ ____ __ ___ _ __ ____
/ |/ /___ _____ _(_)____/ |/ (_)_____________ _____ / |/ /___ _____ _(_)____/ |/ (_)_____________ _____
/ /|_/ / __ / __ / / ___/ /|_/ / / ___/ ___/ __ \/ ___/ / /|_/ / __ / __ / / ___/ /|_/ / / ___/ ___/ __ \/ ___/
@ -16,7 +18,6 @@ function header_info {
EOF EOF
} }
clear
header_info header_info
echo -e "Loading..." echo -e "Loading..."
APP="MagicMirror" APP="MagicMirror"
@ -65,18 +66,17 @@ function msg_error() {
} }
function PVE_CHECK() { function PVE_CHECK() {
PVE=$(pveversion | grep "pve-manager/7" | wc -l) if [ $(pveversion | grep -c "pve-manager/7\.[0-9]") -eq 0 ]; then
if [[ $PVE != 1 ]]; then echo -e "${CROSS} This version of Proxmox Virtual Environment is not supported"
echo -e "${RD}This script requires Proxmox Virtual Environment 7.0 or greater${CL}" echo -e "Requires PVE Version 7.0 or higher"
echo -e "Exiting..." echo -e "Exiting..."
sleep 2 sleep 2
exit exit
fi fi
} }
function ARCH_CHECK() { function ARCH_CHECK() {
ARCH=$(dpkg --print-architecture) if [ "$(dpkg --print-architecture)" != "amd64" ]; then
if [[ "$ARCH" != "amd64" ]]; then echo -e "\n ${CROSS} This script will not work with PiMox! \n"
echo -e "\n ❌ This script will not work with PiMox! \n"
echo -e "Exiting..." echo -e "Exiting..."
sleep 2 sleep 2
exit exit
@ -339,7 +339,6 @@ function install_script() {
} }
function update_script() { function update_script() {
clear
header_info header_info
msg_info "Updating ${APP} LXC" msg_info "Updating ${APP} LXC"
cd /opt/magicmirror cd /opt/magicmirror
@ -349,8 +348,9 @@ msg_ok "Updated ${APP} LXC"
msg_ok "Update Successfull" msg_ok "Update Successfull"
exit exit
} }
clear
ARCH_CHECK ARCH_CHECK
PVE_CHECK
header_info
if ! command -v pveversion >/dev/null 2>&1; then update_script; else install_script; fi if ! command -v pveversion >/dev/null 2>&1; then update_script; else install_script; fi
if [ "$VERB" == "yes" ]; then set -x; fi if [ "$VERB" == "yes" ]; then set -x; fi
if [ "$CT_TYPE" == "1" ]; then if [ "$CT_TYPE" == "1" ]; then

View file

@ -6,7 +6,9 @@
# https://github.com/tteck/Proxmox/raw/main/LICENSE # https://github.com/tteck/Proxmox/raw/main/LICENSE
function header_info { function header_info {
cat <<"EOF" clear
cat <<"EOF"
__ ___ _ ____ ____ __ ___ _ ____ ____
/ |/ /___ ______(_)___ _/ __ \/ __ ) / |/ /___ ______(_)___ _/ __ \/ __ )
/ /|_/ / __ / ___/ / __ / / / / __ | / /|_/ / __ / ___/ / __ / / / / __ |
@ -15,7 +17,6 @@ function header_info {
EOF EOF
} }
clear
header_info header_info
echo -e "Loading..." echo -e "Loading..."
APP="MariaDB" APP="MariaDB"
@ -64,18 +65,17 @@ function msg_error() {
} }
function PVE_CHECK() { function PVE_CHECK() {
PVE=$(pveversion | grep "pve-manager/7" | wc -l) if [ $(pveversion | grep -c "pve-manager/7\.[0-9]") -eq 0 ]; then
if [[ $PVE != 1 ]]; then echo -e "${CROSS} This version of Proxmox Virtual Environment is not supported"
echo -e "${RD}This script requires Proxmox Virtual Environment 7.0 or greater${CL}" echo -e "Requires PVE Version 7.0 or higher"
echo -e "Exiting..." echo -e "Exiting..."
sleep 2 sleep 2
exit exit
fi fi
} }
function ARCH_CHECK() { function ARCH_CHECK() {
ARCH=$(dpkg --print-architecture) if [ "$(dpkg --print-architecture)" != "amd64" ]; then
if [[ "$ARCH" != "amd64" ]]; then echo -e "\n ${CROSS} This script will not work with PiMox! \n"
echo -e "\n ❌ This script will not work with PiMox! \n"
echo -e "Exiting..." echo -e "Exiting..."
sleep 2 sleep 2
exit exit
@ -338,7 +338,6 @@ function install_script() {
} }
function update_script() { function update_script() {
clear
header_info header_info
msg_info "Updating ${APP} LXC" msg_info "Updating ${APP} LXC"
apt-get update &>/dev/null apt-get update &>/dev/null
@ -347,8 +346,9 @@ msg_ok "Updated ${APP} LXC"
msg_ok "Update Successfull" msg_ok "Update Successfull"
exit exit
} }
clear
ARCH_CHECK ARCH_CHECK
PVE_CHECK
header_info
if ! command -v pveversion >/dev/null 2>&1; then update_script; else install_script; fi if ! command -v pveversion >/dev/null 2>&1; then update_script; else install_script; fi
if [ "$VERB" == "yes" ]; then set -x; fi if [ "$VERB" == "yes" ]; then set -x; fi
if [ "$CT_TYPE" == "1" ]; then if [ "$CT_TYPE" == "1" ]; then

View file

@ -6,7 +6,9 @@
# https://github.com/tteck/Proxmox/raw/main/LICENSE # https://github.com/tteck/Proxmox/raw/main/LICENSE
function header_info { function header_info {
cat <<"EOF" clear
cat <<"EOF"
__ ___ __ ______ __ __ __ ___ __ ______ __ __
/ |/ /__ _____/ /_ / ____/__ ____ / /__________ _/ / / |/ /__ _____/ /_ / ____/__ ____ / /__________ _/ /
/ /|_/ / _ \/ ___/ __ \/ / / _ \/ __ \/ __/ ___/ __ / / / /|_/ / _ \/ ___/ __ \/ / / _ \/ __ \/ __/ ___/ __ / /
@ -15,7 +17,6 @@ function header_info {
EOF EOF
} }
clear
header_info header_info
echo -e "Loading..." echo -e "Loading..."
APP="MeshCentral" APP="MeshCentral"
@ -64,18 +65,17 @@ function msg_error() {
} }
function PVE_CHECK() { function PVE_CHECK() {
PVE=$(pveversion | grep "pve-manager/7" | wc -l) if [ $(pveversion | grep -c "pve-manager/7\.[0-9]") -eq 0 ]; then
if [[ $PVE != 1 ]]; then echo -e "${CROSS} This version of Proxmox Virtual Environment is not supported"
echo -e "${RD}This script requires Proxmox Virtual Environment 7.0 or greater${CL}" echo -e "Requires PVE Version 7.0 or higher"
echo -e "Exiting..." echo -e "Exiting..."
sleep 2 sleep 2
exit exit
fi fi
} }
function ARCH_CHECK() { function ARCH_CHECK() {
ARCH=$(dpkg --print-architecture) if [ "$(dpkg --print-architecture)" != "amd64" ]; then
if [[ "$ARCH" != "amd64" ]]; then echo -e "\n ${CROSS} This script will not work with PiMox! \n"
echo -e "\n ❌ This script will not work with PiMox! \n"
echo -e "Exiting..." echo -e "Exiting..."
sleep 2 sleep 2
exit exit
@ -338,7 +338,6 @@ function install_script() {
} }
function update_script() { function update_script() {
clear
header_info header_info
msg_info "Updating ${APP} LXC" msg_info "Updating ${APP} LXC"
apt-get update &>/dev/null apt-get update &>/dev/null
@ -347,8 +346,9 @@ msg_ok "Updated ${APP} LXC"
msg_ok "Update Successfull" msg_ok "Update Successfull"
exit exit
} }
clear
ARCH_CHECK ARCH_CHECK
PVE_CHECK
header_info
if ! command -v pveversion >/dev/null 2>&1; then update_script; else install_script; fi if ! command -v pveversion >/dev/null 2>&1; then update_script; else install_script; fi
if [ "$VERB" == "yes" ]; then set -x; fi if [ "$VERB" == "yes" ]; then set -x; fi
if [ "$CT_TYPE" == "1" ]; then if [ "$CT_TYPE" == "1" ]; then

View file

@ -6,7 +6,9 @@
# https://github.com/tteck/Proxmox/raw/main/LICENSE # https://github.com/tteck/Proxmox/raw/main/LICENSE
function header_info { function header_info {
cat <<"EOF" clear
cat <<"EOF"
__ ___ __ _ __ ___ __ _
/ |/ /___ / /_(_)___ ____v5___ __ _____ / |/ /___ / /_(_)___ ____v5___ __ _____
/ /|_/ / __ \/ __/ / __ \/ __ \/ _ \/ / / / _ \ / /|_/ / __ \/ __/ / __ \/ __ \/ _ \/ / / / _ \
@ -15,7 +17,6 @@ function header_info {
/____/ /____/
EOF EOF
} }
clear
header_info header_info
echo -e "Loading..." echo -e "Loading..."
APP="Motioneye" APP="Motioneye"
@ -64,18 +65,17 @@ function msg_error() {
} }
function PVE_CHECK() { function PVE_CHECK() {
PVE=$(pveversion | grep "pve-manager/7" | wc -l) if [ $(pveversion | grep -c "pve-manager/7\.[0-9]") -eq 0 ]; then
if [[ $PVE != 1 ]]; then echo -e "${CROSS} This version of Proxmox Virtual Environment is not supported"
echo -e "${RD}This script requires Proxmox Virtual Environment 7.0 or greater${CL}" echo -e "Requires PVE Version 7.0 or higher"
echo -e "Exiting..." echo -e "Exiting..."
sleep 2 sleep 2
exit exit
fi fi
} }
function ARCH_CHECK() { function ARCH_CHECK() {
ARCH=$(dpkg --print-architecture) if [ "$(dpkg --print-architecture)" != "amd64" ]; then
if [[ "$ARCH" != "amd64" ]]; then echo -e "\n ${CROSS} This script will not work with PiMox! \n"
echo -e "\n ❌ This script will not work with PiMox! \n"
echo -e "Exiting..." echo -e "Exiting..."
sleep 2 sleep 2
exit exit
@ -338,7 +338,6 @@ function install_script() {
} }
function update_script() { function update_script() {
clear
header_info header_info
msg_info "Updating ${APP} LXC" msg_info "Updating ${APP} LXC"
pip install motioneye --upgrade &>/dev/null pip install motioneye --upgrade &>/dev/null
@ -346,8 +345,9 @@ msg_ok "Updated ${APP} LXC"
msg_ok "Update Successfull" msg_ok "Update Successfull"
exit exit
} }
clear
ARCH_CHECK ARCH_CHECK
PVE_CHECK
header_info
if ! command -v pveversion >/dev/null 2>&1; then update_script; else install_script; fi if ! command -v pveversion >/dev/null 2>&1; then update_script; else install_script; fi
if [ "$VERB" == "yes" ]; then set -x; fi if [ "$VERB" == "yes" ]; then set -x; fi
if [ "$CT_TYPE" == "1" ]; then if [ "$CT_TYPE" == "1" ]; then

View file

@ -6,6 +6,7 @@
# https://github.com/tteck/Proxmox/raw/main/LICENSE # https://github.com/tteck/Proxmox/raw/main/LICENSE
function header_info { function header_info {
clear
cat <<"EOF" cat <<"EOF"
__ ___ ____ _ ____________ __ ___ ____ _ ____________
/ |/ /___v5_____/ __ \__ __(_)_ __/_ __/___ / |/ /___v5_____/ __ \__ __(_)_ __/_ __/___
@ -15,7 +16,6 @@ cat <<"EOF"
EOF EOF
} }
clear
header_info header_info
echo -e "Loading..." echo -e "Loading..."
APP="MQTT" APP="MQTT"
@ -64,18 +64,17 @@ function msg_error() {
} }
function PVE_CHECK() { function PVE_CHECK() {
PVE=$(pveversion | grep "pve-manager/7" | wc -l) if [ $(pveversion | grep -c "pve-manager/7\.[0-9]") -eq 0 ]; then
if [[ $PVE != 1 ]]; then echo -e "${CROSS} This version of Proxmox Virtual Environment is not supported"
echo -e "${RD}This script requires Proxmox Virtual Environment 7.0 or greater${CL}" echo -e "Requires PVE Version 7.0 or higher"
echo -e "Exiting..." echo -e "Exiting..."
sleep 2 sleep 2
exit exit
fi fi
} }
function ARCH_CHECK() { function ARCH_CHECK() {
ARCH=$(dpkg --print-architecture) if [ "$(dpkg --print-architecture)" != "amd64" ]; then
if [[ "$ARCH" != "amd64" ]]; then echo -e "\n ${CROSS} This script will not work with PiMox! \n"
echo -e "\n ❌ This script will not work with PiMox! \n"
echo -e "Exiting..." echo -e "Exiting..."
sleep 2 sleep 2
exit exit
@ -337,7 +336,6 @@ function install_script() {
} }
function update_script() { function update_script() {
clear
header_info header_info
msg_info "Updating ${APP} LXC" msg_info "Updating ${APP} LXC"
apt-get update &>/dev/null apt-get update &>/dev/null
@ -347,8 +345,9 @@ msg_ok "Update Successfull"
exit exit
} }
clear
ARCH_CHECK ARCH_CHECK
PVE_CHECK
header_info
if ! command -v pveversion >/dev/null 2>&1; then update_script; else install_script; fi if ! command -v pveversion >/dev/null 2>&1; then update_script; else install_script; fi
if [ "$VERB" == "yes" ]; then set -x; fi if [ "$VERB" == "yes" ]; then set -x; fi
if [ "$CT_TYPE" == "1" ]; then if [ "$CT_TYPE" == "1" ]; then

View file

@ -6,7 +6,9 @@
# https://github.com/tteck/Proxmox/raw/main/LICENSE # https://github.com/tteck/Proxmox/raw/main/LICENSE
function header_info { function header_info {
cat <<"EOF" clear
cat <<"EOF"
___ ___
/ _ \ / _ \
_ __ | (_) |_v5_ _ __ | (_) |_v5_
@ -16,7 +18,6 @@ function header_info {
EOF EOF
} }
clear
header_info header_info
echo -e "Loading..." echo -e "Loading..."
APP="n8n" APP="n8n"
@ -65,18 +66,17 @@ function msg_error() {
} }
function PVE_CHECK() { function PVE_CHECK() {
PVE=$(pveversion | grep "pve-manager/7" | wc -l) if [ $(pveversion | grep -c "pve-manager/7\.[0-9]") -eq 0 ]; then
if [[ $PVE != 1 ]]; then echo -e "${CROSS} This version of Proxmox Virtual Environment is not supported"
echo -e "${RD}This script requires Proxmox Virtual Environment 7.0 or greater${CL}" echo -e "Requires PVE Version 7.0 or higher"
echo -e "Exiting..." echo -e "Exiting..."
sleep 2 sleep 2
exit exit
fi fi
} }
function ARCH_CHECK() { function ARCH_CHECK() {
ARCH=$(dpkg --print-architecture) if [ "$(dpkg --print-architecture)" != "amd64" ]; then
if [[ "$ARCH" != "amd64" ]]; then echo -e "\n ${CROSS} This script will not work with PiMox! \n"
echo -e "\n ❌ This script will not work with PiMox! \n"
echo -e "Exiting..." echo -e "Exiting..."
sleep 2 sleep 2
exit exit
@ -339,7 +339,6 @@ function install_script() {
} }
function update_script() { function update_script() {
clear
header_info header_info
msg_info "Updating ${APP} LXC" msg_info "Updating ${APP} LXC"
npm update -g n8n &>/dev/null npm update -g n8n &>/dev/null
@ -347,8 +346,9 @@ msg_ok "Updated ${APP} LXC"
msg_ok "Update Successfull" msg_ok "Update Successfull"
exit exit
} }
clear
ARCH_CHECK ARCH_CHECK
PVE_CHECK
header_info
if ! command -v pveversion >/dev/null 2>&1; then update_script; else install_script; fi if ! command -v pveversion >/dev/null 2>&1; then update_script; else install_script; fi
if [ "$VERB" == "yes" ]; then set -x; fi if [ "$VERB" == "yes" ]; then set -x; fi
if [ "$CT_TYPE" == "1" ]; then if [ "$CT_TYPE" == "1" ]; then

View file

@ -6,7 +6,9 @@
# https://github.com/tteck/Proxmox/raw/main/LICENSE # https://github.com/tteck/Proxmox/raw/main/LICENSE
function header_info { function header_info {
cat <<"EOF" clear
cat <<"EOF"
_ __ _ __ _ __ _ __
/ | / /___ __ v5__(_)___/ /________ ____ ___ ___ / | / /___ __ v5__(_)___/ /________ ____ ___ ___
/ |/ / __ / | / / / __ / ___/ __ \/ __ __ \/ _ \ / |/ / __ / | / / / __ / ___/ __ \/ __ __ \/ _ \
@ -15,7 +17,6 @@ function header_info {
EOF EOF
} }
clear
header_info header_info
echo -e "Loading..." echo -e "Loading..."
APP="Navidrome" APP="Navidrome"
@ -64,18 +65,17 @@ function msg_error() {
} }
function PVE_CHECK() { function PVE_CHECK() {
PVE=$(pveversion | grep "pve-manager/7" | wc -l) if [ $(pveversion | grep -c "pve-manager/7\.[0-9]") -eq 0 ]; then
if [[ $PVE != 1 ]]; then echo -e "${CROSS} This version of Proxmox Virtual Environment is not supported"
echo -e "${RD}This script requires Proxmox Virtual Environment 7.0 or greater${CL}" echo -e "Requires PVE Version 7.0 or higher"
echo -e "Exiting..." echo -e "Exiting..."
sleep 2 sleep 2
exit exit
fi fi
} }
function ARCH_CHECK() { function ARCH_CHECK() {
ARCH=$(dpkg --print-architecture) if [ "$(dpkg --print-architecture)" != "amd64" ]; then
if [[ "$ARCH" != "amd64" ]]; then echo -e "\n ${CROSS} This script will not work with PiMox! \n"
echo -e "\n ❌ This script will not work with PiMox! \n"
echo -e "Exiting..." echo -e "Exiting..."
sleep 2 sleep 2
exit exit
@ -338,7 +338,6 @@ function install_script() {
} }
function update_script() { function update_script() {
clear
header_info header_info
RELEASE=$(curl -s https://api.github.com/repos/navidrome/navidrome/releases/latest | grep "tag_name" | awk '{print substr($2, 3, length($2)-4) }') RELEASE=$(curl -s https://api.github.com/repos/navidrome/navidrome/releases/latest | grep "tag_name" | awk '{print substr($2, 3, length($2)-4) }')
msg_info "Stopping ${APP}" msg_info "Stopping ${APP}"
@ -358,8 +357,9 @@ msg_ok "Update Successfull"
exit exit
} }
clear
ARCH_CHECK ARCH_CHECK
PVE_CHECK
header_info
if ! command -v pveversion >/dev/null 2>&1; then update_script; else install_script; fi if ! command -v pveversion >/dev/null 2>&1; then update_script; else install_script; fi
if [ "$VERB" == "yes" ]; then set -x; fi if [ "$VERB" == "yes" ]; then set -x; fi
if [ "$CT_TYPE" == "1" ]; then if [ "$CT_TYPE" == "1" ]; then

View file

@ -6,7 +6,9 @@
# https://github.com/tteck/Proxmox/raw/main/LICENSE # https://github.com/tteck/Proxmox/raw/main/LICENSE
function header_info { function header_info {
cat <<"EOF" clear
cat <<"EOF"
_ __ __ ________ ______ _ _ __ __ ________ ______ _
/ | / /__ _ __/ /_/ ____/ /___ __v5______/ / __ \(_) / | / /__ _ __/ /_/ ____/ /___ __v5______/ / __ \(_)
/ |/ / _ \| |/_/ __/ / / / __ \/ / / / __ / /_/ / / / |/ / _ \| |/_/ __/ / / / __ \/ / / / __ / /_/ / /
@ -15,7 +17,6 @@ function header_info {
EOF EOF
} }
clear
header_info header_info
echo -e "Loading..." echo -e "Loading..."
APP="NextCloudPi" APP="NextCloudPi"
@ -64,18 +65,17 @@ function msg_error() {
} }
function PVE_CHECK() { function PVE_CHECK() {
PVE=$(pveversion | grep "pve-manager/7" | wc -l) if [ $(pveversion | grep -c "pve-manager/7\.[0-9]") -eq 0 ]; then
if [[ $PVE != 1 ]]; then echo -e "${CROSS} This version of Proxmox Virtual Environment is not supported"
echo -e "${RD}This script requires Proxmox Virtual Environment 7.0 or greater${CL}" echo -e "Requires PVE Version 7.0 or higher"
echo -e "Exiting..." echo -e "Exiting..."
sleep 2 sleep 2
exit exit
fi fi
} }
function ARCH_CHECK() { function ARCH_CHECK() {
ARCH=$(dpkg --print-architecture) if [ "$(dpkg --print-architecture)" != "amd64" ]; then
if [[ "$ARCH" != "amd64" ]]; then echo -e "\n ${CROSS} This script will not work with PiMox! \n"
echo -e "\n ❌ This script will not work with PiMox! \n"
echo -e "Exiting..." echo -e "Exiting..."
sleep 2 sleep 2
exit exit
@ -338,7 +338,6 @@ function install_script() {
} }
function update_script() { function update_script() {
clear
header_info header_info
msg_info "Updating ${APP} LXC" msg_info "Updating ${APP} LXC"
apt-get update &>/dev/null apt-get update &>/dev/null
@ -347,8 +346,9 @@ msg_ok "Updated ${APP} LXC"
msg_ok "Update Successfull" msg_ok "Update Successfull"
exit exit
} }
clear
ARCH_CHECK ARCH_CHECK
PVE_CHECK
header_info
if ! command -v pveversion >/dev/null 2>&1; then update_script; else install_script; fi if ! command -v pveversion >/dev/null 2>&1; then update_script; else install_script; fi
if [ "$VERB" == "yes" ]; then set -x; fi if [ "$VERB" == "yes" ]; then set -x; fi
if [ "$CT_TYPE" == "1" ]; then if [ "$CT_TYPE" == "1" ]; then

View file

@ -6,7 +6,9 @@
# https://github.com/tteck/Proxmox/raw/main/LICENSE # https://github.com/tteck/Proxmox/raw/main/LICENSE
function header_info { function header_info {
cat <<"EOF" clear
cat <<"EOF"
_ __ _ ____ __ ___ _ __ _ ____ __ ___
/ | / /___ _(_)___ _ __ / __ \_________ _ ____ __ / |/ /___ _____ ____ _____ ____ _____ / | / /___ _(_)___ _ __ / __ \_________ _ ____ __ / |/ /___ _____ ____ _____ ____ _____
/ |/ / __ / / __ \| |/_/ / /_/ / ___/ __ \| |/_/ / / / / /|_/ / __ / __ \/ __ / __ / _ \/ ___/ / |/ / __ / / __ \| |/_/ / /_/ / ___/ __ \| |/_/ / / / / /|_/ / __ / __ \/ __ / __ / _ \/ ___/
@ -16,7 +18,6 @@ function header_info {
EOF EOF
} }
clear
header_info header_info
echo -e "Loading..." echo -e "Loading..."
APP="Nginx Proxy Manager" APP="Nginx Proxy Manager"
@ -65,18 +66,17 @@ function msg_error() {
} }
function PVE_CHECK() { function PVE_CHECK() {
PVE=$(pveversion | grep "pve-manager/7" | wc -l) if [ $(pveversion | grep -c "pve-manager/7\.[0-9]") -eq 0 ]; then
if [[ $PVE != 1 ]]; then echo -e "${CROSS} This version of Proxmox Virtual Environment is not supported"
echo -e "${RD}This script requires Proxmox Virtual Environment 7.0 or greater${CL}" echo -e "Requires PVE Version 7.0 or higher"
echo -e "Exiting..." echo -e "Exiting..."
sleep 2 sleep 2
exit exit
fi fi
} }
function ARCH_CHECK() { function ARCH_CHECK() {
ARCH=$(dpkg --print-architecture) if [ "$(dpkg --print-architecture)" != "amd64" ]; then
if [[ "$ARCH" != "amd64" ]]; then echo -e "\n ${CROSS} This script will not work with PiMox! \n"
echo -e "\n ❌ This script will not work with PiMox! \n"
echo -e "Exiting..." echo -e "Exiting..."
sleep 2 sleep 2
exit exit
@ -339,7 +339,6 @@ function install_script() {
} }
function update_script() { function update_script() {
clear
header_info header_info
RELEASE=$(curl -s https://api.github.com/repos/NginxProxyManager/nginx-proxy-manager/releases/latest | RELEASE=$(curl -s https://api.github.com/repos/NginxProxyManager/nginx-proxy-manager/releases/latest |
grep "tag_name" | grep "tag_name" |
@ -456,8 +455,9 @@ msg_ok "Cleaned"
msg_ok "Update Successfull" msg_ok "Update Successfull"
exit exit
} }
clear
ARCH_CHECK ARCH_CHECK
PVE_CHECK
header_info
if ! command -v pveversion >/dev/null 2>&1; then update_script; else install_script; fi if ! command -v pveversion >/dev/null 2>&1; then update_script; else install_script; fi
if [ "$VERB" == "yes" ]; then set -x; fi if [ "$VERB" == "yes" ]; then set -x; fi
if [ "$CT_TYPE" == "1" ]; then if [ "$CT_TYPE" == "1" ]; then

View file

@ -6,7 +6,9 @@
# https://github.com/tteck/Proxmox/raw/main/LICENSE # https://github.com/tteck/Proxmox/raw/main/LICENSE
function header_info { function header_info {
cat <<"EOF" clear
cat <<"EOF"
_ __ ____ ____ _ __ ____ ____
/ | / /___ ____v5___ / __ \/ __ ) / | / /___ ____v5___ / __ \/ __ )
/ |/ / __ \/ ___/ __ \/ / / / __ | / |/ / __ \/ ___/ __ \/ / / / __ |
@ -15,7 +17,6 @@ function header_info {
EOF EOF
} }
clear
header_info header_info
echo -e "Loading..." echo -e "Loading..."
APP="NocoDB" APP="NocoDB"
@ -64,18 +65,17 @@ function msg_error() {
} }
function PVE_CHECK() { function PVE_CHECK() {
PVE=$(pveversion | grep "pve-manager/7" | wc -l) if [ $(pveversion | grep -c "pve-manager/7\.[0-9]") -eq 0 ]; then
if [[ $PVE != 1 ]]; then echo -e "${CROSS} This version of Proxmox Virtual Environment is not supported"
echo -e "${RD}This script requires Proxmox Virtual Environment 7.0 or greater${CL}" echo -e "Requires PVE Version 7.0 or higher"
echo -e "Exiting..." echo -e "Exiting..."
sleep 2 sleep 2
exit exit
fi fi
} }
function ARCH_CHECK() { function ARCH_CHECK() {
ARCH=$(dpkg --print-architecture) if [ "$(dpkg --print-architecture)" != "amd64" ]; then
if [[ "$ARCH" != "amd64" ]]; then echo -e "\n ${CROSS} This script will not work with PiMox! \n"
echo -e "\n ❌ This script will not work with PiMox! \n"
echo -e "Exiting..." echo -e "Exiting..."
sleep 2 sleep 2
exit exit
@ -338,7 +338,6 @@ function install_script() {
} }
function update_script() { function update_script() {
clear
header_info header_info
msg_info "Updating ${APP}" msg_info "Updating ${APP}"
cd /opt/nocodb cd /opt/nocodb
@ -350,8 +349,9 @@ msg_ok "Update Successfull"
exit exit
} }
clear
ARCH_CHECK ARCH_CHECK
PVE_CHECK
header_info
if ! command -v pveversion >/dev/null 2>&1; then update_script; else install_script; fi if ! command -v pveversion >/dev/null 2>&1; then update_script; else install_script; fi
if [ "$VERB" == "yes" ]; then set -x; fi if [ "$VERB" == "yes" ]; then set -x; fi
if [ "$CT_TYPE" == "1" ]; then if [ "$CT_TYPE" == "1" ]; then

View file

@ -6,7 +6,9 @@
# https://github.com/tteck/Proxmox/raw/main/LICENSE # https://github.com/tteck/Proxmox/raw/main/LICENSE
function header_info { function header_info {
cat <<"EOF" clear
cat <<"EOF"
_ __ __ ____ __ _ __ __ ____ __
/ | / /___ ____/ /__ v5 / __ \___ ____/ / / | / /___ ____/ /__ v5 / __ \___ ____/ /
/ |/ / __ \/ __ / _ \ / /_/ / _ \/ __ / / |/ / __ \/ __ / _ \ / /_/ / _ \/ __ /
@ -15,7 +17,6 @@ function header_info {
EOF EOF
} }
clear
header_info header_info
echo -e "Loading..." echo -e "Loading..."
APP="Node-Red" APP="Node-Red"
@ -64,18 +65,17 @@ function msg_error() {
} }
function PVE_CHECK() { function PVE_CHECK() {
PVE=$(pveversion | grep "pve-manager/7" | wc -l) if [ $(pveversion | grep -c "pve-manager/7\.[0-9]") -eq 0 ]; then
if [[ $PVE != 1 ]]; then echo -e "${CROSS} This version of Proxmox Virtual Environment is not supported"
echo -e "${RD}This script requires Proxmox Virtual Environment 7.0 or greater${CL}" echo -e "Requires PVE Version 7.0 or higher"
echo -e "Exiting..." echo -e "Exiting..."
sleep 2 sleep 2
exit exit
fi fi
} }
function ARCH_CHECK() { function ARCH_CHECK() {
ARCH=$(dpkg --print-architecture) if [ "$(dpkg --print-architecture)" != "amd64" ]; then
if [[ "$ARCH" != "amd64" ]]; then echo -e "\n ${CROSS} This script will not work with PiMox! \n"
echo -e "\n ❌ This script will not work with PiMox! \n"
echo -e "Exiting..." echo -e "Exiting..."
sleep 2 sleep 2
exit exit
@ -341,7 +341,6 @@ UPD=$(whiptail --title "SUPPORT" --radiolist --cancel-button Exit-Script "Spaceb
"1" "Update ${APP}" ON \ "1" "Update ${APP}" ON \
"2" "Install Themes" OFF \ "2" "Install Themes" OFF \
3>&1 1>&2 2>&3) 3>&1 1>&2 2>&3)
clear
header_info header_info
if [ "$UPD" == "1" ]; then if [ "$UPD" == "1" ]; then
msg_info "Stopping ${APP}" msg_info "Stopping ${APP}"
@ -367,7 +366,6 @@ THEME=$(whiptail --title "NODE-RED THEMES" --radiolist --cancel-button Exit-Scri
"solarized-dark" "" OFF \ "solarized-dark" "" OFF \
"solarized-light" "" OFF \ "solarized-light" "" OFF \
3>&1 1>&2 2>&3) 3>&1 1>&2 2>&3)
clear
header_info header_info
msg_info "Installing ${THEME} Theme" msg_info "Installing ${THEME} Theme"
cd /root/.node-red cd /root/.node-red
@ -383,8 +381,9 @@ exit
fi fi
} }
clear
ARCH_CHECK ARCH_CHECK
PVE_CHECK
header_info
if ! command -v pveversion >/dev/null 2>&1; then update_script; else install_script; fi if ! command -v pveversion >/dev/null 2>&1; then update_script; else install_script; fi
if [ "$VERB" == "yes" ]; then set -x; fi if [ "$VERB" == "yes" ]; then set -x; fi
if [ "$CT_TYPE" == "1" ]; then if [ "$CT_TYPE" == "1" ]; then

View file

@ -6,7 +6,9 @@
# https://github.com/tteck/Proxmox/raw/main/LICENSE # https://github.com/tteck/Proxmox/raw/main/LICENSE
function header_info { function header_info {
cat <<"EOF" clear
cat <<"EOF"
____ __ ____ __
/ __ \____ ___v5____ _____/ /___ _ / __ \____ ___v5____ _____/ /___ _
/ / / / __ __ \/ __ / __ / __ / / / / / __ __ \/ __ / __ / __ /
@ -15,7 +17,6 @@ function header_info {
EOF EOF
} }
clear
header_info header_info
echo -e "Loading..." echo -e "Loading..."
APP="Omada" APP="Omada"
@ -64,18 +65,17 @@ function msg_error() {
} }
function PVE_CHECK() { function PVE_CHECK() {
PVE=$(pveversion | grep "pve-manager/7" | wc -l) if [ $(pveversion | grep -c "pve-manager/7\.[0-9]") -eq 0 ]; then
if [[ $PVE != 1 ]]; then echo -e "${CROSS} This version of Proxmox Virtual Environment is not supported"
echo -e "${RD}This script requires Proxmox Virtual Environment 7.0 or greater${CL}" echo -e "Requires PVE Version 7.0 or higher"
echo -e "Exiting..." echo -e "Exiting..."
sleep 2 sleep 2
exit exit
fi fi
} }
function ARCH_CHECK() { function ARCH_CHECK() {
ARCH=$(dpkg --print-architecture) if [ "$(dpkg --print-architecture)" != "amd64" ]; then
if [[ "$ARCH" != "amd64" ]]; then echo -e "\n ${CROSS} This script will not work with PiMox! \n"
echo -e "\n ❌ This script will not work with PiMox! \n"
echo -e "Exiting..." echo -e "Exiting..."
sleep 2 sleep 2
exit exit
@ -345,8 +345,9 @@ function install_script() {
advanced_settings advanced_settings
fi fi
} }
clear
ARCH_CHECK ARCH_CHECK
PVE_CHECK
header_info
if ! command -v pveversion >/dev/null 2>&1; then update_script; else install_script; fi if ! command -v pveversion >/dev/null 2>&1; then update_script; else install_script; fi
if [ "$VERB" == "yes" ]; then set -x; fi if [ "$VERB" == "yes" ]; then set -x; fi
if [ "$CT_TYPE" == "1" ]; then if [ "$CT_TYPE" == "1" ]; then

View file

@ -6,7 +6,9 @@
# https://github.com/tteck/Proxmox/raw/main/LICENSE # https://github.com/tteck/Proxmox/raw/main/LICENSE
function header_info { function header_info {
cat <<"EOF" clear
cat <<"EOF"
____ __ ___ ___ _ __ ____ ____ __ ___ ___ _ __ ____
/ __ \____v5___ ____ / |/ /__ ____/ (_)___ | | / /___ ___ __/ / /_ / __ \____v5___ ____ / |/ /__ ____/ (_)___ | | / /___ ___ __/ / /_
/ / / / __ \/ _ \/ __ \/ /|_/ / _ \/ __ / / __ `/ | / / __ `/ / / / / __/ / / / / __ \/ _ \/ __ \/ /|_/ / _ \/ __ / / __ `/ | / / __ `/ / / / / __/
@ -16,7 +18,6 @@ function header_info {
EOF EOF
} }
clear
header_info header_info
echo -e "Loading..." echo -e "Loading..."
APP="OMV" APP="OMV"
@ -65,18 +66,17 @@ function msg_error() {
} }
function PVE_CHECK() { function PVE_CHECK() {
PVE=$(pveversion | grep "pve-manager/7" | wc -l) if [ $(pveversion | grep -c "pve-manager/7\.[0-9]") -eq 0 ]; then
if [[ $PVE != 1 ]]; then echo -e "${CROSS} This version of Proxmox Virtual Environment is not supported"
echo -e "${RD}This script requires Proxmox Virtual Environment 7.0 or greater${CL}" echo -e "Requires PVE Version 7.0 or higher"
echo -e "Exiting..." echo -e "Exiting..."
sleep 2 sleep 2
exit exit
fi fi
} }
function ARCH_CHECK() { function ARCH_CHECK() {
ARCH=$(dpkg --print-architecture) if [ "$(dpkg --print-architecture)" != "amd64" ]; then
if [[ "$ARCH" != "amd64" ]]; then echo -e "\n ${CROSS} This script will not work with PiMox! \n"
echo -e "\n ❌ This script will not work with PiMox! \n"
echo -e "Exiting..." echo -e "Exiting..."
sleep 2 sleep 2
exit exit
@ -339,7 +339,6 @@ function install_script() {
} }
function update_script() { function update_script() {
clear
header_info header_info
msg_info "Updating ${APP} LXC" msg_info "Updating ${APP} LXC"
apt-get update &>/dev/null apt-get update &>/dev/null
@ -348,8 +347,9 @@ msg_ok "Updated ${APP} LXC"
msg_ok "Update Successfull" msg_ok "Update Successfull"
exit exit
} }
clear
ARCH_CHECK ARCH_CHECK
PVE_CHECK
header_info
if ! command -v pveversion >/dev/null 2>&1; then update_script; else install_script; fi if ! command -v pveversion >/dev/null 2>&1; then update_script; else install_script; fi
if [ "$VERB" == "yes" ]; then set -x; fi if [ "$VERB" == "yes" ]; then set -x; fi
if [ "$CT_TYPE" == "1" ]; then if [ "$CT_TYPE" == "1" ]; then

View file

@ -6,7 +6,9 @@
# https://github.com/tteck/Proxmox/raw/main/LICENSE # https://github.com/tteck/Proxmox/raw/main/LICENSE
function header_info { function header_info {
cat <<"EOF" clear
cat <<"EOF"
__ _____ ____ __ _____ ____
____v5____ ___ ____ / / / / | / __ ) ____v5____ ___ ____ / / / / | / __ )
/ __ \/ __ \/ _ \/ __ \/ /_/ / /| | / __ | / __ \/ __ \/ _ \/ __ \/ /_/ / /| | / __ |
@ -16,7 +18,6 @@ function header_info {
EOF EOF
} }
clear
header_info header_info
echo -e "Loading..." echo -e "Loading..."
APP="openHAB" APP="openHAB"
@ -65,18 +66,17 @@ function msg_error() {
} }
function PVE_CHECK() { function PVE_CHECK() {
PVE=$(pveversion | grep "pve-manager/7" | wc -l) if [ $(pveversion | grep -c "pve-manager/7\.[0-9]") -eq 0 ]; then
if [[ $PVE != 1 ]]; then echo -e "${CROSS} This version of Proxmox Virtual Environment is not supported"
echo -e "${RD}This script requires Proxmox Virtual Environment 7.0 or greater${CL}" echo -e "Requires PVE Version 7.0 or higher"
echo -e "Exiting..." echo -e "Exiting..."
sleep 2 sleep 2
exit exit
fi fi
} }
function ARCH_CHECK() { function ARCH_CHECK() {
ARCH=$(dpkg --print-architecture) if [ "$(dpkg --print-architecture)" != "amd64" ]; then
if [[ "$ARCH" != "amd64" ]]; then echo -e "\n ${CROSS} This script will not work with PiMox! \n"
echo -e "\n ❌ This script will not work with PiMox! \n"
echo -e "Exiting..." echo -e "Exiting..."
sleep 2 sleep 2
exit exit
@ -339,7 +339,6 @@ function install_script() {
} }
function update_script() { function update_script() {
clear
header_info header_info
msg_info "Updating ${APP} LXC" msg_info "Updating ${APP} LXC"
apt-get update &>/dev/null apt-get update &>/dev/null
@ -348,8 +347,9 @@ msg_ok "Updated ${APP} LXC"
msg_ok "Update Successfull" msg_ok "Update Successfull"
exit exit
} }
clear
ARCH_CHECK ARCH_CHECK
PVE_CHECK
header_info
if ! command -v pveversion >/dev/null 2>&1; then update_script; else install_script; fi if ! command -v pveversion >/dev/null 2>&1; then update_script; else install_script; fi
if [ "$VERB" == "yes" ]; then set -x; fi if [ "$VERB" == "yes" ]; then set -x; fi
if [ "$CT_TYPE" == "1" ]; then if [ "$CT_TYPE" == "1" ]; then

View file

@ -6,7 +6,9 @@
# https://github.com/tteck/Proxmox/raw/main/LICENSE # https://github.com/tteck/Proxmox/raw/main/LICENSE
function header_info { function header_info {
cat <<"EOF" clear
cat <<"EOF"
____ __ ____ __
/ __ \____ _____ ___ _____/ /__v5__________ ____ ____ __ __ / __ \____ _____ ___ _____/ /__v5__________ ____ ____ __ __
/ /_/ / __ `/ __ \/ _ \/ ___/ / _ \/ ___/ ___/___/ __ \/ __ `/ |/_/ / /_/ / __ `/ __ \/ _ \/ ___/ / _ \/ ___/ ___/___/ __ \/ __ `/ |/_/
@ -16,7 +18,6 @@ function header_info {
EOF EOF
} }
clear
header_info header_info
echo -e "Loading..." echo -e "Loading..."
APP="Paperless-ngx" APP="Paperless-ngx"
@ -65,18 +66,17 @@ function msg_error() {
} }
function PVE_CHECK() { function PVE_CHECK() {
PVE=$(pveversion | grep "pve-manager/7" | wc -l) if [ $(pveversion | grep -c "pve-manager/7\.[0-9]") -eq 0 ]; then
if [[ $PVE != 1 ]]; then echo -e "${CROSS} This version of Proxmox Virtual Environment is not supported"
echo -e "${RD}This script requires Proxmox Virtual Environment 7.0 or greater${CL}" echo -e "Requires PVE Version 7.0 or higher"
echo -e "Exiting..." echo -e "Exiting..."
sleep 2 sleep 2
exit exit
fi fi
} }
function ARCH_CHECK() { function ARCH_CHECK() {
ARCH=$(dpkg --print-architecture) if [ "$(dpkg --print-architecture)" != "amd64" ]; then
if [[ "$ARCH" != "amd64" ]]; then echo -e "\n ${CROSS} This script will not work with PiMox! \n"
echo -e "\n ❌ This script will not work with PiMox! \n"
echo -e "Exiting..." echo -e "Exiting..."
sleep 2 sleep 2
exit exit
@ -345,7 +345,6 @@ UPD=$(whiptail --title "SUPPORT" --radiolist --cancel-button Exit-Script "Spaceb
"1" "Update Paperless-ngx to $RELEASE" ON \ "1" "Update Paperless-ngx to $RELEASE" ON \
"2" "Paperless-ngx Credentials" OFF \ "2" "Paperless-ngx Credentials" OFF \
3>&1 1>&2 2>&3) 3>&1 1>&2 2>&3)
clear
header_info header_info
if [ "$UPD" == "1" ]; then if [ "$UPD" == "1" ]; then
msg_info "Stopping Paperless-ngx" msg_info "Stopping Paperless-ngx"
@ -415,8 +414,9 @@ exit
fi fi
} }
clear
ARCH_CHECK ARCH_CHECK
PVE_CHECK
header_info
if ! command -v pveversion >/dev/null 2>&1; then update_script; else install_script; fi if ! command -v pveversion >/dev/null 2>&1; then update_script; else install_script; fi
if [ "$VERB" == "yes" ]; then set -x; fi if [ "$VERB" == "yes" ]; then set -x; fi
if [ "$CT_TYPE" == "1" ]; then if [ "$CT_TYPE" == "1" ]; then

View file

@ -6,7 +6,9 @@
# https://github.com/tteck/Proxmox/raw/main/LICENSE # https://github.com/tteck/Proxmox/raw/main/LICENSE
function header_info { function header_info {
cat <<"EOF" clear
cat <<"EOF"
____ __ ______ __________ ____ ____ _________ __ ___ ____ __ ______ __________ ____ ____ _________ __ ___
/ __ \/ / / / __ \/_ __/ __ \/ __ \/ __ \/ _/ ___// |/ / / __ \/ / / / __ \/_ __/ __ \/ __ \/ __ \/ _/ ___// |/ /
/ /_/ / /_/ / / / / / / / / / / /_/ / /_/ // / \__ \/ /|_/ / / /_/ / /_/ / / / / / / / / / / /_/ / /_/ // / \__ \/ /|_/ /
@ -15,7 +17,6 @@ function header_info {
EOF EOF
} }
clear
header_info header_info
echo -e "Loading..." echo -e "Loading..."
APP="PhotoPrism" APP="PhotoPrism"
@ -64,18 +65,17 @@ function msg_error() {
} }
function PVE_CHECK() { function PVE_CHECK() {
PVE=$(pveversion | grep "pve-manager/7" | wc -l) if [ $(pveversion | grep -c "pve-manager/7\.[0-9]") -eq 0 ]; then
if [[ $PVE != 1 ]]; then echo -e "${CROSS} This version of Proxmox Virtual Environment is not supported"
echo -e "${RD}This script requires Proxmox Virtual Environment 7.0 or greater${CL}" echo -e "Requires PVE Version 7.0 or higher"
echo -e "Exiting..." echo -e "Exiting..."
sleep 2 sleep 2
exit exit
fi fi
} }
function ARCH_CHECK() { function ARCH_CHECK() {
ARCH=$(dpkg --print-architecture) if [ "$(dpkg --print-architecture)" != "amd64" ]; then
if [[ "$ARCH" != "amd64" ]]; then echo -e "\n ${CROSS} This script will not work with PiMox! \n"
echo -e "\n ❌ This script will not work with PiMox! \n"
echo -e "Exiting..." echo -e "Exiting..."
sleep 2 sleep 2
exit exit
@ -337,7 +337,6 @@ function install_script() {
} }
function update_script() { function update_script() {
clear
header_info header_info
echo -e "\n ⚠️ Ensure you set 2vCPU & 3072MiB RAM MIMIMUM!!! \n" echo -e "\n ⚠️ Ensure you set 2vCPU & 3072MiB RAM MIMIMUM!!! \n"
msg_info "Stopping PhotoPrism" msg_info "Stopping PhotoPrism"
@ -368,8 +367,9 @@ msg_ok "Started PhotoPrism"
msg_ok "Update Successful" msg_ok "Update Successful"
exit exit
} }
clear
ARCH_CHECK ARCH_CHECK
PVE_CHECK
header_info
if ! command -v pveversion >/dev/null 2>&1; then update_script; else install_script; fi if ! command -v pveversion >/dev/null 2>&1; then update_script; else install_script; fi
if [ "$VERB" == "yes" ]; then set -x; fi if [ "$VERB" == "yes" ]; then set -x; fi
if [ "$CT_TYPE" == "1" ]; then if [ "$CT_TYPE" == "1" ]; then

View file

@ -6,7 +6,9 @@
# https://github.com/tteck/Proxmox/raw/main/LICENSE # https://github.com/tteck/Proxmox/raw/main/LICENSE
function header_info { function header_info {
cat <<"EOF" clear
cat <<"EOF"
____ ____ __ ______ __ ______ ____ ____ __ ______ __ ______
/ __ \/ _/ / / / / __ \/ / / ____/ / __ \/ _/ / / / / __ \/ / / ____/
/ /_/ // /___/ /_/ / / / / / / __/ / /_/ // /___/ /_/ / / / / / / __/
@ -15,7 +17,6 @@ function header_info {
EOF EOF
} }
clear
header_info header_info
echo -e "Loading..." echo -e "Loading..."
APP="Pihole" APP="Pihole"
@ -64,18 +65,17 @@ function msg_error() {
} }
function PVE_CHECK() { function PVE_CHECK() {
PVE=$(pveversion | grep "pve-manager/7" | wc -l) if [ $(pveversion | grep -c "pve-manager/7\.[0-9]") -eq 0 ]; then
if [[ $PVE != 1 ]]; then echo -e "${CROSS} This version of Proxmox Virtual Environment is not supported"
echo -e "${RD}This script requires Proxmox Virtual Environment 7.0 or greater${CL}" echo -e "Requires PVE Version 7.0 or higher"
echo -e "Exiting..." echo -e "Exiting..."
sleep 2 sleep 2
exit exit
fi fi
} }
function ARCH_CHECK() { function ARCH_CHECK() {
ARCH=$(dpkg --print-architecture) if [ "$(dpkg --print-architecture)" != "amd64" ]; then
if [[ "$ARCH" != "amd64" ]]; then echo -e "\n ${CROSS} This script will not work with PiMox! \n"
echo -e "\n ❌ This script will not work with PiMox! \n"
echo -e "Exiting..." echo -e "Exiting..."
sleep 2 sleep 2
exit exit
@ -338,7 +338,6 @@ function install_script() {
} }
function update_script() { function update_script() {
clear
header_info header_info
msg_info "Updating ${APP} LXC" msg_info "Updating ${APP} LXC"
apt-get update &>/dev/null apt-get update &>/dev/null
@ -347,8 +346,9 @@ msg_ok "Updated ${APP} LXC"
msg_ok "Update Successfull" msg_ok "Update Successfull"
exit exit
} }
clear
ARCH_CHECK ARCH_CHECK
PVE_CHECK
header_info
if ! command -v pveversion >/dev/null 2>&1; then update_script; else install_script; fi if ! command -v pveversion >/dev/null 2>&1; then update_script; else install_script; fi
if [ "$VERB" == "yes" ]; then set -x; fi if [ "$VERB" == "yes" ]; then set -x; fi
if [ "$CT_TYPE" == "1" ]; then if [ "$CT_TYPE" == "1" ]; then

View file

@ -6,7 +6,9 @@
# https://github.com/tteck/Proxmox/raw/main/LICENSE # https://github.com/tteck/Proxmox/raw/main/LICENSE
function header_info { function header_info {
cat <<"EOF" clear
cat <<"EOF"
____ __ __ ___ ___ _____ ____ __ __ ___ ___ _____
/ __ \/ /__ _ __ / |/ /__v5____/ (_)___ _ / ___/___ ______ _____ _____ / __ \/ /__ _ __ / |/ /__v5____/ (_)___ _ / ___/___ ______ _____ _____
/ /_/ / / _ \| |/_/ / /|_/ / _ \/ __ / / __ `/ \__ \/ _ \/ ___/ | / / _ \/ ___/ / /_/ / / _ \| |/_/ / /|_/ / _ \/ __ / / __ `/ \__ \/ _ \/ ___/ | / / _ \/ ___/
@ -15,7 +17,6 @@ function header_info {
EOF EOF
} }
clear
header_info header_info
echo -e "Loading..." echo -e "Loading..."
APP="Plex" APP="Plex"
@ -64,18 +65,17 @@ function msg_error() {
} }
function PVE_CHECK() { function PVE_CHECK() {
PVE=$(pveversion | grep "pve-manager/7" | wc -l) if [ $(pveversion | grep -c "pve-manager/7\.[0-9]") -eq 0 ]; then
if [[ $PVE != 1 ]]; then echo -e "${CROSS} This version of Proxmox Virtual Environment is not supported"
echo -e "${RD}This script requires Proxmox Virtual Environment 7.0 or greater${CL}" echo -e "Requires PVE Version 7.0 or higher"
echo -e "Exiting..." echo -e "Exiting..."
sleep 2 sleep 2
exit exit
fi fi
} }
function ARCH_CHECK() { function ARCH_CHECK() {
ARCH=$(dpkg --print-architecture) if [ "$(dpkg --print-architecture)" != "amd64" ]; then
if [[ "$ARCH" != "amd64" ]]; then echo -e "\n ${CROSS} This script will not work with PiMox! \n"
echo -e "\n ❌ This script will not work with PiMox! \n"
echo -e "Exiting..." echo -e "Exiting..."
sleep 2 sleep 2
exit exit
@ -352,7 +352,6 @@ UPD=$(whiptail --title "SUPPORT" --radiolist --cancel-button Exit-Script "Spaceb
"2" "Run plexupdate" OFF \ "2" "Run plexupdate" OFF \
3>&1 1>&2 2>&3) 3>&1 1>&2 2>&3)
clear
header_info header_info
if [ "$UPD" == "1" ]; then if [ "$UPD" == "1" ]; then
msg_info "Updating ${APP} LXC" msg_info "Updating ${APP} LXC"
@ -366,8 +365,9 @@ bash -c "$(wget -qO - https://raw.githubusercontent.com/mrworf/plexupdate/master
exit exit
fi fi
} }
clear
ARCH_CHECK ARCH_CHECK
PVE_CHECK
header_info
if ! command -v pveversion >/dev/null 2>&1; then update_script; else install_script; fi if ! command -v pveversion >/dev/null 2>&1; then update_script; else install_script; fi
if [ "$VERB" == "yes" ]; then set -x; fi if [ "$VERB" == "yes" ]; then set -x; fi
if [ "$CT_TYPE" == "1" ]; then if [ "$CT_TYPE" == "1" ]; then

View file

@ -6,7 +6,9 @@
# https://github.com/tteck/Proxmox/raw/main/LICENSE # https://github.com/tteck/Proxmox/raw/main/LICENSE
function header_info { function header_info {
cat <<"EOF" clear
cat <<"EOF"
____ __ ____ __
/ __ \____ ____/ /___ ___ ____ _____ / __ \____ ____/ /___ ___ ____ _____
/ /_/ / __ \/ __ / __ __ \/ __ / __ \ / /_/ / __ \/ __ / __ __ \/ __ / __ \
@ -19,7 +21,6 @@ function header_info {
EOF EOF
} }
clear
header_info header_info
echo -e "Loading..." echo -e "Loading..."
APP="Podman-Home Assistant" APP="Podman-Home Assistant"
@ -68,18 +69,17 @@ function msg_error() {
} }
function PVE_CHECK() { function PVE_CHECK() {
PVE=$(pveversion | grep "pve-manager/7" | wc -l) if [ $(pveversion | grep -c "pve-manager/7\.[0-9]") -eq 0 ]; then
if [[ $PVE != 1 ]]; then echo -e "${CROSS} This version of Proxmox Virtual Environment is not supported"
echo -e "${RD}This script requires Proxmox Virtual Environment 7.0 or greater${CL}" echo -e "Requires PVE Version 7.0 or higher"
echo -e "Exiting..." echo -e "Exiting..."
sleep 2 sleep 2
exit exit
fi fi
} }
function ARCH_CHECK() { function ARCH_CHECK() {
ARCH=$(dpkg --print-architecture) if [ "$(dpkg --print-architecture)" != "amd64" ]; then
if [[ "$ARCH" != "amd64" ]]; then echo -e "\n ${CROSS} This script will not work with PiMox! \n"
echo -e "\n ❌ This script will not work with PiMox! \n"
echo -e "Exiting..." echo -e "Exiting..."
sleep 2 sleep 2
exit exit
@ -347,7 +347,6 @@ function update_script() {
"2" "Install HACS" OFF \ "2" "Install HACS" OFF \
"3" "Install FileBrowser" OFF \ "3" "Install FileBrowser" OFF \
3>&1 1>&2 2>&3) 3>&1 1>&2 2>&3)
clear
header_info header_info
if [ "$UPD" == "1" ]; then if [ "$UPD" == "1" ]; then
msg_info "Updating ${APP} LXC" msg_info "Updating ${APP} LXC"
@ -398,8 +397,9 @@ exit
fi fi
} }
clear
ARCH_CHECK ARCH_CHECK
PVE_CHECK
header_info
if ! command -v pveversion >/dev/null 2>&1; then update_script; else install_script; fi if ! command -v pveversion >/dev/null 2>&1; then update_script; else install_script; fi
if [ "$VERB" == "yes" ]; then set -x; fi if [ "$VERB" == "yes" ]; then set -x; fi
if [ "$CT_TYPE" == "1" ]; then if [ "$CT_TYPE" == "1" ]; then

View file

@ -6,7 +6,9 @@
# https://github.com/tteck/Proxmox/raw/main/LICENSE # https://github.com/tteck/Proxmox/raw/main/LICENSE
function header_info { function header_info {
cat <<"EOF" clear
cat <<"EOF"
____ __ ____ __
/ __ \____v5____/ /___ ___ ____ _____ / __ \____v5____/ /___ ___ ____ _____
/ /_/ / __ \/ __ / __ `__ \/ __ `/ __ \ / /_/ / __ \/ __ / __ `__ \/ __ `/ __ \
@ -15,7 +17,6 @@ function header_info {
EOF EOF
} }
clear
header_info header_info
echo -e "Loading..." echo -e "Loading..."
APP="Podman" APP="Podman"
@ -64,18 +65,17 @@ function msg_error() {
} }
function PVE_CHECK() { function PVE_CHECK() {
PVE=$(pveversion | grep "pve-manager/7" | wc -l) if [ $(pveversion | grep -c "pve-manager/7\.[0-9]") -eq 0 ]; then
if [[ $PVE != 1 ]]; then echo -e "${CROSS} This version of Proxmox Virtual Environment is not supported"
echo -e "${RD}This script requires Proxmox Virtual Environment 7.0 or greater${CL}" echo -e "Requires PVE Version 7.0 or higher"
echo -e "Exiting..." echo -e "Exiting..."
sleep 2 sleep 2
exit exit
fi fi
} }
function ARCH_CHECK() { function ARCH_CHECK() {
ARCH=$(dpkg --print-architecture) if [ "$(dpkg --print-architecture)" != "amd64" ]; then
if [[ "$ARCH" != "amd64" ]]; then echo -e "\n ${CROSS} This script will not work with PiMox! \n"
echo -e "\n ❌ This script will not work with PiMox! \n"
echo -e "Exiting..." echo -e "Exiting..."
sleep 2 sleep 2
exit exit
@ -338,7 +338,6 @@ function install_script() {
} }
function update_script() { function update_script() {
clear
header_info header_info
msg_info "Updating ${APP} LXC" msg_info "Updating ${APP} LXC"
apt-get update &>/dev/null apt-get update &>/dev/null
@ -347,8 +346,9 @@ msg_ok "Updated ${APP} LXC"
msg_ok "Update Successfull" msg_ok "Update Successfull"
exit exit
} }
clear
ARCH_CHECK ARCH_CHECK
PVE_CHECK
header_info
if ! command -v pveversion >/dev/null 2>&1; then update_script; else install_script; fi if ! command -v pveversion >/dev/null 2>&1; then update_script; else install_script; fi
if [ "$VERB" == "yes" ]; then set -x; fi if [ "$VERB" == "yes" ]; then set -x; fi
if [ "$CT_TYPE" == "1" ]; then if [ "$CT_TYPE" == "1" ]; then

View file

@ -6,7 +6,9 @@
# https://github.com/tteck/Proxmox/raw/main/LICENSE # https://github.com/tteck/Proxmox/raw/main/LICENSE
function header_info { function header_info {
cat <<"EOF" clear
cat <<"EOF"
____ __ _____ ____ __ ____ __ _____ ____ __
/ __ \____ _____/ /_____ _________ / ___// __ \ / / / __ \____ _____/ /_____ _________ / ___// __ \ / /
/ /_/ / __ \/ ___/ __/ __ / ___/ _ \\__ \/ / / / / / / /_/ / __ \/ ___/ __/ __ / ___/ _ \\__ \/ / / / / /
@ -15,7 +17,6 @@ function header_info {
/____/ /____/
EOF EOF
} }
clear
header_info header_info
echo -e "Loading..." echo -e "Loading..."
APP="PostgreSQL" APP="PostgreSQL"
@ -64,18 +65,17 @@ function msg_error() {
} }
function PVE_CHECK() { function PVE_CHECK() {
PVE=$(pveversion | grep "pve-manager/7" | wc -l) if [ $(pveversion | grep -c "pve-manager/7\.[0-9]") -eq 0 ]; then
if [[ $PVE != 1 ]]; then echo -e "${CROSS} This version of Proxmox Virtual Environment is not supported"
echo -e "${RD}This script requires Proxmox Virtual Environment 7.0 or greater${CL}" echo -e "Requires PVE Version 7.0 or higher"
echo -e "Exiting..." echo -e "Exiting..."
sleep 2 sleep 2
exit exit
fi fi
} }
function ARCH_CHECK() { function ARCH_CHECK() {
ARCH=$(dpkg --print-architecture) if [ "$(dpkg --print-architecture)" != "amd64" ]; then
if [[ "$ARCH" != "amd64" ]]; then echo -e "\n ${CROSS} This script will not work with PiMox! \n"
echo -e "\n ❌ This script will not work with PiMox! \n"
echo -e "Exiting..." echo -e "Exiting..."
sleep 2 sleep 2
exit exit
@ -338,7 +338,6 @@ function install_script() {
} }
function update_script() { function update_script() {
clear
header_info header_info
msg_info "Updating ${APP} LXC" msg_info "Updating ${APP} LXC"
apt-get update &>/dev/null apt-get update &>/dev/null
@ -347,8 +346,9 @@ msg_ok "Updated ${APP} LXC"
msg_ok "Update Successfull" msg_ok "Update Successfull"
exit exit
} }
clear
ARCH_CHECK ARCH_CHECK
PVE_CHECK
header_info
if ! command -v pveversion >/dev/null 2>&1; then update_script; else install_script; fi if ! command -v pveversion >/dev/null 2>&1; then update_script; else install_script; fi
if [ "$VERB" == "yes" ]; then set -x; fi if [ "$VERB" == "yes" ]; then set -x; fi
if [ "$CT_TYPE" == "1" ]; then if [ "$CT_TYPE" == "1" ]; then

View file

@ -6,7 +6,9 @@
# https://github.com/tteck/Proxmox/raw/main/LICENSE # https://github.com/tteck/Proxmox/raw/main/LICENSE
function header_info { function header_info {
cat <<"EOF" clear
cat <<"EOF"
____ __ __ ____ __ __
/ __ \_________ ____ ___ ___ / /_/ /_ ___ __ _______ / __ \_________ ____ ___ ___ / /_/ /_ ___ __ _______
/ /_/ / ___/ __ \/ __ __ \/ _ \/ __/ __ \/ _ \/ / / / ___/ / /_/ / ___/ __ \/ __ __ \/ _ \/ __/ __ \/ _ \/ / / / ___/
@ -15,7 +17,6 @@ function header_info {
EOF EOF
} }
clear
header_info header_info
echo -e "Loading..." echo -e "Loading..."
APP="Prometheus" APP="Prometheus"
@ -64,18 +65,17 @@ function msg_error() {
} }
function PVE_CHECK() { function PVE_CHECK() {
PVE=$(pveversion | grep "pve-manager/7" | wc -l) if [ $(pveversion | grep -c "pve-manager/7\.[0-9]") -eq 0 ]; then
if [[ $PVE != 1 ]]; then echo -e "${CROSS} This version of Proxmox Virtual Environment is not supported"
echo -e "${RD}This script requires Proxmox Virtual Environment 7.0 or greater${CL}" echo -e "Requires PVE Version 7.0 or higher"
echo -e "Exiting..." echo -e "Exiting..."
sleep 2 sleep 2
exit exit
fi fi
} }
function ARCH_CHECK() { function ARCH_CHECK() {
ARCH=$(dpkg --print-architecture) if [ "$(dpkg --print-architecture)" != "amd64" ]; then
if [[ "$ARCH" != "amd64" ]]; then echo -e "\n ${CROSS} This script will not work with PiMox! \n"
echo -e "\n ❌ This script will not work with PiMox! \n"
echo -e "Exiting..." echo -e "Exiting..."
sleep 2 sleep 2
exit exit
@ -338,7 +338,6 @@ function install_script() {
} }
function update_script() { function update_script() {
clear
header_info header_info
msg_info "Updating ${APP} LXC" msg_info "Updating ${APP} LXC"
apt-get update &>/dev/null apt-get update &>/dev/null
@ -347,8 +346,9 @@ msg_ok "Updated ${APP} LXC"
msg_ok "Update Successfull" msg_ok "Update Successfull"
exit exit
} }
clear
ARCH_CHECK ARCH_CHECK
PVE_CHECK
header_info
if ! command -v pveversion >/dev/null 2>&1; then update_script; else install_script; fi if ! command -v pveversion >/dev/null 2>&1; then update_script; else install_script; fi
if [ "$VERB" == "yes" ]; then set -x; fi if [ "$VERB" == "yes" ]; then set -x; fi
if [ "$CT_TYPE" == "1" ]; then if [ "$CT_TYPE" == "1" ]; then

View file

@ -6,7 +6,9 @@
# https://github.com/tteck/Proxmox/raw/main/LICENSE # https://github.com/tteck/Proxmox/raw/main/LICENSE
function header_info { function header_info {
cat <<"EOF" clear
cat <<"EOF"
____ __ ____ __
/ __ \_________ _ __/ /___v5__________ / __ \_________ _ __/ /___v5__________
/ /_/ / ___/ __ \ | /| / / / __ `/ ___/ ___/ / /_/ / ___/ __ \ | /| / / / __ `/ ___/ ___/
@ -15,7 +17,6 @@ function header_info {
EOF EOF
} }
clear
header_info header_info
echo -e "Loading..." echo -e "Loading..."
APP="Prowlarr" APP="Prowlarr"
@ -64,18 +65,17 @@ function msg_error() {
} }
function PVE_CHECK() { function PVE_CHECK() {
PVE=$(pveversion | grep "pve-manager/7" | wc -l) if [ $(pveversion | grep -c "pve-manager/7\.[0-9]") -eq 0 ]; then
if [[ $PVE != 1 ]]; then echo -e "${CROSS} This version of Proxmox Virtual Environment is not supported"
echo -e "${RD}This script requires Proxmox Virtual Environment 7.0 or greater${CL}" echo -e "Requires PVE Version 7.0 or higher"
echo -e "Exiting..." echo -e "Exiting..."
sleep 2 sleep 2
exit exit
fi fi
} }
function ARCH_CHECK() { function ARCH_CHECK() {
ARCH=$(dpkg --print-architecture) if [ "$(dpkg --print-architecture)" != "amd64" ]; then
if [[ "$ARCH" != "amd64" ]]; then echo -e "\n ${CROSS} This script will not work with PiMox! \n"
echo -e "\n ❌ This script will not work with PiMox! \n"
echo -e "Exiting..." echo -e "Exiting..."
sleep 2 sleep 2
exit exit
@ -334,7 +334,6 @@ function install_script() {
} }
function update_script() { function update_script() {
clear
header_info header_info
msg_info "Updating $APP LXC" msg_info "Updating $APP LXC"
apt-get update &>/dev/null apt-get update &>/dev/null
@ -342,8 +341,9 @@ apt-get -y upgrade &>/dev/null
msg_ok "Updated $APP LXC" msg_ok "Updated $APP LXC"
exit exit
} }
clear
ARCH_CHECK ARCH_CHECK
PVE_CHECK
header_info
if ! command -v pveversion >/dev/null 2>&1; then update_script; else install_script; fi if ! command -v pveversion >/dev/null 2>&1; then update_script; else install_script; fi
if [ "$VERB" == "yes" ]; then set -x; fi if [ "$VERB" == "yes" ]; then set -x; fi
if [ "$CT_TYPE" == "1" ]; then if [ "$CT_TYPE" == "1" ]; then

View file

@ -6,7 +6,9 @@
# https://github.com/tteck/Proxmox/raw/main/LICENSE # https://github.com/tteck/Proxmox/raw/main/LICENSE
function header_info { function header_info {
cat <<"EOF" clear
cat <<"EOF"
____ __ ____ __
/ __ \____ _____/ /___v5__________ / __ \____ _____/ /___v5__________
/ /_/ / __ `/ __ / __ `/ ___/ ___/ / /_/ / __ `/ __ / __ `/ ___/ ___/
@ -15,7 +17,6 @@ function header_info {
EOF EOF
} }
clear
header_info header_info
echo -e "Loading..." echo -e "Loading..."
APP="Radarr" APP="Radarr"
@ -64,18 +65,17 @@ function msg_error() {
} }
function PVE_CHECK() { function PVE_CHECK() {
PVE=$(pveversion | grep "pve-manager/7" | wc -l) if [ $(pveversion | grep -c "pve-manager/7\.[0-9]") -eq 0 ]; then
if [[ $PVE != 1 ]]; then echo -e "${CROSS} This version of Proxmox Virtual Environment is not supported"
echo -e "${RD}This script requires Proxmox Virtual Environment 7.0 or greater${CL}" echo -e "Requires PVE Version 7.0 or higher"
echo -e "Exiting..." echo -e "Exiting..."
sleep 2 sleep 2
exit exit
fi fi
} }
function ARCH_CHECK() { function ARCH_CHECK() {
ARCH=$(dpkg --print-architecture) if [ "$(dpkg --print-architecture)" != "amd64" ]; then
if [[ "$ARCH" != "amd64" ]]; then echo -e "\n ${CROSS} This script will not work with PiMox! \n"
echo -e "\n ❌ This script will not work with PiMox! \n"
echo -e "Exiting..." echo -e "Exiting..."
sleep 2 sleep 2
exit exit
@ -334,7 +334,6 @@ function install_script() {
} }
function update_script() { function update_script() {
clear
header_info header_info
msg_info "Updating $APP LXC" msg_info "Updating $APP LXC"
apt-get update &>/dev/null apt-get update &>/dev/null
@ -342,8 +341,9 @@ apt-get -y upgrade &>/dev/null
msg_ok "Updated $APP LXC" msg_ok "Updated $APP LXC"
exit exit
} }
clear
ARCH_CHECK ARCH_CHECK
PVE_CHECK
header_info
if ! command -v pveversion >/dev/null 2>&1; then update_script; else install_script; fi if ! command -v pveversion >/dev/null 2>&1; then update_script; else install_script; fi
if [ "$VERB" == "yes" ]; then set -x; fi if [ "$VERB" == "yes" ]; then set -x; fi
if [ "$CT_TYPE" == "1" ]; then if [ "$CT_TYPE" == "1" ]; then

View file

@ -6,7 +6,9 @@
# https://github.com/tteck/Proxmox/raw/main/LICENSE # https://github.com/tteck/Proxmox/raw/main/LICENSE
function header_info { function header_info {
cat <<"EOF" clear
cat <<"EOF"
____ __ ____ __
/ __ \___ ____ _____/ /___v5__________ / __ \___ ____ _____/ /___v5__________
/ /_/ / _ \/ __ `/ __ / __ `/ ___/ ___/ / /_/ / _ \/ __ `/ __ / __ `/ ___/ ___/
@ -15,7 +17,6 @@ function header_info {
EOF EOF
} }
clear
header_info header_info
echo -e "Loading..." echo -e "Loading..."
APP="Readarr" APP="Readarr"
@ -64,18 +65,17 @@ function msg_error() {
} }
function PVE_CHECK() { function PVE_CHECK() {
PVE=$(pveversion | grep "pve-manager/7" | wc -l) if [ $(pveversion | grep -c "pve-manager/7\.[0-9]") -eq 0 ]; then
if [[ $PVE != 1 ]]; then echo -e "${CROSS} This version of Proxmox Virtual Environment is not supported"
echo -e "${RD}This script requires Proxmox Virtual Environment 7.0 or greater${CL}" echo -e "Requires PVE Version 7.0 or higher"
echo -e "Exiting..." echo -e "Exiting..."
sleep 2 sleep 2
exit exit
fi fi
} }
function ARCH_CHECK() { function ARCH_CHECK() {
ARCH=$(dpkg --print-architecture) if [ "$(dpkg --print-architecture)" != "amd64" ]; then
if [[ "$ARCH" != "amd64" ]]; then echo -e "\n ${CROSS} This script will not work with PiMox! \n"
echo -e "\n ❌ This script will not work with PiMox! \n"
echo -e "Exiting..." echo -e "Exiting..."
sleep 2 sleep 2
exit exit
@ -334,7 +334,6 @@ function install_script() {
} }
function update_script() { function update_script() {
clear
header_info header_info
msg_info "Updating $APP LXC" msg_info "Updating $APP LXC"
apt-get update &>/dev/null apt-get update &>/dev/null
@ -342,8 +341,9 @@ apt-get -y upgrade &>/dev/null
msg_ok "Updated $APP LXC" msg_ok "Updated $APP LXC"
exit exit
} }
clear
ARCH_CHECK ARCH_CHECK
PVE_CHECK
header_info
if ! command -v pveversion >/dev/null 2>&1; then update_script; else install_script; fi if ! command -v pveversion >/dev/null 2>&1; then update_script; else install_script; fi
if [ "$VERB" == "yes" ]; then set -x; fi if [ "$VERB" == "yes" ]; then set -x; fi
if [ "$CT_TYPE" == "1" ]; then if [ "$CT_TYPE" == "1" ]; then

View file

@ -6,7 +6,9 @@
# https://github.com/tteck/Proxmox/raw/main/LICENSE # https://github.com/tteck/Proxmox/raw/main/LICENSE
function header_info { function header_info {
cat <<"EOF" clear
cat <<"EOF"
____ __ __ _ ____ __ __ _
/ __ \____ _____/ /____ __ / / (_)___v5__ ___ __ / __ \____ _____/ /____ __ / / (_)___v5__ ___ __
/ /_/ / __ \/ ___/ //_/ / / / / / / / __ \/ / / / |/_/ / /_/ / __ \/ ___/ //_/ / / / / / / / __ \/ / / / |/_/
@ -16,7 +18,6 @@ function header_info {
EOF EOF
} }
clear
header_info header_info
echo -e "Loading..." echo -e "Loading..."
APP="Rocky Linux" APP="Rocky Linux"
@ -65,18 +66,17 @@ function msg_error() {
} }
function PVE_CHECK() { function PVE_CHECK() {
PVE=$(pveversion | grep "pve-manager/7" | wc -l) if [ $(pveversion | grep -c "pve-manager/7\.[0-9]") -eq 0 ]; then
if [[ $PVE != 1 ]]; then echo -e "${CROSS} This version of Proxmox Virtual Environment is not supported"
echo -e "${RD}This script requires Proxmox Virtual Environment 7.0 or greater${CL}" echo -e "Requires PVE Version 7.0 or higher"
echo -e "Exiting..." echo -e "Exiting..."
sleep 2 sleep 2
exit exit
fi fi
} }
function ARCH_CHECK() { function ARCH_CHECK() {
ARCH=$(dpkg --print-architecture) if [ "$(dpkg --print-architecture)" != "amd64" ]; then
if [[ "$ARCH" != "amd64" ]]; then echo -e "\n ${CROSS} This script will not work with PiMox! \n"
echo -e "\n ❌ This script will not work with PiMox! \n"
echo -e "Exiting..." echo -e "Exiting..."
sleep 2 sleep 2
exit exit
@ -339,7 +339,6 @@ function install_script() {
} }
function update_script() { function update_script() {
clear
header_info header_info
msg_info "Updating ${APP} LXC" msg_info "Updating ${APP} LXC"
pacman-key --init pacman-key --init
@ -348,8 +347,9 @@ pacman -Sy archlinux-keyring && pacman -Su
msg_ok "Update Successfull" msg_ok "Update Successfull"
exit exit
} }
clear
ARCH_CHECK ARCH_CHECK
PVE_CHECK
header_info
if ! command -v pveversion >/dev/null 2>&1; then update_script; else install_script; fi if ! command -v pveversion >/dev/null 2>&1; then update_script; else install_script; fi
if [ "$VERB" == "yes" ]; then set -x; fi if [ "$VERB" == "yes" ]; then set -x; fi
if [ "$CT_TYPE" == "1" ]; then if [ "$CT_TYPE" == "1" ]; then

View file

@ -6,7 +6,9 @@
# https://github.com/tteck/Proxmox/raw/main/LICENSE # https://github.com/tteck/Proxmox/raw/main/LICENSE
function header_info { function header_info {
cat <<"EOF" clear
cat <<"EOF"
_____ ___ ____ __ __ _____ ___ ____ __ __
/ ___// | / __ )____v5____ / /_ ____/ / / ___// | / __ )____v5____ / /_ ____/ /
\__ \/ /| | / __ / __ \/_ / / __ \/ __ / \__ \/ /| | / __ / __ \/_ / / __ \/ __ /
@ -15,7 +17,6 @@ function header_info {
EOF EOF
} }
clear
header_info header_info
echo -e "Loading..." echo -e "Loading..."
APP="SABnzbd" APP="SABnzbd"
@ -64,18 +65,17 @@ function msg_error() {
} }
function PVE_CHECK() { function PVE_CHECK() {
PVE=$(pveversion | grep "pve-manager/7" | wc -l) if [ $(pveversion | grep -c "pve-manager/7\.[0-9]") -eq 0 ]; then
if [[ $PVE != 1 ]]; then echo -e "${CROSS} This version of Proxmox Virtual Environment is not supported"
echo -e "${RD}This script requires Proxmox Virtual Environment 7.0 or greater${CL}" echo -e "Requires PVE Version 7.0 or higher"
echo -e "Exiting..." echo -e "Exiting..."
sleep 2 sleep 2
exit exit
fi fi
} }
function ARCH_CHECK() { function ARCH_CHECK() {
ARCH=$(dpkg --print-architecture) if [ "$(dpkg --print-architecture)" != "amd64" ]; then
if [[ "$ARCH" != "amd64" ]]; then echo -e "\n ${CROSS} This script will not work with PiMox! \n"
echo -e "\n ❌ This script will not work with PiMox! \n"
echo -e "Exiting..." echo -e "Exiting..."
sleep 2 sleep 2
exit exit
@ -334,7 +334,6 @@ function install_script() {
} }
function update_script() { function update_script() {
clear
header_info header_info
msg_info "Updating $APP LXC" msg_info "Updating $APP LXC"
apt-get update &>/dev/null apt-get update &>/dev/null
@ -342,8 +341,9 @@ apt-get -y upgrade &>/dev/null
msg_ok "Updated $APP LXC" msg_ok "Updated $APP LXC"
exit exit
} }
clear
ARCH_CHECK ARCH_CHECK
PVE_CHECK
header_info
if ! command -v pveversion >/dev/null 2>&1; then update_script; else install_script; fi if ! command -v pveversion >/dev/null 2>&1; then update_script; else install_script; fi
if [ "$VERB" == "yes" ]; then set -x; fi if [ "$VERB" == "yes" ]; then set -x; fi
if [ "$CT_TYPE" == "1" ]; then if [ "$CT_TYPE" == "1" ]; then

View file

@ -6,7 +6,9 @@
# https://github.com/tteck/Proxmox/raw/main/LICENSE # https://github.com/tteck/Proxmox/raw/main/LICENSE
function header_info { function header_info {
cat <<"EOF" clear
cat <<"EOF"
_____ __ __ _____ __ __
/ ___/____________v5______ / /____ ____/ / / ___/____________v5______ / /____ ____/ /
\__ \/ ___/ ___/ / / / __ \/ __/ _ \/ __ / \__ \/ ___/ ___/ / / / __ \/ __/ _ \/ __ /
@ -16,7 +18,6 @@ function header_info {
EOF EOF
} }
clear
header_info header_info
echo -e "Loading..." echo -e "Loading..."
APP="Scrypted" APP="Scrypted"
@ -65,18 +66,17 @@ function msg_error() {
} }
function PVE_CHECK() { function PVE_CHECK() {
PVE=$(pveversion | grep "pve-manager/7" | wc -l) if [ $(pveversion | grep -c "pve-manager/7\.[0-9]") -eq 0 ]; then
if [[ $PVE != 1 ]]; then echo -e "${CROSS} This version of Proxmox Virtual Environment is not supported"
echo -e "${RD}This script requires Proxmox Virtual Environment 7.0 or greater${CL}" echo -e "Requires PVE Version 7.0 or higher"
echo -e "Exiting..." echo -e "Exiting..."
sleep 2 sleep 2
exit exit
fi fi
} }
function ARCH_CHECK() { function ARCH_CHECK() {
ARCH=$(dpkg --print-architecture) if [ "$(dpkg --print-architecture)" != "amd64" ]; then
if [[ "$ARCH" != "amd64" ]]; then echo -e "\n ${CROSS} This script will not work with PiMox! \n"
echo -e "\n ❌ This script will not work with PiMox! \n"
echo -e "Exiting..." echo -e "Exiting..."
sleep 2 sleep 2
exit exit
@ -339,7 +339,6 @@ function install_script() {
} }
function update_script() { function update_script() {
clear
header_info header_info
msg_info "Updating ${APP} LXC" msg_info "Updating ${APP} LXC"
apt-get update &>/dev/null apt-get update &>/dev/null
@ -348,8 +347,9 @@ msg_ok "Updated ${APP} LXC"
msg_ok "Update Successfull" msg_ok "Update Successfull"
exit exit
} }
clear
ARCH_CHECK ARCH_CHECK
PVE_CHECK
header_info
if ! command -v pveversion >/dev/null 2>&1; then update_script; else install_script; fi if ! command -v pveversion >/dev/null 2>&1; then update_script; else install_script; fi
if [ "$VERB" == "yes" ]; then set -x; fi if [ "$VERB" == "yes" ]; then set -x; fi
if [ "$CT_TYPE" == "1" ]; then if [ "$CT_TYPE" == "1" ]; then

View file

@ -6,7 +6,9 @@
# https://github.com/tteck/Proxmox/raw/main/LICENSE # https://github.com/tteck/Proxmox/raw/main/LICENSE
function header_info { function header_info {
cat <<"EOF" clear
cat <<"EOF"
_____ __ _ __ _ _____ __ _ __ _
/ ___// /_ (_)___v5____ / /_ (_) / ___// /_ (_)___v5____ / /_ (_)
\__ \/ __ \/ / __ \/ __ \/ __ \/ / \__ \/ __ \/ / __ \/ __ \/ __ \/ /
@ -15,7 +17,6 @@ function header_info {
EOF EOF
} }
clear
header_info header_info
echo -e "Loading..." echo -e "Loading..."
APP="Shinobi" APP="Shinobi"
@ -64,18 +65,17 @@ function msg_error() {
} }
function PVE_CHECK() { function PVE_CHECK() {
PVE=$(pveversion | grep "pve-manager/7" | wc -l) if [ $(pveversion | grep -c "pve-manager/7\.[0-9]") -eq 0 ]; then
if [[ $PVE != 1 ]]; then echo -e "${CROSS} This version of Proxmox Virtual Environment is not supported"
echo -e "${RD}This script requires Proxmox Virtual Environment 7.0 or greater${CL}" echo -e "Requires PVE Version 7.0 or higher"
echo -e "Exiting..." echo -e "Exiting..."
sleep 2 sleep 2
exit exit
fi fi
} }
function ARCH_CHECK() { function ARCH_CHECK() {
ARCH=$(dpkg --print-architecture) if [ "$(dpkg --print-architecture)" != "amd64" ]; then
if [[ "$ARCH" != "amd64" ]]; then echo -e "\n ${CROSS} This script will not work with PiMox! \n"
echo -e "\n ❌ This script will not work with PiMox! \n"
echo -e "Exiting..." echo -e "Exiting..."
sleep 2 sleep 2
exit exit
@ -346,7 +346,6 @@ function install_script() {
fi fi
} }
function update_script() { function update_script() {
clear
header_info header_info
msg_info "Updating Shinobi LXC" msg_info "Updating Shinobi LXC"
cd /opt/Shinobi cd /opt/Shinobi
@ -357,8 +356,9 @@ pm2 restart cron
msg_ok "Updated Shinobi LXC" msg_ok "Updated Shinobi LXC"
exit exit
} }
clear
ARCH_CHECK ARCH_CHECK
PVE_CHECK
header_info
if ! command -v pveversion >/dev/null 2>&1; then update_script; else install_script; fi if ! command -v pveversion >/dev/null 2>&1; then update_script; else install_script; fi
if [ "$VERB" == "yes" ]; then set -x; fi if [ "$VERB" == "yes" ]; then set -x; fi
if [ "$CT_TYPE" == "1" ]; then if [ "$CT_TYPE" == "1" ]; then

View file

@ -6,7 +6,9 @@
# https://github.com/tteck/Proxmox/raw/main/LICENSE # https://github.com/tteck/Proxmox/raw/main/LICENSE
function header_info { function header_info {
cat <<"EOF" clear
cat <<"EOF"
_____ _____
/ ___/____ ____ ____v5__________ / ___/____ ____ ____v5__________
\__ \/ __ \/ __ \/ __ `/ ___/ ___/ \__ \/ __ \/ __ \/ __ `/ ___/ ___/
@ -15,7 +17,6 @@ function header_info {
EOF EOF
} }
clear
header_info header_info
echo -e "Loading..." echo -e "Loading..."
APP="Sonarr" APP="Sonarr"
@ -64,18 +65,17 @@ function msg_error() {
} }
function PVE_CHECK() { function PVE_CHECK() {
PVE=$(pveversion | grep "pve-manager/7" | wc -l) if [ $(pveversion | grep -c "pve-manager/7\.[0-9]") -eq 0 ]; then
if [[ $PVE != 1 ]]; then echo -e "${CROSS} This version of Proxmox Virtual Environment is not supported"
echo -e "${RD}This script requires Proxmox Virtual Environment 7.0 or greater${CL}" echo -e "Requires PVE Version 7.0 or higher"
echo -e "Exiting..." echo -e "Exiting..."
sleep 2 sleep 2
exit exit
fi fi
} }
function ARCH_CHECK() { function ARCH_CHECK() {
ARCH=$(dpkg --print-architecture) if [ "$(dpkg --print-architecture)" != "amd64" ]; then
if [[ "$ARCH" != "amd64" ]]; then echo -e "\n ${CROSS} This script will not work with PiMox! \n"
echo -e "\n ❌ This script will not work with PiMox! \n"
echo -e "Exiting..." echo -e "Exiting..."
sleep 2 sleep 2
exit exit
@ -334,7 +334,6 @@ function install_script() {
} }
function update_script() { function update_script() {
clear
header_info header_info
msg_info "Updating $APP LXC" msg_info "Updating $APP LXC"
apt-get update &>/dev/null apt-get update &>/dev/null
@ -342,8 +341,9 @@ apt-get -y upgrade &>/dev/null
msg_ok "Updated $APP LXC" msg_ok "Updated $APP LXC"
exit exit
} }
clear
ARCH_CHECK ARCH_CHECK
PVE_CHECK
header_info
if ! command -v pveversion >/dev/null 2>&1; then update_script; else install_script; fi if ! command -v pveversion >/dev/null 2>&1; then update_script; else install_script; fi
if [ "$VERB" == "yes" ]; then set -x; fi if [ "$VERB" == "yes" ]; then set -x; fi
if [ "$CT_TYPE" == "1" ]; then if [ "$CT_TYPE" == "1" ]; then

View file

@ -6,7 +6,9 @@
# https://github.com/tteck/Proxmox/raw/main/LICENSE # https://github.com/tteck/Proxmox/raw/main/LICENSE
function header_info { function header_info {
cat <<"EOF" clear
cat <<"EOF"
_____ __ __ _ _____ __ __ _
/ ___/__ ______v5_____/ /_/ /_ (_)___ ____ _ / ___/__ ______v5_____/ /_/ /_ (_)___ ____ _
\__ \/ / / / __ \/ ___/ __/ __ \/ / __ \/ __ `/ \__ \/ / / / __ \/ ___/ __/ __ \/ / __ \/ __ `/
@ -16,7 +18,6 @@ function header_info {
EOF EOF
} }
clear
header_info header_info
echo -e "Loading..." echo -e "Loading..."
APP="Syncthing" APP="Syncthing"
@ -65,18 +66,17 @@ function msg_error() {
} }
function PVE_CHECK() { function PVE_CHECK() {
PVE=$(pveversion | grep "pve-manager/7" | wc -l) if [ $(pveversion | grep -c "pve-manager/7\.[0-9]") -eq 0 ]; then
if [[ $PVE != 1 ]]; then echo -e "${CROSS} This version of Proxmox Virtual Environment is not supported"
echo -e "${RD}This script requires Proxmox Virtual Environment 7.0 or greater${CL}" echo -e "Requires PVE Version 7.0 or higher"
echo -e "Exiting..." echo -e "Exiting..."
sleep 2 sleep 2
exit exit
fi fi
} }
function ARCH_CHECK() { function ARCH_CHECK() {
ARCH=$(dpkg --print-architecture) if [ "$(dpkg --print-architecture)" != "amd64" ]; then
if [[ "$ARCH" != "amd64" ]]; then echo -e "\n ${CROSS} This script will not work with PiMox! \n"
echo -e "\n ❌ This script will not work with PiMox! \n"
echo -e "Exiting..." echo -e "Exiting..."
sleep 2 sleep 2
exit exit
@ -339,7 +339,6 @@ function install_script() {
} }
function update_script() { function update_script() {
clear
header_info header_info
msg_info "Updating ${APP} LXC" msg_info "Updating ${APP} LXC"
apt-get update &>/dev/null apt-get update &>/dev/null
@ -348,8 +347,9 @@ msg_ok "Updated ${APP} LXC"
msg_ok "Update Successfull" msg_ok "Update Successfull"
exit exit
} }
clear
ARCH_CHECK ARCH_CHECK
PVE_CHECK
header_info
if ! command -v pveversion >/dev/null 2>&1; then update_script; else install_script; fi if ! command -v pveversion >/dev/null 2>&1; then update_script; else install_script; fi
if [ "$VERB" == "yes" ]; then set -x; fi if [ "$VERB" == "yes" ]; then set -x; fi
if [ "$CT_TYPE" == "1" ]; then if [ "$CT_TYPE" == "1" ]; then

View file

@ -6,7 +6,9 @@
# https://github.com/tteck/Proxmox/raw/main/LICENSE # https://github.com/tteck/Proxmox/raw/main/LICENSE
function header_info { function header_info {
cat <<"EOF" clear
cat <<"EOF"
______ __ ______ __
/_ __/___/ /___v5__________ /_ __/___/ /___v5__________
/ / / __ / __ `/ ___/ ___/ / / / __ / __ `/ ___/ ___/
@ -15,7 +17,6 @@ function header_info {
EOF EOF
} }
clear
header_info header_info
echo -e "Loading..." echo -e "Loading..."
APP="Tdarr" APP="Tdarr"
@ -64,18 +65,17 @@ function msg_error() {
} }
function PVE_CHECK() { function PVE_CHECK() {
PVE=$(pveversion | grep "pve-manager/7" | wc -l) if [ $(pveversion | grep -c "pve-manager/7\.[0-9]") -eq 0 ]; then
if [[ $PVE != 1 ]]; then echo -e "${CROSS} This version of Proxmox Virtual Environment is not supported"
echo -e "${RD}This script requires Proxmox Virtual Environment 7.0 or greater${CL}" echo -e "Requires PVE Version 7.0 or higher"
echo -e "Exiting..." echo -e "Exiting..."
sleep 2 sleep 2
exit exit
fi fi
} }
function ARCH_CHECK() { function ARCH_CHECK() {
ARCH=$(dpkg --print-architecture) if [ "$(dpkg --print-architecture)" != "amd64" ]; then
if [[ "$ARCH" != "amd64" ]]; then echo -e "\n ${CROSS} This script will not work with PiMox! \n"
echo -e "\n ❌ This script will not work with PiMox! \n"
echo -e "Exiting..." echo -e "Exiting..."
sleep 2 sleep 2
exit exit
@ -334,7 +334,6 @@ function install_script() {
} }
function update_script() { function update_script() {
clear
header_info header_info
msg_info "Updating $APP LXC" msg_info "Updating $APP LXC"
apt-get update &>/dev/null apt-get update &>/dev/null
@ -342,8 +341,9 @@ apt-get -y upgrade &>/dev/null
msg_ok "Updated $APP LXC" msg_ok "Updated $APP LXC"
exit exit
} }
clear
ARCH_CHECK ARCH_CHECK
PVE_CHECK
header_info
if ! command -v pveversion >/dev/null 2>&1; then update_script; else install_script; fi if ! command -v pveversion >/dev/null 2>&1; then update_script; else install_script; fi
if [ "$VERB" == "yes" ]; then set -x; fi if [ "$VERB" == "yes" ]; then set -x; fi
if [ "$CT_TYPE" == "1" ]; then if [ "$CT_TYPE" == "1" ]; then

View file

@ -6,7 +6,9 @@
# https://github.com/tteck/Proxmox/raw/main/LICENSE # https://github.com/tteck/Proxmox/raw/main/LICENSE
function header_info { function header_info {
cat <<"EOF" clear
cat <<"EOF"
______ __ _ __ _ ____ _ _______ ______ __ _ __ _ ____ _ _______
/_ __/__ _____/ /_ ____ (_) /_(_)_ ______ ___ v5 / __ \/ | / / ___/ /_ __/__ _____/ /_ ____ (_) /_(_)_ ______ ___ v5 / __ \/ | / / ___/
/ / / _ \/ ___/ __ \/ __ \/ / __/ / / / / __ __ \ / / / / |/ /\__ \ / / / _ \/ ___/ __ \/ __ \/ / __/ / / / / __ __ \ / / / / |/ /\__ \
@ -15,7 +17,6 @@ function header_info {
EOF EOF
} }
clear
header_info header_info
echo -e "Loading..." echo -e "Loading..."
APP="Technitium DNS" APP="Technitium DNS"
@ -64,18 +65,17 @@ function msg_error() {
} }
function PVE_CHECK() { function PVE_CHECK() {
PVE=$(pveversion | grep "pve-manager/7" | wc -l) if [ $(pveversion | grep -c "pve-manager/7\.[0-9]") -eq 0 ]; then
if [[ $PVE != 1 ]]; then echo -e "${CROSS} This version of Proxmox Virtual Environment is not supported"
echo -e "${RD}This script requires Proxmox Virtual Environment 7.0 or greater${CL}" echo -e "Requires PVE Version 7.0 or higher"
echo -e "Exiting..." echo -e "Exiting..."
sleep 2 sleep 2
exit exit
fi fi
} }
function ARCH_CHECK() { function ARCH_CHECK() {
ARCH=$(dpkg --print-architecture) if [ "$(dpkg --print-architecture)" != "amd64" ]; then
if [[ "$ARCH" != "amd64" ]]; then echo -e "\n ${CROSS} This script will not work with PiMox! \n"
echo -e "\n ❌ This script will not work with PiMox! \n"
echo -e "Exiting..." echo -e "Exiting..."
sleep 2 sleep 2
exit exit
@ -338,7 +338,6 @@ function install_script() {
} }
function update_script() { function update_script() {
clear
header_info header_info
msg_info "Updating ${APP} LXC" msg_info "Updating ${APP} LXC"
dotnetDir="/opt/dotnet" dotnetDir="/opt/dotnet"
@ -409,8 +408,9 @@ fi
msg_ok "Update Successfull" msg_ok "Update Successfull"
exit exit
} }
clear
ARCH_CHECK ARCH_CHECK
PVE_CHECK
header_info
if ! command -v pveversion >/dev/null 2>&1; then update_script; else install_script; fi if ! command -v pveversion >/dev/null 2>&1; then update_script; else install_script; fi
if [ "$VERB" == "yes" ]; then set -x; fi if [ "$VERB" == "yes" ]; then set -x; fi
if [ "$CT_TYPE" == "1" ]; then if [ "$CT_TYPE" == "1" ]; then

View file

@ -6,7 +6,9 @@
# https://github.com/tteck/Proxmox/raw/main/LICENSE # https://github.com/tteck/Proxmox/raw/main/LICENSE
function header_info { function header_info {
cat <<"EOF" clear
cat <<"EOF"
______ _ _ ______ _ _
/_ __/________ _____v5_________ ___ (_)_________(_)___ ____ /_ __/________ _____v5_________ ___ (_)_________(_)___ ____
/ / / ___/ __ `/ __ \/ ___/ __ `__ \/ / ___/ ___/ / __ \/ __ \ / / / ___/ __ `/ __ \/ ___/ __ `__ \/ / ___/ ___/ / __ \/ __ \
@ -15,7 +17,6 @@ function header_info {
EOF EOF
} }
clear
header_info header_info
echo -e "Loading..." echo -e "Loading..."
APP="Transmission" APP="Transmission"
@ -64,18 +65,17 @@ function msg_error() {
} }
function PVE_CHECK() { function PVE_CHECK() {
PVE=$(pveversion | grep "pve-manager/7" | wc -l) if [ $(pveversion | grep -c "pve-manager/7\.[0-9]") -eq 0 ]; then
if [[ $PVE != 1 ]]; then echo -e "${CROSS} This version of Proxmox Virtual Environment is not supported"
echo -e "${RD}This script requires Proxmox Virtual Environment 7.0 or greater${CL}" echo -e "Requires PVE Version 7.0 or higher"
echo -e "Exiting..." echo -e "Exiting..."
sleep 2 sleep 2
exit exit
fi fi
} }
function ARCH_CHECK() { function ARCH_CHECK() {
ARCH=$(dpkg --print-architecture) if [ "$(dpkg --print-architecture)" != "amd64" ]; then
if [[ "$ARCH" != "amd64" ]]; then echo -e "\n ${CROSS} This script will not work with PiMox! \n"
echo -e "\n ❌ This script will not work with PiMox! \n"
echo -e "Exiting..." echo -e "Exiting..."
sleep 2 sleep 2
exit exit
@ -334,7 +334,6 @@ function install_script() {
} }
function update_script() { function update_script() {
clear
header_info header_info
msg_info "Updating ${APP} LXC" msg_info "Updating ${APP} LXC"
apt-get update &>/dev/null apt-get update &>/dev/null
@ -342,8 +341,9 @@ apt-get -y upgrade &>/dev/null
msg_ok "Updated ${APP} LXC" msg_ok "Updated ${APP} LXC"
exit exit
} }
clear
ARCH_CHECK ARCH_CHECK
PVE_CHECK
header_info
if ! command -v pveversion >/dev/null 2>&1; then update_script; else install_script; fi if ! command -v pveversion >/dev/null 2>&1; then update_script; else install_script; fi
if [ "$VERB" == "yes" ]; then set -x; fi if [ "$VERB" == "yes" ]; then set -x; fi
if [ "$CT_TYPE" == "1" ]; then if [ "$CT_TYPE" == "1" ]; then

View file

@ -6,7 +6,9 @@
# https://github.com/tteck/Proxmox/raw/main/LICENSE # https://github.com/tteck/Proxmox/raw/main/LICENSE
function header_info { function header_info {
cat <<"EOF" clear
cat <<"EOF"
______ _ ___ ______ _ ___
/_ __/_v5_(_) (_)_ ______ ___ /_ __/_v5_(_) (_)_ ______ ___
/ / / ___/ / / / / / / __ `__ \ / / / ___/ / / / / / / __ `__ \
@ -15,7 +17,6 @@ function header_info {
EOF EOF
} }
clear
header_info header_info
echo -e "Loading..." echo -e "Loading..."
APP="Trilium" APP="Trilium"
@ -64,18 +65,17 @@ function msg_error() {
} }
function PVE_CHECK() { function PVE_CHECK() {
PVE=$(pveversion | grep "pve-manager/7" | wc -l) if [ $(pveversion | grep -c "pve-manager/7\.[0-9]") -eq 0 ]; then
if [[ $PVE != 1 ]]; then echo -e "${CROSS} This version of Proxmox Virtual Environment is not supported"
echo -e "${RD}This script requires Proxmox Virtual Environment 7.0 or greater${CL}" echo -e "Requires PVE Version 7.0 or higher"
echo -e "Exiting..." echo -e "Exiting..."
sleep 2 sleep 2
exit exit
fi fi
} }
function ARCH_CHECK() { function ARCH_CHECK() {
ARCH=$(dpkg --print-architecture) if [ "$(dpkg --print-architecture)" != "amd64" ]; then
if [[ "$ARCH" != "amd64" ]]; then echo -e "\n ${CROSS} This script will not work with PiMox! \n"
echo -e "\n ❌ This script will not work with PiMox! \n"
echo -e "Exiting..." echo -e "Exiting..."
sleep 2 sleep 2
exit exit
@ -338,7 +338,6 @@ function install_script() {
} }
function update_script() { function update_script() {
clear
header_info header_info
RELEASE=$(curl -s https://api.github.com/repos/zadam/trilium/releases/latest | RELEASE=$(curl -s https://api.github.com/repos/zadam/trilium/releases/latest |
grep "tag_name" | grep "tag_name" |
@ -366,8 +365,9 @@ msg_ok "Started ${APP}"
msg_ok "Update Successfull" msg_ok "Update Successfull"
exit exit
} }
clear
ARCH_CHECK ARCH_CHECK
PVE_CHECK
header_info
if ! command -v pveversion >/dev/null 2>&1; then update_script; else install_script; fi if ! command -v pveversion >/dev/null 2>&1; then update_script; else install_script; fi
if [ "$VERB" == "yes" ]; then set -x; fi if [ "$VERB" == "yes" ]; then set -x; fi
if [ "$CT_TYPE" == "1" ]; then if [ "$CT_TYPE" == "1" ]; then

View file

@ -6,7 +6,9 @@
# https://github.com/tteck/Proxmox/raw/main/LICENSE # https://github.com/tteck/Proxmox/raw/main/LICENSE
function header_info { function header_info {
cat <<"EOF" clear
cat <<"EOF"
__ ____ __ __ ____ __
/ / / / /_v5__ ______ / /___ __ / / / / /_v5__ ______ / /___ __
/ / / / __ \/ / / / __ \/ __/ / / / / / / / __ \/ / / / __ \/ __/ / / /
@ -15,7 +17,6 @@ function header_info {
EOF EOF
} }
clear
header_info header_info
echo -e "Loading..." echo -e "Loading..."
APP="Ubuntu" APP="Ubuntu"
@ -64,18 +65,17 @@ function msg_error() {
} }
function PVE_CHECK() { function PVE_CHECK() {
PVE=$(pveversion | grep "pve-manager/7" | wc -l) if [ $(pveversion | grep -c "pve-manager/7\.[0-9]") -eq 0 ]; then
if [[ $PVE != 1 ]]; then echo -e "${CROSS} This version of Proxmox Virtual Environment is not supported"
echo -e "${RD}This script requires Proxmox Virtual Environment 7.0 or greater${CL}" echo -e "Requires PVE Version 7.0 or higher"
echo -e "Exiting..." echo -e "Exiting..."
sleep 2 sleep 2
exit exit
fi fi
} }
function ARCH_CHECK() { function ARCH_CHECK() {
ARCH=$(dpkg --print-architecture) if [ "$(dpkg --print-architecture)" != "amd64" ]; then
if [[ "$ARCH" != "amd64" ]]; then echo -e "\n ${CROSS} This script will not work with PiMox! \n"
echo -e "\n ❌ This script will not work with PiMox! \n"
echo -e "Exiting..." echo -e "Exiting..."
sleep 2 sleep 2
exit exit
@ -342,7 +342,6 @@ function install_script() {
fi fi
} }
function update_script() { function update_script() {
clear
header_info header_info
msg_info "Updating ${APP} LXC" msg_info "Updating ${APP} LXC"
apt-get update &>/dev/null apt-get update &>/dev/null
@ -350,8 +349,9 @@ apt-get -y upgrade &>/dev/null
msg_ok "Updated ${APP} LXC" msg_ok "Updated ${APP} LXC"
exit exit
} }
clear
ARCH_CHECK ARCH_CHECK
PVE_CHECK
header_info
if ! command -v pveversion >/dev/null 2>&1; then update_script; else install_script; fi if ! command -v pveversion >/dev/null 2>&1; then update_script; else install_script; fi
if [ "$VERB" == "yes" ]; then set -x; fi if [ "$VERB" == "yes" ]; then set -x; fi
if [ "$CT_TYPE" == "1" ]; then if [ "$CT_TYPE" == "1" ]; then

View file

@ -6,7 +6,9 @@
# https://github.com/tteck/Proxmox/raw/main/LICENSE # https://github.com/tteck/Proxmox/raw/main/LICENSE
function header_info { function header_info {
cat <<"EOF" clear
cat <<"EOF"
__ __ __ __ __ __ __ __
/ / / /___ ___v5/ /_ ________ / / / / / /___ ___v5/ /_ ________ / /
/ / / / __ `__ \/ __ \/ ___/ _ \/ / / / / / __ `__ \/ __ \/ ___/ _ \/ /
@ -15,7 +17,6 @@ function header_info {
EOF EOF
} }
clear
header_info header_info
echo -e "Loading..." echo -e "Loading..."
APP="Umbrel" APP="Umbrel"
@ -64,18 +65,17 @@ function msg_error() {
} }
function PVE_CHECK() { function PVE_CHECK() {
PVE=$(pveversion | grep "pve-manager/7" | wc -l) if [ $(pveversion | grep -c "pve-manager/7\.[0-9]") -eq 0 ]; then
if [[ $PVE != 1 ]]; then echo -e "${CROSS} This version of Proxmox Virtual Environment is not supported"
echo -e "${RD}This script requires Proxmox Virtual Environment 7.0 or greater${CL}" echo -e "Requires PVE Version 7.0 or higher"
echo -e "Exiting..." echo -e "Exiting..."
sleep 2 sleep 2
exit exit
fi fi
} }
function ARCH_CHECK() { function ARCH_CHECK() {
ARCH=$(dpkg --print-architecture) if [ "$(dpkg --print-architecture)" != "amd64" ]; then
if [[ "$ARCH" != "amd64" ]]; then echo -e "\n ${CROSS} This script will not work with PiMox! \n"
echo -e "\n ❌ This script will not work with PiMox! \n"
echo -e "Exiting..." echo -e "Exiting..."
sleep 2 sleep 2
exit exit
@ -346,7 +346,6 @@ function install_script() {
fi fi
} }
function update_script() { function update_script() {
clear
header_info header_info
msg_info "Updating ${APP} LXC" msg_info "Updating ${APP} LXC"
apt-get update &>/dev/null apt-get update &>/dev/null
@ -354,8 +353,9 @@ apt-get -y upgrade &>/dev/null
msg_ok "Updated ${APP} LXC" msg_ok "Updated ${APP} LXC"
exit exit
} }
clear
ARCH_CHECK ARCH_CHECK
PVE_CHECK
header_info
if ! command -v pveversion >/dev/null 2>&1; then update_script; else install_script; fi if ! command -v pveversion >/dev/null 2>&1; then update_script; else install_script; fi
if [ "$VERB" == "yes" ]; then set -x; fi if [ "$VERB" == "yes" ]; then set -x; fi
if [ "$FUSE" == "yes" ]; then if [ "$FUSE" == "yes" ]; then

View file

@ -6,7 +6,9 @@
# https://github.com/tteck/Proxmox/raw/main/LICENSE # https://github.com/tteck/Proxmox/raw/main/LICENSE
function header_info { function header_info {
cat <<"EOF" clear
cat <<"EOF"
__ __ _ _____ __ __ _ _____
/ / / /_v5 (_) __(_) / / / /_v5 (_) __(_)
/ / / / __ \/ / /_/ / / / / / __ \/ / /_/ /
@ -15,7 +17,6 @@ function header_info {
EOF EOF
} }
clear
header_info header_info
echo -e "Loading..." echo -e "Loading..."
APP="Unifi" APP="Unifi"
@ -64,18 +65,17 @@ function msg_error() {
} }
function PVE_CHECK() { function PVE_CHECK() {
PVE=$(pveversion | grep "pve-manager/7" | wc -l) if [ $(pveversion | grep -c "pve-manager/7\.[0-9]") -eq 0 ]; then
if [[ $PVE != 1 ]]; then echo -e "${CROSS} This version of Proxmox Virtual Environment is not supported"
echo -e "${RD}This script requires Proxmox Virtual Environment 7.0 or greater${CL}" echo -e "Requires PVE Version 7.0 or higher"
echo -e "Exiting..." echo -e "Exiting..."
sleep 2 sleep 2
exit exit
fi fi
} }
function ARCH_CHECK() { function ARCH_CHECK() {
ARCH=$(dpkg --print-architecture) if [ "$(dpkg --print-architecture)" != "amd64" ]; then
if [[ "$ARCH" != "amd64" ]]; then echo -e "\n ${CROSS} This script will not work with PiMox! \n"
echo -e "\n ❌ This script will not work with PiMox! \n"
echo -e "Exiting..." echo -e "Exiting..."
sleep 2 sleep 2
exit exit
@ -338,7 +338,6 @@ function install_script() {
} }
function update_script() { function update_script() {
clear
header_info header_info
msg_info "Updating ${APP}" msg_info "Updating ${APP}"
wget -qL https://get.glennr.nl/unifi/update/unifi-update.sh wget -qL https://get.glennr.nl/unifi/update/unifi-update.sh
@ -347,8 +346,9 @@ msg_ok "Updated ${APP}"
msg_ok "Update Successfull" msg_ok "Update Successfull"
exit exit
} }
clear
ARCH_CHECK ARCH_CHECK
PVE_CHECK
header_info
if ! command -v pveversion >/dev/null 2>&1; then update_script; else install_script; fi if ! command -v pveversion >/dev/null 2>&1; then update_script; else install_script; fi
if [ "$VERB" == "yes" ]; then set -x; fi if [ "$VERB" == "yes" ]; then set -x; fi
if [ "$CT_TYPE" == "1" ]; then if [ "$CT_TYPE" == "1" ]; then

View file

@ -6,7 +6,9 @@
# https://github.com/tteck/Proxmox/raw/main/LICENSE # https://github.com/tteck/Proxmox/raw/main/LICENSE
function header_info { function header_info {
cat <<"EOF" clear
cat <<"EOF"
__ __ __ _ __ __ __ __ __ _ __ __
/ / / /___ / /_(_)___ ___ ___ v5 / //_/_ ______ ___ ____ _ / / / /___ / /_(_)___ ___ ___ v5 / //_/_ ______ ___ ____ _
/ / / / __ \/ __/ / __ __ \/ _ \ / ,< / / / / __ __ \/ __ / / / / / __ \/ __/ / __ __ \/ _ \ / ,< / / / / __ __ \/ __ /
@ -16,7 +18,6 @@ function header_info {
EOF EOF
} }
clear
header_info header_info
echo -e "Loading..." echo -e "Loading..."
APP="Uptime Kuma" APP="Uptime Kuma"
@ -65,18 +66,17 @@ function msg_error() {
} }
function PVE_CHECK() { function PVE_CHECK() {
PVE=$(pveversion | grep "pve-manager/7" | wc -l) if [ $(pveversion | grep -c "pve-manager/7\.[0-9]") -eq 0 ]; then
if [[ $PVE != 1 ]]; then echo -e "${CROSS} This version of Proxmox Virtual Environment is not supported"
echo -e "${RD}This script requires Proxmox Virtual Environment 7.0 or greater${CL}" echo -e "Requires PVE Version 7.0 or higher"
echo -e "Exiting..." echo -e "Exiting..."
sleep 2 sleep 2
exit exit
fi fi
} }
function ARCH_CHECK() { function ARCH_CHECK() {
ARCH=$(dpkg --print-architecture) if [ "$(dpkg --print-architecture)" != "amd64" ]; then
if [[ "$ARCH" != "amd64" ]]; then echo -e "\n ${CROSS} This script will not work with PiMox! \n"
echo -e "\n ❌ This script will not work with PiMox! \n"
echo -e "Exiting..." echo -e "Exiting..."
sleep 2 sleep 2
exit exit
@ -339,7 +339,6 @@ function install_script() {
} }
function update_script() { function update_script() {
clear
header_info header_info
LATEST=$(curl -sL https://api.github.com/repos/louislam/uptime-kuma/releases/latest | grep '"tag_name":' | cut -d'"' -f4) LATEST=$(curl -sL https://api.github.com/repos/louislam/uptime-kuma/releases/latest | grep '"tag_name":' | cut -d'"' -f4)
msg_info "Stopping ${APP}" msg_info "Stopping ${APP}"
@ -364,8 +363,9 @@ msg_ok "Started ${APP}"
msg_ok "Update Successfull" msg_ok "Update Successfull"
exit exit
} }
clear
ARCH_CHECK ARCH_CHECK
PVE_CHECK
header_info
if ! command -v pveversion >/dev/null 2>&1; then update_script; else install_script; fi if ! command -v pveversion >/dev/null 2>&1; then update_script; else install_script; fi
if [ "$VERB" == "yes" ]; then set -x; fi if [ "$VERB" == "yes" ]; then set -x; fi
if [ "$CT_TYPE" == "1" ]; then if [ "$CT_TYPE" == "1" ]; then

View file

@ -6,7 +6,9 @@
# https://github.com/tteck/Proxmox/raw/main/LICENSE # https://github.com/tteck/Proxmox/raw/main/LICENSE
function header_info { function header_info {
cat <<"EOF" clear
cat <<"EOF"
_ __ ____ _ __ __ _ __ ____ _ __ __
| | / /___ ___v5__/ / /| | / /___ __________/ /__ ____ | | / /___ ___v5__/ / /| | / /___ __________/ /__ ____
| | / / __ `/ / / / / __/ | /| / / __ `/ ___/ __ / _ \/ __ \ | | / / __ `/ / / / / __/ | /| / / __ `/ ___/ __ / _ \/ __ \
@ -15,7 +17,6 @@ function header_info {
EOF EOF
} }
clear
header_info header_info
echo -e "Loading..." echo -e "Loading..."
APP="Vaultwarden" APP="Vaultwarden"
@ -64,18 +65,17 @@ function msg_error() {
} }
function PVE_CHECK() { function PVE_CHECK() {
PVE=$(pveversion | grep "pve-manager/7" | wc -l) if [ $(pveversion | grep -c "pve-manager/7\.[0-9]") -eq 0 ]; then
if [[ $PVE != 1 ]]; then echo -e "${CROSS} This version of Proxmox Virtual Environment is not supported"
echo -e "${RD}This script requires Proxmox Virtual Environment 7.0 or greater${CL}" echo -e "Requires PVE Version 7.0 or higher"
echo -e "Exiting..." echo -e "Exiting..."
sleep 2 sleep 2
exit exit
fi fi
} }
function ARCH_CHECK() { function ARCH_CHECK() {
ARCH=$(dpkg --print-architecture) if [ "$(dpkg --print-architecture)" != "amd64" ]; then
if [[ "$ARCH" != "amd64" ]]; then echo -e "\n ${CROSS} This script will not work with PiMox! \n"
echo -e "\n ❌ This script will not work with PiMox! \n"
echo -e "Exiting..." echo -e "Exiting..."
sleep 2 sleep 2
exit exit
@ -351,7 +351,6 @@ UPD=$(whiptail --title "SUPPORT" --radiolist --cancel-button Exit-Script "Spaceb
"3" "Show Admin Token" OFF \ "3" "Show Admin Token" OFF \
3>&1 1>&2 2>&3) 3>&1 1>&2 2>&3)
clear
header_info header_info
if [ "$UPD" == "1" ]; then if [ "$UPD" == "1" ]; then
echo -e "\n ⚠️ Ensure you set 2vCPU & 3072MiB RAM MIMIMUM!!! \n" echo -e "\n ⚠️ Ensure you set 2vCPU & 3072MiB RAM MIMIMUM!!! \n"
@ -415,8 +414,9 @@ exit
fi fi
} }
clear
ARCH_CHECK ARCH_CHECK
PVE_CHECK
header_info
if ! command -v pveversion >/dev/null 2>&1; then update_script; else install_script; fi if ! command -v pveversion >/dev/null 2>&1; then update_script; else install_script; fi
if [ "$VERB" == "yes" ]; then set -x; fi if [ "$VERB" == "yes" ]; then set -x; fi
if [ "$CT_TYPE" == "1" ]; then if [ "$CT_TYPE" == "1" ]; then

View file

@ -6,7 +6,9 @@
# https://github.com/tteck/Proxmox/raw/main/LICENSE # https://github.com/tteck/Proxmox/raw/main/LICENSE
function header_info { function header_info {
cat <<"EOF" clear
cat <<"EOF"
_ ____ _ _ ____ _
| | / / /_ (_)________ ____v5__________ | | / / /_ (_)________ ____v5__________
| | /| / / __ \/ / ___/ __ \/ __ `/ ___/ ___/ | | /| / / __ \/ / ___/ __ \/ __ `/ ___/ ___/
@ -16,7 +18,6 @@ function header_info {
EOF EOF
} }
clear
header_info header_info
echo -e "Loading..." echo -e "Loading..."
APP="Whisparr" APP="Whisparr"
@ -65,18 +66,17 @@ function msg_error() {
} }
function PVE_CHECK() { function PVE_CHECK() {
PVE=$(pveversion | grep "pve-manager/7" | wc -l) if [ $(pveversion | grep -c "pve-manager/7\.[0-9]") -eq 0 ]; then
if [[ $PVE != 1 ]]; then echo -e "${CROSS} This version of Proxmox Virtual Environment is not supported"
echo -e "${RD}This script requires Proxmox Virtual Environment 7.0 or greater${CL}" echo -e "Requires PVE Version 7.0 or higher"
echo -e "Exiting..." echo -e "Exiting..."
sleep 2 sleep 2
exit exit
fi fi
} }
function ARCH_CHECK() { function ARCH_CHECK() {
ARCH=$(dpkg --print-architecture) if [ "$(dpkg --print-architecture)" != "amd64" ]; then
if [[ "$ARCH" != "amd64" ]]; then echo -e "\n ${CROSS} This script will not work with PiMox! \n"
echo -e "\n ❌ This script will not work with PiMox! \n"
echo -e "Exiting..." echo -e "Exiting..."
sleep 2 sleep 2
exit exit
@ -335,7 +335,6 @@ function install_script() {
} }
function update_script() { function update_script() {
clear
header_info header_info
msg_info "Updating $APP LXC" msg_info "Updating $APP LXC"
apt-get update &>/dev/null apt-get update &>/dev/null
@ -343,8 +342,9 @@ apt-get -y upgrade &>/dev/null
msg_ok "Updated $APP LXC" msg_ok "Updated $APP LXC"
exit exit
} }
clear
ARCH_CHECK ARCH_CHECK
PVE_CHECK
header_info
if ! command -v pveversion >/dev/null 2>&1; then update_script; else install_script; fi if ! command -v pveversion >/dev/null 2>&1; then update_script; else install_script; fi
if [ "$VERB" == "yes" ]; then set -x; fi if [ "$VERB" == "yes" ]; then set -x; fi
if [ "$CT_TYPE" == "1" ]; then if [ "$CT_TYPE" == "1" ]; then

View file

@ -6,7 +6,9 @@
# https://github.com/tteck/Proxmox/raw/main/LICENSE # https://github.com/tteck/Proxmox/raw/main/LICENSE
function header_info { function header_info {
cat <<"EOF" clear
cat <<"EOF"
_ ____ ______ ____ ________ ______ _ ____ ______ ____ ________ ______
| | v5 / / / / / __ \/ __ \/ ____/ / / ____/ | | v5 / / / / / __ \/ __ \/ ____/ / / ____/
| | /| / / /_/ / / / / / / / / __/ / / __/ | | /| / / /_/ / / / / / / / / __/ / / __/
@ -15,7 +17,6 @@ function header_info {
EOF EOF
} }
clear
header_info header_info
echo -e "Loading..." echo -e "Loading..."
APP="Whoogle" APP="Whoogle"
@ -64,18 +65,17 @@ function msg_error() {
} }
function PVE_CHECK() { function PVE_CHECK() {
PVE=$(pveversion | grep "pve-manager/7" | wc -l) if [ $(pveversion | grep -c "pve-manager/7\.[0-9]") -eq 0 ]; then
if [[ $PVE != 1 ]]; then echo -e "${CROSS} This version of Proxmox Virtual Environment is not supported"
echo -e "${RD}This script requires Proxmox Virtual Environment 7.0 or greater${CL}" echo -e "Requires PVE Version 7.0 or higher"
echo -e "Exiting..." echo -e "Exiting..."
sleep 2 sleep 2
exit exit
fi fi
} }
function ARCH_CHECK() { function ARCH_CHECK() {
ARCH=$(dpkg --print-architecture) if [ "$(dpkg --print-architecture)" != "amd64" ]; then
if [[ "$ARCH" != "amd64" ]]; then echo -e "\n ${CROSS} This script will not work with PiMox! \n"
echo -e "\n ❌ This script will not work with PiMox! \n"
echo -e "Exiting..." echo -e "Exiting..."
sleep 2 sleep 2
exit exit
@ -338,7 +338,6 @@ function install_script() {
} }
function update_script() { function update_script() {
clear
header_info header_info
msg_info "Updating ${APP} LXC" msg_info "Updating ${APP} LXC"
pip3 install whoogle-search --upgrade &>/dev/null pip3 install whoogle-search --upgrade &>/dev/null
@ -346,8 +345,9 @@ msg_ok "Updated ${APP} LXC"
msg_ok "Update Successfull" msg_ok "Update Successfull"
exit exit
} }
clear
ARCH_CHECK ARCH_CHECK
PVE_CHECK
header_info
if ! command -v pveversion >/dev/null 2>&1; then update_script; else install_script; fi if ! command -v pveversion >/dev/null 2>&1; then update_script; else install_script; fi
if [ "$VERB" == "yes" ]; then set -x; fi if [ "$VERB" == "yes" ]; then set -x; fi
if [ "$CT_TYPE" == "1" ]; then if [ "$CT_TYPE" == "1" ]; then

View file

@ -6,7 +6,9 @@
# https://github.com/tteck/Proxmox/raw/main/LICENSE # https://github.com/tteck/Proxmox/raw/main/LICENSE
function header_info { function header_info {
cat <<"EOF" clear
cat <<"EOF"
_ ___ __ _ _ _ ___ __ _ _
| | v5 / (_) /__(_) (_)____ | | v5 / (_) /__(_) (_)____
| | /| / / / //_/ / / / ___/ | | /| / / / //_/ / / / ___/
@ -16,7 +18,6 @@ function header_info {
EOF EOF
} }
clear
header_info header_info
echo -e "Loading..." echo -e "Loading..."
APP="Wikijs" APP="Wikijs"
@ -65,18 +66,17 @@ function msg_error() {
} }
function PVE_CHECK() { function PVE_CHECK() {
PVE=$(pveversion | grep "pve-manager/7" | wc -l) if [ $(pveversion | grep -c "pve-manager/7\.[0-9]") -eq 0 ]; then
if [[ $PVE != 1 ]]; then echo -e "${CROSS} This version of Proxmox Virtual Environment is not supported"
echo -e "${RD}This script requires Proxmox Virtual Environment 7.0 or greater${CL}" echo -e "Requires PVE Version 7.0 or higher"
echo -e "Exiting..." echo -e "Exiting..."
sleep 2 sleep 2
exit exit
fi fi
} }
function ARCH_CHECK() { function ARCH_CHECK() {
ARCH=$(dpkg --print-architecture) if [ "$(dpkg --print-architecture)" != "amd64" ]; then
if [[ "$ARCH" != "amd64" ]]; then echo -e "\n ${CROSS} This script will not work with PiMox! \n"
echo -e "\n ❌ This script will not work with PiMox! \n"
echo -e "Exiting..." echo -e "Exiting..."
sleep 2 sleep 2
exit exit
@ -339,7 +339,6 @@ function install_script() {
} }
function update_script() { function update_script() {
clear
header_info header_info
msg_info "Stopping ${APP}" msg_info "Stopping ${APP}"
systemctl stop wikijs systemctl stop wikijs
@ -360,8 +359,9 @@ msg_ok "Started ${APP}"
msg_ok "Update Successfull" msg_ok "Update Successfull"
exit exit
} }
clear
ARCH_CHECK ARCH_CHECK
PVE_CHECK
header_info
if ! command -v pveversion >/dev/null 2>&1; then update_script; else install_script; fi if ! command -v pveversion >/dev/null 2>&1; then update_script; else install_script; fi
if [ "$VERB" == "yes" ]; then set -x; fi if [ "$VERB" == "yes" ]; then set -x; fi
if [ "$CT_TYPE" == "1" ]; then if [ "$CT_TYPE" == "1" ]; then

View file

@ -6,7 +6,9 @@
# https://github.com/tteck/Proxmox/raw/main/LICENSE # https://github.com/tteck/Proxmox/raw/main/LICENSE
function header_info { function header_info {
cat <<"EOF" clear
cat <<"EOF"
_ ___ ______ __ _ ___ ______ __
| | / (_)_______ / ____/_ ______ __________/ / | | / (_)_______ / ____/_ ______ __________/ /
| | /| / / / ___/ _ \/ / __/ / / / __ `/ ___/ __ / | | /| / / / ___/ _ \/ / __/ / / / __ `/ ___/ __ /
@ -15,7 +17,6 @@ function header_info {
EOF EOF
} }
clear
header_info header_info
echo -e "Loading..." echo -e "Loading..."
APP="Wireguard" APP="Wireguard"
@ -64,18 +65,17 @@ function msg_error() {
} }
function PVE_CHECK() { function PVE_CHECK() {
PVE=$(pveversion | grep "pve-manager/7" | wc -l) if [ $(pveversion | grep -c "pve-manager/7\.[0-9]") -eq 0 ]; then
if [[ $PVE != 1 ]]; then echo -e "${CROSS} This version of Proxmox Virtual Environment is not supported"
echo -e "${RD}This script requires Proxmox Virtual Environment 7.0 or greater${CL}" echo -e "Requires PVE Version 7.0 or higher"
echo -e "Exiting..." echo -e "Exiting..."
sleep 2 sleep 2
exit exit
fi fi
} }
function ARCH_CHECK() { function ARCH_CHECK() {
ARCH=$(dpkg --print-architecture) if [ "$(dpkg --print-architecture)" != "amd64" ]; then
if [[ "$ARCH" != "amd64" ]]; then echo -e "\n ${CROSS} This script will not work with PiMox! \n"
echo -e "\n ❌ This script will not work with PiMox! \n"
echo -e "Exiting..." echo -e "Exiting..."
sleep 2 sleep 2
exit exit
@ -342,7 +342,6 @@ UPD=$(whiptail --title "SUPPORT" --radiolist --cancel-button Exit-Script "Spaceb
"1" "Update ${APP} LXC" ON \ "1" "Update ${APP} LXC" ON \
"2" "Install WGDashboard" OFF \ "2" "Install WGDashboard" OFF \
3>&1 1>&2 2>&3) 3>&1 1>&2 2>&3)
clear
header_info header_info
if [ "$UPD" == "1" ]; then if [ "$UPD" == "1" ]; then
msg_info "Updating ${APP} LXC" msg_info "Updating ${APP} LXC"
@ -402,8 +401,9 @@ exit
fi fi
} }
clear
ARCH_CHECK ARCH_CHECK
PVE_CHECK
header_info
if ! command -v pveversion >/dev/null 2>&1; then update_script; else install_script; fi if ! command -v pveversion >/dev/null 2>&1; then update_script; else install_script; fi
if [ "$VERB" == "yes" ]; then set -x; fi if [ "$VERB" == "yes" ]; then set -x; fi
if [ "$CT_TYPE" == "1" ]; then if [ "$CT_TYPE" == "1" ]; then

View file

@ -6,7 +6,9 @@
# https://github.com/tteck/Proxmox/raw/main/LICENSE # https://github.com/tteck/Proxmox/raw/main/LICENSE
function header_info { function header_info {
cat <<"EOF" clear
cat <<"EOF"
__ __ __ __ __ __ __ __ __ __
\ \/ /_ ______v5____ / / / /___ _____/ /_ \ \/ /_ ______v5____ / / / /___ _____/ /_
\ / / / / __ \/ __ \/ /_/ / __ \/ ___/ __/ \ / / / / __ \/ __ \/ /_/ / __ \/ ___/ __/
@ -15,7 +17,6 @@ __ __ __ __ __
EOF EOF
} }
clear
header_info header_info
echo -e "Loading..." echo -e "Loading..."
APP="YunoHost" APP="YunoHost"
@ -64,18 +65,17 @@ function msg_error() {
} }
function PVE_CHECK() { function PVE_CHECK() {
PVE=$(pveversion | grep "pve-manager/7" | wc -l) if [ $(pveversion | grep -c "pve-manager/7\.[0-9]") -eq 0 ]; then
if [[ $PVE != 1 ]]; then echo -e "${CROSS} This version of Proxmox Virtual Environment is not supported"
echo -e "${RD}This script requires Proxmox Virtual Environment 7.0 or greater${CL}" echo -e "Requires PVE Version 7.0 or higher"
echo -e "Exiting..." echo -e "Exiting..."
sleep 2 sleep 2
exit exit
fi fi
} }
function ARCH_CHECK() { function ARCH_CHECK() {
ARCH=$(dpkg --print-architecture) if [ "$(dpkg --print-architecture)" != "amd64" ]; then
if [[ "$ARCH" != "amd64" ]]; then echo -e "\n ${CROSS} This script will not work with PiMox! \n"
echo -e "\n ❌ This script will not work with PiMox! \n"
echo -e "Exiting..." echo -e "Exiting..."
sleep 2 sleep 2
exit exit
@ -334,7 +334,6 @@ function install_script() {
} }
function update_script() { function update_script() {
clear
header_info header_info
msg_info "Updating $APP LXC" msg_info "Updating $APP LXC"
apt-get update &>/dev/null apt-get update &>/dev/null
@ -342,8 +341,9 @@ apt-get -y upgrade &>/dev/null
msg_ok "Updated $APP LXC" msg_ok "Updated $APP LXC"
exit exit
} }
clear
ARCH_CHECK ARCH_CHECK
PVE_CHECK
header_info
if ! command -v pveversion >/dev/null 2>&1; then update_script; else install_script; fi if ! command -v pveversion >/dev/null 2>&1; then update_script; else install_script; fi
if [ "$VERB" == "yes" ]; then set -x; fi if [ "$VERB" == "yes" ]; then set -x; fi
if [ "$CT_TYPE" == "1" ]; then if [ "$CT_TYPE" == "1" ]; then

View file

@ -6,7 +6,9 @@
# https://github.com/tteck/Proxmox/raw/main/LICENSE # https://github.com/tteck/Proxmox/raw/main/LICENSE
function header_info { function header_info {
cat <<"EOF" clear
cat <<"EOF"
_____ _ __ ___ __ _______ ____________ _____ _ __ ___ __ _______ ____________
/__ / (_)___ _/ /_ ___ ___ |__ \ / |/ / __ \/_ __/_ __/ /__ / (_)___ _/ /_ ___ ___ |__ \ / |/ / __ \/_ __/_ __/
/ / / / __ / __ \/ _ \/ _ \__/ // /|_/ / / / / / / / / / / / / __ / __ \/ _ \/ _ \__/ // /|_/ / / / / / / / /
@ -16,7 +18,6 @@ function header_info {
EOF EOF
} }
clear
header_info header_info
echo -e "Loading..." echo -e "Loading..."
APP="Zigbee2MQTT" APP="Zigbee2MQTT"
@ -65,18 +66,17 @@ function msg_error() {
} }
function PVE_CHECK() { function PVE_CHECK() {
PVE=$(pveversion | grep "pve-manager/7" | wc -l) if [ $(pveversion | grep -c "pve-manager/7\.[0-9]") -eq 0 ]; then
if [[ $PVE != 1 ]]; then echo -e "${CROSS} This version of Proxmox Virtual Environment is not supported"
echo -e "${RD}This script requires Proxmox Virtual Environment 7.0 or greater${CL}" echo -e "Requires PVE Version 7.0 or higher"
echo -e "Exiting..." echo -e "Exiting..."
sleep 2 sleep 2
exit exit
fi fi
} }
function ARCH_CHECK() { function ARCH_CHECK() {
ARCH=$(dpkg --print-architecture) if [ "$(dpkg --print-architecture)" != "amd64" ]; then
if [[ "$ARCH" != "amd64" ]]; then echo -e "\n ${CROSS} This script will not work with PiMox! \n"
echo -e "\n ❌ This script will not work with PiMox! \n"
echo -e "Exiting..." echo -e "Exiting..."
sleep 2 sleep 2
exit exit
@ -338,7 +338,6 @@ function install_script() {
fi fi
} }
function update_script() { function update_script() {
clear
header_info header_info
cd /opt/zigbee2mqtt cd /opt/zigbee2mqtt
@ -393,8 +392,9 @@ start_zigbee2mqtt
echo "Done!" echo "Done!"
exit exit
} }
clear
ARCH_CHECK ARCH_CHECK
PVE_CHECK
header_info
if ! command -v pveversion >/dev/null 2>&1; then update_script; else install_script; fi if ! command -v pveversion >/dev/null 2>&1; then update_script; else install_script; fi
if [ "$VERB" == "yes" ]; then set -x; fi if [ "$VERB" == "yes" ]; then set -x; fi
if [ "$CT_TYPE" == "1" ]; then if [ "$CT_TYPE" == "1" ]; then

View file

@ -6,7 +6,9 @@
# https://github.com/tteck/Proxmox/raw/main/LICENSE # https://github.com/tteck/Proxmox/raw/main/LICENSE
function header_info { function header_info {
cat <<"EOF" clear
cat <<"EOF"
_____ _______ __ ______ _____ _______ __ ______
/__ /_ ______ __v5 _____ / / ___/ / / / / _/ /__ /_ ______ __v5 _____ / / ___/ / / / / _/
/ /| | /| / / __ `/ | / / _ \ __ / /\__ \ / / / // / / /| | /| / / __ `/ | / / _ \ __ / /\__ \ / / / // /
@ -15,7 +17,6 @@ function header_info {
EOF EOF
} }
clear
header_info header_info
echo -e "Loading..." echo -e "Loading..."
APP="Zwave-JS-UI" APP="Zwave-JS-UI"
@ -64,18 +65,17 @@ function msg_error() {
} }
function PVE_CHECK() { function PVE_CHECK() {
PVE=$(pveversion | grep "pve-manager/7" | wc -l) if [ $(pveversion | grep -c "pve-manager/7\.[0-9]") -eq 0 ]; then
if [[ $PVE != 1 ]]; then echo -e "${CROSS} This version of Proxmox Virtual Environment is not supported"
echo -e "${RD}This script requires Proxmox Virtual Environment 7.0 or greater${CL}" echo -e "Requires PVE Version 7.0 or higher"
echo -e "Exiting..." echo -e "Exiting..."
sleep 2 sleep 2
exit exit
fi fi
} }
function ARCH_CHECK() { function ARCH_CHECK() {
ARCH=$(dpkg --print-architecture) if [ "$(dpkg --print-architecture)" != "amd64" ]; then
if [[ "$ARCH" != "amd64" ]]; then echo -e "\n ${CROSS} This script will not work with PiMox! \n"
echo -e "\n ❌ This script will not work with PiMox! \n"
echo -e "Exiting..." echo -e "Exiting..."
sleep 2 sleep 2
exit exit
@ -337,7 +337,6 @@ function install_script() {
fi fi
} }
function update_script() { function update_script() {
clear
header_info header_info
RELEASE=$(curl -s https://api.github.com/repos/zwave-js/zwave-js-ui/releases/latest | grep "tag_name" | awk '{print substr($2, 2, length($2)-3) }') RELEASE=$(curl -s https://api.github.com/repos/zwave-js/zwave-js-ui/releases/latest | grep "tag_name" | awk '{print substr($2, 2, length($2)-3) }')
msg_info "Stopping Z-wave JS UI" msg_info "Stopping Z-wave JS UI"
@ -360,8 +359,9 @@ msg_ok "Cleaned"
msg_ok "Updated Successfully!\n" msg_ok "Updated Successfully!\n"
exit exit
} }
clear
ARCH_CHECK ARCH_CHECK
PVE_CHECK
header_info
if ! command -v pveversion >/dev/null 2>&1; then update_script; else install_script; fi if ! command -v pveversion >/dev/null 2>&1; then update_script; else install_script; fi
if [ "$VERB" == "yes" ]; then set -x; fi if [ "$VERB" == "yes" ]; then set -x; fi
if [ "$CT_TYPE" == "1" ]; then if [ "$CT_TYPE" == "1" ]; then