Update upstream.yml

This commit is contained in:
kiddin9 authored and GitHub committed 2026-09-29 21:22:05 +08:00
1 parent 08343f89fa
commit ac66545478
1 file changed
+3 -3
+3 -3
View File
@@ -572,11 +572,11 @@ jobs:
sed -i -e "s/data-page=admin-dashboard/data-page=admin-status-dashboard/g" \
-e '$a\.modal>pre,.modal>textarea{color: #ccc};' \
luci-theme-argon/htdocs/luci-static/argon/css/dark.css
OLD="luci-app-homeproxy"
NEW="luci-app-homeproxy-pro"
OLD="homeproxy"
NEW="homeproxy-pro"
mv luci-app-homeproxy-pro/po/templates/homeproxy.pot luci-app-homeproxy-pro/po/templates/homeproxy-pro.pot 2>/dev/null || true
find luci-app-homeproxy-pro/po/ -name "homeproxy.po" -execdir mv homeproxy.po homeproxy-pro.po \; 2>/dev/null || true
find ./luci-app-homeproxy-pro -depth -name "*${OLD}*" | while IFS= read -r item; do
find ./luci-app-homeproxy-pro/ -depth -name "*${OLD}*" | while IFS= read -r item; do
dir=$(dirname "$item")
base=$(basename "$item")
mv "$item" "$dir/${base//${OLD}/${NEW}}"