libs/ipkg: call opkg with --autoremove
authorJo-Philipp Wich <jow@openwrt.org>
Mon, 8 Mar 2010 01:47:10 +0000 (01:47 +0000)
committerJo-Philipp Wich <jow@openwrt.org>
Mon, 8 Mar 2010 01:47:10 +0000 (01:47 +0000)
libs/ipkg/luasrc/model/ipkg.lua

index cda23af56db341e3e188565cce1b46131d71d69b..9abd4ed39a0ce2c39f8d3913e6a717c072db36b0 100644 (file)
@@ -23,7 +23,7 @@ local pairs = pairs
 local error = error
 local table = table
 
-local ipkg = "opkg --force-removal-of-dependent-packages --force-overwrite"
+local ipkg = "opkg --force-removal-of-dependent-packages --force-overwrite --autoremove"
 local icfg = "/etc/opkg.conf"
 
 --- LuCI IPKG/OPKG call abstraction library