← Back to team overview

ubuntukylin-members team mailing list archive

[Branch ~ubuntukylin-members/ubuntukylin-default-settings/trunk] Rev 126: modify hooks/chroot file

 

------------------------------------------------------------
revno: 126
committer: ShuiLu Pi <shuilupi@xxxxxxxxxxxxxxx>
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