summaryrefslogtreecommitdiffhomepage
path: root/libs/ipkg/luasrc/model/ipkg.lua
diff options
context:
space:
mode:
authorJo-Philipp Wich <jow@openwrt.org>2011-10-14 22:25:07 +0000
committerJo-Philipp Wich <jow@openwrt.org>2011-10-14 22:25:07 +0000
commit55297447cd92653c947934c587bf2b7c790afd2a (patch)
treea5bdf38b11afc6a3fa996acc179c51cff5b113ac /libs/ipkg/luasrc/model/ipkg.lua
parentaf4afea77f9abda7093bba594f203134ef1d6cff (diff)
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
Diffstat (limited to 'libs/ipkg/luasrc/model/ipkg.lua')
-rw-r--r--libs/ipkg/luasrc/model/ipkg.lua3
1 files changed, 1 insertions, 2 deletions
diff --git a/libs/ipkg/luasrc/model/ipkg.lua b/libs/ipkg/luasrc/model/ipkg.lua
index a510e88e5d..73fa3c305c 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
-