mirror of
https://github.com/kiddin9/op-packages.git
synced 2026-10-26 23:02:51 +08:00
Update upstream.yml
This commit is contained in:
1 parent
7eac2a209f
commit
5e54c835ed
1 file changed
+16
-2
@@ -223,7 +223,7 @@ jobs:
|
||||
git_clone https://github.com/4IceG/luci-app-atcommands atcommands && mvdir atcommands
|
||||
git_clone https://github.com/wukongdaily/luci-app-run run1 && mvdir run1
|
||||
git_clone https://github.com/szwjp/luci-app-homeproxy
|
||||
# git_clone https://github.com/szwjp/luci-app-homeproxy-pro
|
||||
git_clone https://github.com/szwjp/luci-app-homeproxy-pro
|
||||
git_clone https://github.com/weicaixian86/luci-app-pingpacket
|
||||
) &
|
||||
(
|
||||
@@ -572,7 +572,21 @@ 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"
|
||||
cd luci-app-homeproxy
|
||||
mv po/templates/homeproxy.pot po/templates/homeproxy-pro.pot 2>/dev/null || true
|
||||
find po/ -name "homeproxy.po" -execdir mv homeproxy.po homeproxy-pro.po \; 2>/dev/null || true
|
||||
find . -depth -name "*${OLD}*" | while IFS= read -r item; do
|
||||
dir=$(dirname "$item")
|
||||
base=$(basename "$item")
|
||||
mv "$item" "$dir/${base//${OLD}/${NEW}}"
|
||||
done
|
||||
find . -type f ! -path '*/.git*' -exec sed -i \
|
||||
-e "s/\b${OLD}\b/${NEW}/g" \
|
||||
-e "s/${NEW}${NEW#${OLD}}/${NEW}/g" \
|
||||
-e 's/"title": "HomeProxy"/"title": "HomeProxy Pro"/g' {} +
|
||||
cd -
|
||||
while [[ ! -f /tmp/ok || ! -f /tmp/ok2 || ! -f /tmp/ok3 ]]; do
|
||||
echo "wait"
|
||||
sleep 1
|
||||
|
||||
Reference in new issue
Block a user