mirror of
https://github.com/community-scripts/ProxmoxVE.git
synced 2026-08-14 16:46:14 +02:00
Refactor application update messages in rss-bridge.sh
This commit is contained in:
committed by
GitHub
parent
6c21653320
commit
3f72177ac9
+2
-7
@@ -1,9 +1,5 @@
|
||||
#!/usr/bin/env bash
|
||||
# Engine comes from community-scripts/core; this repo only ships the scripts.
|
||||
# A local core checkout wins (COMMUNITY_SCRIPTS_CORE_DIR, else a sibling ../core),
|
||||
# so a fork or branch of core can be tested without editing this file.
|
||||
_cs_boot="${COMMUNITY_SCRIPTS_CORE_DIR:-$(dirname "${BASH_SOURCE[0]}")/../../core}/core/build.func"
|
||||
source "$_cs_boot" 2>/dev/null || source <(curl -fsSL "${COMMUNITY_SCRIPTS_CORE_URL:-https://raw.githubusercontent.com/community-scripts/core/main}/core/build.func")
|
||||
source <(curl -fsSL https://raw.githubusercontent.com/community-scripts/ProxmoxVE/main/misc/build.func)
|
||||
# Copyright (c) 2021-2026 community-scripts ORG
|
||||
# Author: MickLesk (CanbiZ)
|
||||
# License: MIT | https://github.com/community-scripts/ProxmoxVE/raw/main/LICENSE
|
||||
@@ -45,9 +41,8 @@ function update_script() {
|
||||
cd /opt/rss-bridge
|
||||
$STD composer install --no-dev --optimize-autoloader
|
||||
chown -R www-data:www-data /opt/rss-bridge
|
||||
msg_ok "Updated Application"
|
||||
|
||||
systemctl restart caddy
|
||||
msg_ok "Updated Application"
|
||||
msg_ok "Updated successfully!"
|
||||
fi
|
||||
exit
|
||||
|
||||
Reference in New Issue
Block a user