Skip to content

Commit

Permalink
Fix: Memos update function (#1207)
Browse files Browse the repository at this point in the history
  • Loading branch information
MickLesk authored Jan 3, 2025
1 parent ff8b060 commit e165153
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion ct/memos.sh
Original file line number Diff line number Diff line change
Expand Up @@ -34,6 +34,7 @@ function update_script() {
fi
msg_info "Updating $APP (Patience)"
cd /opt/memos
git reset --hard HEAD
output=$(git pull --no-rebase)
if echo "$output" | grep -q "Already up to date."; then
msg_ok "$APP is already up to date."
Expand All @@ -60,4 +61,4 @@ description
msg_ok "Completed Successfully!\n"
echo -e "${CREATING}${GN}${APP} setup has been successfully initialized!${CL}"
echo -e "${INFO}${YW} Access it using the following URL:${CL}"
echo -e "${TAB}${GATEWAY}${BGN}http://${IP}:9030${CL}"
echo -e "${TAB}${GATEWAY}${BGN}http://${IP}:9030${CL}"

0 comments on commit e165153

Please sign in to comment.