mirror of
https://github.com/community-scripts/ProxmoxVE.git
synced 2026-05-19 15:15:04 +00:00
Standardize update success messages in scripts (#8757)
This commit is contained in:
@@ -61,8 +61,8 @@ function update_script() {
|
||||
$STD yarn global add serve
|
||||
$STD yarn install --ignore-engines
|
||||
$STD yarn build
|
||||
mv ./dist ../ && \
|
||||
rm -rf * && \
|
||||
mv ./dist ../ &&
|
||||
rm -rf * &&
|
||||
mv ../dist ./
|
||||
if [[ -z $(grep "ExecStart=/usr/local/bin/serve" /etc/systemd/system/synapse-admin.service) ]]; then
|
||||
sed -i 's|^ExecStart=.*|ExecStart=/usr/local/bin/serve -s dist -l 5173|' /etc/systemd/system/synapse-admin.service
|
||||
@@ -71,7 +71,7 @@ function update_script() {
|
||||
systemctl start synapse-admin
|
||||
echo "${RELEASE}" >/opt/"${APP}"_version.txt
|
||||
rm -f "$temp_file"
|
||||
msg_ok "Update Successful"
|
||||
msg_ok "Updated successfully!"
|
||||
else
|
||||
msg_ok "No update required. ${APP} is already at v${RELEASE}"
|
||||
fi
|
||||
|
||||
Reference in New Issue
Block a user