Skip to content

Commit 817edd6

Browse files
authored
PeaNUT: use clean install flag during update (#9100)
- Fixes an issue with middleware update - also removed semicolon from tags
1 parent 6883a39 commit 817edd6

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

ct/peanut.sh

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -6,7 +6,7 @@ source <(curl -fsSL https://raw.githubusercontent.com/community-scripts/ProxmoxV
66
# Source: https://github.com/Brandawg93/PeaNUT/
77

88
APP="PeaNUT"
9-
var_tags="${var_tags:-network;ups;}"
9+
var_tags="${var_tags:-network;ups}"
1010
var_cpu="${var_cpu:-2}"
1111
var_ram="${var_ram:-4096}"
1212
var_disk="${var_disk:-7}"
@@ -35,7 +35,7 @@ function update_script() {
3535
systemctl stop peanut
3636
msg_info "Stopped Service"
3737

38-
fetch_and_deploy_gh_release "peanut" "Brandawg93/PeaNUT" "tarball" "latest" "/opt/peanut"
38+
CLEAN_INSTALL=1 fetch_and_deploy_gh_release "peanut" "Brandawg93/PeaNUT" "tarball" "latest" "/opt/peanut"
3939

4040
msg_info "Updating $APP"
4141
cd /opt/peanut

0 commit comments

Comments
 (0)