Update fenrus.sh

Add "There is currently no update path available." until fully tested
pull/2923/head
tteckster 2024-05-05 09:29:21 -04:00 committed by GitHub
parent 410794f055
commit 3c463d4ce1
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194
1 changed files with 6 additions and 4 deletions

View File

@ -9,12 +9,12 @@ source <(curl -s https://raw.githubusercontent.com/tteck/Proxmox/main/misc/build
function header_info { function header_info {
clear clear
cat <<"EOF" cat <<"EOF"
______ ______
/ ____/__ ____ _______ _______ / ____/__ ____ _______ _______
/ /_ / _ \/ __ \/ ___/ / / / ___/ / /_ / _ \/ __ \/ ___/ / / / ___/
/ __/ / __/ / / / / / /_/ (__ ) / __/ / __/ / / / / / /_/ (__ )
/_/ \___/_/ /_/_/ \__,_/____/ /_/ \___/_/ /_/_/ \__,_/____/
EOF EOF
} }
header_info header_info
@ -56,6 +56,8 @@ function default_settings() {
function update_script() { function update_script() {
header_info header_info
if [[ ! -d /opt/${APP} ]]; then msg_error "No ${APP} Installation Found!"; exit; fi if [[ ! -d /opt/${APP} ]]; then msg_error "No ${APP} Installation Found!"; exit; fi
msg_error "There is currently no update path available."
exit
msg_info "Updating ${APP}" msg_info "Updating ${APP}"
systemctl stop ${APP} systemctl stop ${APP}
git clone https://github.com/revenz/Fenrus.git git clone https://github.com/revenz/Fenrus.git