Skip to content

Commit 8852799

Browse files
Update download URLs to use versioned paths
1 parent 85bbb9c commit 8852799

File tree

1 file changed

+5
-5
lines changed

1 file changed

+5
-5
lines changed

ci/script.sh

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -6,26 +6,26 @@ command -v wget >/dev/null || {
66
}
77

88
if [ ! -f "1pctl" ]; then
9-
wget https://github.com/1Panel-dev/installer/raw/main/1pctl
9+
wget https://github.com/1Panel-dev/installer/raw/v1/1pctl
1010
fi
1111

1212
if [ ! -f "install.sh" ]; then
13-
wget https://github.com/1Panel-dev/installer/raw/main/install.sh
13+
wget https://github.com/1Panel-dev/installer/raw/v1/install.sh
1414
fi
1515

1616
if [ ! -d "initscript" ]; then
17-
wget https://github.com/1Panel-dev/installer/raw/main/initscript/1panel.service
17+
wget https://github.com/1Panel-dev/installer/raw/v1/initscript/1panel.service
1818
mkdir -p initscript && cd initscript
1919
for file in 1panel.service 1paneld.init 1paneld.openrc 1paneld.procd; do
20-
wget -q https://github.com/1Panel-dev/installer/raw/main/initscript/$file
20+
wget -q https://github.com/1Panel-dev/installer/raw/v1/initscript/$file
2121
done
2222
cd ..
2323
fi
2424

2525
if [ ! -d "lang" ]; then
2626
mkdir -p lang && cd lang
2727
for lang in en fa pt-BR ru zh; do
28-
wget -q https://github.com/1Panel-dev/installer/raw/main/lang/$lang.sh
28+
wget -q https://github.com/1Panel-dev/installer/raw/v1/lang/$lang.sh
2929
done
3030
cd ..
3131
fi

0 commit comments

Comments
 (0)