gitea - don't create backup on GNU install call

This commit is contained in:
2022-04-21 22:44:20 +02:00
parent 63338eb466
commit f20043fd61

View File

@@ -187,7 +187,7 @@ step_12() {
echoseq -n "Backing up existing executable to ${toolBackup}..."
exe cp -ar "$SEQ_GITEA_BIN_LOC" "$toolBackup" && echoseq "ok" || echoseq "nok"
fi
exe install -m 755 -T "$giteaDownFile" "$SEQ_GITEA_BIN_LOC"
exe install --backup=none -m 755 -T "$giteaDownFile" "$SEQ_GITEA_BIN_LOC"
endReturn -o $? "Upgrade failed"
exe service gitea start
}