Merge lp:~happyaron/ubuntukylin-theme/16.04-maint-script into lp:ubuntukylin-theme/16.04

Proposed by Aron Xu
Status: Merged
Approved by: zhangchao
Approved revision: 76
Merged at revision: 78
Proposed branch: lp:~happyaron/ubuntukylin-theme/16.04-maint-script
Merge into: lp:ubuntukylin-theme/16.04
Diff against target: 101 lines (+55/-8)
4 files modified
debian/control (+1/-1)
debian/ubuntukylin-theme.postinst (+0/-1)
debian/ubuntukylin-theme.postrm (+0/-6)
debian/ubuntukylin-theme.prerm (+54/-0)
To merge this branch: bzr merge lp:~happyaron/ubuntukylin-theme/16.04-maint-script
Reviewer Review Type Date Requested Status
zhangchao Approve
Review via email: mp+283956@code.launchpad.net
To post a comment you must log in.
Revision history for this message
zhangchao (zctgbhu) :
review: Approve

Preview Diff

[H/L] Next/Prev Comment, [J/K] Next/Prev File, [N/P] Next/Prev Hunk
1=== modified file 'debian/control'
2--- debian/control 2014-07-15 02:37:57 +0000
3+++ debian/control 2016-01-26 13:29:09 +0000
4@@ -4,7 +4,7 @@
5 Maintainer: Ubuntu Kylin Team <ubuntukylin-members@lists.launchpad.net>
6 Uploaders: zhangchao <zhangchao@ubuntukylin.com>
7 Build-Depends: debhelper (>= 9)
8-Standards-Version: 3.9.5
9+Standards-Version: 3.9.6
10 Homepage: https://launchpad.net/ubuntukylin-theme
11 Vcs-Bzr: https://code.launchpad.net/~ubuntukylin-members/ubuntukylin-theme/ubuntukylin-theme
12
13
14=== modified file 'debian/ubuntukylin-theme.postinst'
15--- debian/ubuntukylin-theme.postinst 2015-01-28 07:39:57 +0000
16+++ debian/ubuntukylin-theme.postinst 2016-01-26 13:29:09 +0000
17@@ -47,4 +47,3 @@
18 esac
19
20 #DEBHELPER#
21-exit 0
22
23=== modified file 'debian/ubuntukylin-theme.postrm'
24--- debian/ubuntukylin-theme.postrm 2015-01-28 07:39:57 +0000
25+++ debian/ubuntukylin-theme.postrm 2016-01-26 13:29:09 +0000
26@@ -29,11 +29,6 @@
27
28 case "$1" in
29 remove)
30- update-alternatives \
31- --remove default.plymouth /lib/plymouth/themes/ubuntukylin-logo/ubuntukylin-logo.plymouth
32-
33- update-alternatives \
34- --remove text.plymouth /lib/plymouth/themes/ubuntukylin-text/ubuntukylin-text.plymouth
35
36 if [ -e /boot/grub/grub.cfg ]; then
37 # Will break Live CD generation, LP #1228462
38@@ -62,4 +57,3 @@
39 esac
40
41 #DEBHELPER#
42-exit 0
43
44=== added file 'debian/ubuntukylin-theme.prerm'
45--- debian/ubuntukylin-theme.prerm 1970-01-01 00:00:00 +0000
46+++ debian/ubuntukylin-theme.prerm 2016-01-26 13:29:09 +0000
47@@ -0,0 +1,54 @@
48+#!/bin/sh -e
49+# This script can be called in the following ways:
50+#
51+# After the package was removed:
52+# <postrm> remove
53+#
54+# After the package was purged:
55+# <postrm> purge
56+#
57+# After the package was upgraded:
58+# <old-postrm> upgrade <new-version>
59+# if that fails:
60+# <new-postrm> failed-upgrade <old-version>
61+#
62+#
63+# After all of the packages files have been replaced:
64+# <postrm> disappear <overwriting-package> <version>
65+#
66+#
67+# If preinst fails during install:
68+# <new-postrm> abort-install
69+#
70+# If preinst fails during upgrade of removed package:
71+# <new-postrm> abort-install <old-version>
72+#
73+# If preinst fails during upgrade:
74+# <new-postrm> abort-upgrade <old-version>
75+
76+
77+case "$1" in
78+ remove)
79+ update-alternatives \
80+ --remove default.plymouth /lib/plymouth/themes/ubuntukylin-logo/ubuntukylin-logo.plymouth
81+
82+ update-alternatives \
83+ --remove text.plymouth /lib/plymouth/themes/ubuntukylin-text/ubuntukylin-text.plymouth
84+ ;;
85+
86+ purge)
87+ ;;
88+
89+ upgrade|failed-upgrade|disappear)
90+ ;;
91+
92+ abort-install|abort-upgrade)
93+ ;;
94+
95+ *)
96+ echo "$0 called with unknown argument \`$1'" 1>&2
97+ exit 1
98+ ;;
99+esac
100+
101+#DEBHELPER#

Subscribers

People subscribed via source and target branches

to all changes: