Fix 'info -n'
This commit is contained in:
@@ -108,8 +108,8 @@ step_4() {
|
||||
exe chmod 770 $SEQ_GITEA_CONF_DIR
|
||||
info "Creating $giteaLogDir"
|
||||
exe install -g $SEQ_GITEA_USER -m 770 -d "$giteaLogDir"
|
||||
info -n "Copying gitea to global location and making it executable..."
|
||||
exe install -b -m 755 -T "$giteaDownFile" "$SEQ_GITEA_BIN_LOC" && echo "ok"
|
||||
sqr::echo -n "Copying gitea to global location and making it executable..."
|
||||
exe install -b -m 755 -T "$giteaDownFile" "$SEQ_GITEA_BIN_LOC" && sqr::echo "ok"
|
||||
endReturn "Failed to install $SEQ_GITEA_BIN_LOC"
|
||||
}
|
||||
|
||||
@@ -184,8 +184,8 @@ step_12() {
|
||||
exe service gitea stop
|
||||
saveReturn $?
|
||||
endReturn
|
||||
info -n "Backing up existing executable to ${toolBackup}..."
|
||||
exe cp -ar "$SEQ_GITEA_BIN_LOC" "$toolBackup" && info "ok" || info "nok"
|
||||
sqr::echo -n "Backing up existing executable to ${toolBackup}..."
|
||||
exe cp -ar "$SEQ_GITEA_BIN_LOC" "$toolBackup" && sqr::echo "ok" || sqr::echo "nok"
|
||||
fi
|
||||
exe install --backup=none -m 755 -T "$giteaDownFile" "$SEQ_GITEA_BIN_LOC"
|
||||
endReturn -o $? "Upgrade failed"
|
||||
|
Reference in New Issue
Block a user