去掉换源
This commit is contained in:
parent
aad8e8a9bf
commit
ef298252f3
@ -54,8 +54,7 @@ install_istore_os_style() {
|
||||
# 安装iStore 参考 https://github.com/linkease/istore
|
||||
do_istore() {
|
||||
echo "do_istore method==================>"
|
||||
# 换源
|
||||
ISTORE_REPO=https://istore.istoreos.com/repo/all/store
|
||||
ISTORE_REPO=https://istore.linkease.com/repo/all/store
|
||||
FCURL="curl --fail --show-error"
|
||||
|
||||
curl -V >/dev/null 2>&1 || {
|
||||
@ -79,10 +78,7 @@ do_istore() {
|
||||
/tmp/is-opkg opkg install --force-reinstall luci-app-store || exit $?
|
||||
[ -s "/etc/init.d/tasks" ] || /tmp/is-opkg opkg install --force-reinstall taskd
|
||||
[ -s "/usr/lib/lua/luci/cbi.lua" ] || /tmp/is-opkg opkg install luci-compat >/dev/null 2>&1
|
||||
# 换源
|
||||
sed -i 's/istore.linkease.com/istore.istoreos.com/g' /bin/is-opkg
|
||||
sed -i 's/istore.linkease.com/istore.istoreos.com/g' /etc/opkg/compatfeeds.conf
|
||||
sed -i 's/istore.linkease.com/istore.istoreos.com/g' /www/luci-static/istore/index.js
|
||||
|
||||
}
|
||||
|
||||
#设置风扇工作温度
|
||||
|
Loading…
Reference in New Issue
Block a user