Merge authors: Anthony Wong (anthonywong) Related merge proposals: https://code.launchpad.net/~anthonywong/ubuntukylin-default-settings/fix-1374244/+merge/236060 proposed by: Anthony Wong (anthonywong) ------------------------------------------------------------ revno: 179 [merge] committer: ShuiLu Pi <[email protected]> branch nick: ubuntukylin-default-settings timestamp: Fri 2014-09-26 13:58:12 +0800 message: fix Bug #1374244 modified: debian/changelog debian/ubuntukylin-default-settings.preinst
-- 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/changelog' --- debian/changelog 2014-09-22 16:36:28 +0000 +++ debian/changelog 2014-09-26 05:01:54 +0000 @@ -1,3 +1,10 @@ +ubuntukylin-default-settings (1.3.1) utopic; urgency=low + + * Be more specific in replacing Ubuntu in /etc/os-release to prevent + recursive substitution. (LP: #1374244) + + -- Anthony Wong <[email protected]> Fri, 26 Sep 2014 12:55:22 +0800 + ubuntukylin-default-settings (1.3.0) utopic; urgency=low * Eliminate the pop up of incomplete language support (LP: #1335776) === modified file 'debian/ubuntukylin-default-settings.preinst' --- debian/ubuntukylin-default-settings.preinst 2014-09-19 09:22:17 +0000 +++ debian/ubuntukylin-default-settings.preinst 2014-09-26 05:01:54 +0000 @@ -12,7 +12,8 @@ for item in $files; do dpkg-divert --package $package --rename --divert "/$item"".orig-brand" --add "/$item" done - sed -i "/NAME/s/Ubuntu/Ubuntu Kylin/g" /etc/os-release + sed -i 's/\(NAME="Ubuntu\)"/\1 Kylin"/' /etc/os-release + sed -i 's/\(PRETTY_NAME="Ubuntu\) 1/\1 Kylin 1/' /etc/os-release rm -f /etc/ubuntukylin-release rm -f /usr/share/language-support/incomplete-language-support-gnome.note fi
-- Mailing list: https://launchpad.net/~ubuntukylin-members Post to : [email protected] Unsubscribe : https://launchpad.net/~ubuntukylin-members More help : https://help.launchpad.net/ListHelp

