gitea - don't create backup on GNU install call
This commit is contained in:
@@ -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
|
||||
}
|
||||
|
Reference in New Issue
Block a user