fix(advanced_uninstall): 更换高级卸载插件的下载安装方式
将原有的ipk插件下载安装改为下载.run安装包并直接执行安装
This commit is contained in:
@@ -342,9 +342,8 @@ do_install_ui_helper() {
|
|||||||
# ============================================================================
|
# ============================================================================
|
||||||
advanced_uninstall() {
|
advanced_uninstall() {
|
||||||
echo "📥 正在下载高级卸载插件..."
|
echo "📥 正在下载高级卸载插件..."
|
||||||
wget -O /tmp/advanced_uninstall.ipk $HTTP_HOST/uninstall/advanced_uninstall.ipk
|
wget -O /tmp/advanced_uninstall.run $HTTP_HOST/uninstall/luci-app-uninstall.run
|
||||||
opkg update
|
sh /tmp/advanced_uninstall.run
|
||||||
opkg install /tmp/advanced_uninstall.ipk
|
|
||||||
}
|
}
|
||||||
|
|
||||||
# ============================================================================
|
# ============================================================================
|
||||||
|
|||||||
Binary file not shown.
9360
uninstall/luci-app-uninstall.run
Normal file
9360
uninstall/luci-app-uninstall.run
Normal file
File diff suppressed because it is too large
Load Diff
Reference in New Issue
Block a user