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

This commit is contained in:
Jo-Philipp Wich 2011-10-14 22:25:07 +00:00
parent af4afea77f
commit 55297447cd

View file

@ -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