------------------------------------------------------------
revno: 126
committer: ShuiLu Pi <[email protected]>
branch nick: ubuntukylin-default-settings
timestamp: Tue 2014-04-01 16:47:07 +0800
message:
  modify hooks/chroot file
modified:
  hooks/chroot


--
lp:ubuntukylin-default-settings
https://code.launchpad.net/~ubuntukylin-members/ubuntukylin-default-settings/trunk

Your team Ubuntu Kylin Members is subscribed to branch 
lp:ubuntukylin-default-settings.
To unsubscribe from this branch go to 
https://code.launchpad.net/~ubuntukylin-members/ubuntukylin-default-settings/trunk/+edit-subscription
=== modified file 'hooks/chroot'
--- hooks/chroot	2014-04-01 02:52:32 +0000
+++ hooks/chroot	2014-04-01 08:47:07 +0000
@@ -9,7 +9,7 @@
 
 cat /usr/share/ubuntukylin-default-settings/remove-package.list | while read line
 do
-    [ `dpkg -l $line | grep -c "ii"` != 0 ] && apt-get purge --auto-remove -y $line
+    [ `dpkg -l $line | grep -c "^ii"` != 0 ] && apt-get purge --auto-remove -y $line
 done
 
 #apt-get purge --auto-remove -y ibus ibus-gtk ibus-gtk3 python-ibus libopencc1 ubuntu-wallpapers ubuntu-wallpapers-trusty indicator-keyboard libtcl8.6 

-- 
Mailing list: https://launchpad.net/~ubuntukylin-members
Post to     : [email protected]
Unsubscribe : https://launchpad.net/~ubuntukylin-members
More help   : https://help.launchpad.net/ListHelp

Reply via email to