From 55297447cd92653c947934c587bf2b7c790afd2a Mon Sep 17 00:00:00 2001 From: Jo-Philipp Wich Date: Fri, 14 Oct 2011 22:25:07 +0000 Subject: [PATCH] libs/ipkg: don't --autoremove; its dangeros. Attempting to uninstall kmod-ipt-nat with it will remove half of luci too, additionally opkg segfaults and corrupts the status database --- libs/ipkg/luasrc/model/ipkg.lua | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/libs/ipkg/luasrc/model/ipkg.lua b/libs/ipkg/luasrc/model/ipkg.lua index a510e88e5..73fa3c305 100644 --- a/libs/ipkg/luasrc/model/ipkg.lua +++ b/libs/ipkg/luasrc/model/ipkg.lua @@ -23,7 +23,7 @@ local pairs = pairs local error = error local table = table -local ipkg = "opkg --force-removal-of-dependent-packages --force-overwrite --autoremove" +local ipkg = "opkg --force-removal-of-dependent-packages --force-overwrite" local icfg = "/etc/opkg.conf" --- LuCI OPKG call abstraction library @@ -229,4 +229,3 @@ function overlay_root() return od end - -- 2.25.1