ubuntukylin-members team mailing list archive
-
ubuntukylin-members team
-
Mailing list archive
-
Message #04234
[Branch ~ubuntukylin-members/ubuntukylin-default-settings/trunk] Rev 181: Should target to configure stage
------------------------------------------------------------
revno: 181
committer: Aron Xu <happyaron.xu@xxxxxxxxx>
branch nick: ubuntukylin-default-settings
timestamp: Fri 2014-11-21 01:18:13 +0800
message:
Should target to configure stage
modified:
debian/ubuntukylin-default-settings.postinst
--
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 'debian/ubuntukylin-default-settings.postinst'
--- debian/ubuntukylin-default-settings.postinst 2014-11-20 17:10:58 +0000
+++ debian/ubuntukylin-default-settings.postinst 2014-11-20 17:18:13 +0000
@@ -5,7 +5,7 @@
FILE_PATH=/etc/apt/sources.list.d
FILE_NAME=ubuntukylin.list
-if [ "$1" = install -o "$1" = upgrade ]; then
+if [ "$1" = configure ]; then
md5sum ${FILE_PATH}/* 2>/dev/null | grep -v ${FILE_NAME} | grep ${FILE_MD5SUM} | awk '{print $2}' | xargs rm -f
fi