去掉换源

This commit is contained in:
悟空的日常镜像仓库 2025-01-24 22:00:50 +08:00
parent aad8e8a9bf
commit ef298252f3

View File

@ -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
}
#设置风扇工作温度