Small Tweak
This commit is contained in:
parent
6a132e0305
commit
091bc88d44
4 changed files with 4 additions and 4 deletions
|
@ -309,7 +309,7 @@ function install_script() {
|
||||||
fi
|
fi
|
||||||
}
|
}
|
||||||
function update_script() {
|
function update_script() {
|
||||||
UPD=$(whiptail --title "UPDATE" --radiolist --cancel-button Exit-Script "Choose Type" 8 58 2 \
|
UPD=$(whiptail --title "SUPPORT" --radiolist --cancel-button Exit-Script "Spacebar = Select" 11 58 4 \
|
||||||
"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)
|
||||||
|
|
|
@ -313,7 +313,7 @@ function update_script() {
|
||||||
RELEASE=$(curl -s https://api.github.com/repos/paperless-ngx/paperless-ngx/releases/latest | grep "tag_name" | awk '{print substr($2, 2, length($2)-3) }')
|
RELEASE=$(curl -s https://api.github.com/repos/paperless-ngx/paperless-ngx/releases/latest | grep "tag_name" | awk '{print substr($2, 2, length($2)-3) }')
|
||||||
SER=/etc/systemd/system/paperless-task-queue.service
|
SER=/etc/systemd/system/paperless-task-queue.service
|
||||||
|
|
||||||
UPD=$(whiptail --title "UPDATE" --radiolist --cancel-button Exit-Script "Choose Type" 8 58 2 \
|
UPD=$(whiptail --title "SUPPORT" --radiolist --cancel-button Exit-Script "Spacebar = Select" 11 58 4 \
|
||||||
"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)
|
||||||
|
|
|
@ -317,7 +317,7 @@ WVRELEASE=$(curl -s https://api.github.com/repos/dani-garcia/bw_web_builds/relea
|
||||||
grep "tag_name" |
|
grep "tag_name" |
|
||||||
awk '{print substr($2, 2, length($2)-3) }')
|
awk '{print substr($2, 2, length($2)-3) }')
|
||||||
|
|
||||||
UPD=$(whiptail --title "UPDATE" --radiolist --cancel-button Exit-Script "Choose Type" 8 58 3 \
|
UPD=$(whiptail --title "SUPPORT" --radiolist --cancel-button Exit-Script "Spacebar = Select" 11 58 4 \
|
||||||
"1" "VaultWarden $VAULT" ON \
|
"1" "VaultWarden $VAULT" ON \
|
||||||
"2" "Web-Vault $WVRELEASE" OFF \
|
"2" "Web-Vault $WVRELEASE" OFF \
|
||||||
"3" "Show Admin Token" OFF \
|
"3" "Show Admin Token" OFF \
|
||||||
|
|
|
@ -310,7 +310,7 @@ function install_script() {
|
||||||
}
|
}
|
||||||
|
|
||||||
function update_script() {
|
function update_script() {
|
||||||
UPD=$(whiptail --title "SUPPORT" --radiolist --cancel-button Exit-Script "Choose Type" 8 58 2 \
|
UPD=$(whiptail --title "SUPPORT" --radiolist --cancel-button Exit-Script "Spacebar = Select" 11 58 4 \
|
||||||
"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)
|
||||||
|
|
Loading…
Reference in a new issue