Skip to content

Commit be7d070

Browse files
authored
Standardize update success messages in scripts (#8757)
1 parent e900367 commit be7d070

File tree

357 files changed

+1286
-1207
lines changed

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

357 files changed

+1286
-1207
lines changed

ct/2fauth.sh

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -66,7 +66,7 @@ function update_script() {
6666
$STD apt -y autoclean
6767
$STD apt -y clean
6868
msg_ok "Cleanup Completed"
69-
msg_ok "Updated Successfully"
69+
msg_ok "Updated successfully!"
7070
fi
7171
exit
7272
}

ct/actualbudget.sh

Lines changed: 3 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
#!/usr/bin/env bash
1+
#!/usr/bin/env bash
22
source <(curl -fsSL https://raw.githubusercontent.com/community-scripts/ProxmoxVE/main/misc/build.func)
33
# Copyright (c) 2021-2025 community-scripts ORG
44
# Author: MickLesk (CanbiZ)
@@ -44,14 +44,15 @@ function update_script() {
4444
msg_info "Starting Service"
4545
systemctl start actualbudget
4646
msg_ok "Started Service"
47+
msg_ok "Updated successfully!"
4748
else
4849
msg_info "${APP} is already up to date"
4950
fi
5051
else
5152
msg_info "Old Installation Found, you need to migrate your data and recreate to a new container"
5253
msg_info "Please follow the instructions on the ${APP} website to migrate your data"
5354
msg_info "https://actualbudget.org/docs/backup-restore/backup"
54-
exit 1
55+
exit
5556
fi
5657
exit
5758
}

ct/adventurelog.sh

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -73,7 +73,7 @@ function update_script() {
7373
msg_info "Cleaning Up"
7474
rm -rf /opt/adventurelog-backup
7575
msg_ok "Cleaned"
76-
msg_ok "Updated Successfully"
76+
msg_ok "Updated successfully!"
7777
fi
7878
exit
7979
}

ct/agentdvr.sh

Lines changed: 3 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -27,7 +27,7 @@ function update_script() {
2727
msg_error "No ${APP} Installation Found!"
2828
exit
2929
fi
30-
30+
3131
RELEASE=$(curl -fsSL "https://www.ispyconnect.com/api/Agent/DownloadLocation4?platform=Linux64&fromVersion=0" | grep -o 'https://.*\.zip')
3232
if [[ "${RELEASE}" != "$(cat ~/.agentdvr 2>/dev/null)" ]] || [[ ! -f ~/.agentdvr ]]; then
3333
msg_info "Stopping service"
@@ -39,15 +39,14 @@ function update_script() {
3939
curl -fsSL "$RELEASE" -o $(basename "$RELEASE")
4040
$STD unzip -o Agent_Linux64*.zip
4141
chmod +x ./Agent
42-
echo $RELEASE > ~/.agentdvr
42+
echo $RELEASE >~/.agentdvr
4343
rm -rf Agent_Linux64*.zip
4444
msg_ok "Updated $APP"
4545

4646
msg_info "Starting service"
4747
systemctl start AgentDVR
4848
msg_ok "Service started"
49-
50-
msg_ok "Updated $APP successfully"
49+
msg_ok "Updated successfully!"
5150
else
5251
msg_ok "No update required. ${APP} is already at ${RELEASE}"
5352
fi

ct/alpine-adguard.sh

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -32,6 +32,7 @@ function update_script() {
3232
msg_info "Restarting AdGuard Home"
3333
$STD rc-service adguardhome restart
3434
msg_ok "Restarted AdGuard Home"
35+
msg_ok "Updated successfully!"
3536
exit 0
3637
}
3738

ct/alpine-bitmagnet.sh

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -24,7 +24,7 @@ function update_script() {
2424

2525
if [[ ! -d /opt/bitmagnet ]]; then
2626
msg_error "No ${APP} Installation Found!"
27-
exit 1
27+
exit
2828
fi
2929
RELEASE=$(curl -fsSL https://api.github.com/repos/bitmagnet-io/bitmagnet/releases/latest | grep "tag_name" | awk '{print substr($2, 3, length($2)-4) }')
3030
if [ "${RELEASE}" != "$(cat /opt/bitmagnet_version.txt)" ] || [ ! -f /opt/bitmagnet_version.txt ]; then
@@ -71,7 +71,7 @@ function update_script() {
7171
rm -f "$temp_file"
7272
echo "${RELEASE}" >/opt/bitmagnet_version.txt
7373
$STD service bitmagnet start
74-
msg_ok "Updated Successfully"
74+
msg_ok "Updated successfully!"
7575
else
7676
msg_ok "No update required. ${APP} is already at ${RELEASE}"
7777
fi

ct/alpine-caddy.sh

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -32,6 +32,7 @@ function update_script() {
3232
msg_info "Restarting Caddy"
3333
rc-service caddy restart
3434
msg_ok "Restarted Caddy"
35+
msg_ok "Updated successfully!"
3536
exit 0
3637
}
3738

ct/alpine-docker.sh

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -37,6 +37,7 @@ function update_script() {
3737
case $CHOICE in
3838
1)
3939
$STD apk -U upgrade
40+
msg_ok "Updated successfully!"
4041
exit
4142
;;
4243
esac

ct/alpine-forgejo.sh

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -31,6 +31,7 @@ function update_script() {
3131
msg_info "Restarting Forgejo"
3232
$STD rc-service forgejo restart
3333
msg_ok "Restarted Forgejo"
34+
msg_ok "Updated successfully!"
3435
exit 0
3536
}
3637

ct/alpine-garage.sh

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -46,7 +46,7 @@ function update_script() {
4646
msg_info "Starting Service"
4747
rc-service garage start || rc-service garage restart
4848
msg_ok "Started Service"
49-
msg_ok "Update Successfully!"
49+
msg_ok "Updated successfully!"
5050
else
5151
msg_ok "No update required. Garage is already at ${GITEA_RELEASE}"
5252
fi

0 commit comments

Comments
 (0)