Ubuntu Pastebin

Paste from laney at Fri, 15 Apr 2016 11:29:29 +0000

Download as text
 1
 2
 3
 4
 5
 6
 7
 8
 9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
diff -Nru plymouth-0.9.2/debian/changelog plymouth-0.9.2/debian/changelog
--- plymouth-0.9.2/debian/changelog	2016-03-16 14:27:23.000000000 +0000
+++ plymouth-0.9.2/debian/changelog	2016-04-15 12:29:06.000000000 +0100
@@ -1,3 +1,10 @@
+plymouth (0.9.2-3ubuntu12) xenial; urgency=medium
+
+  * debian/plymouth-theme-ubuntu-text.postinst: Only remove the leftover
+    generated files when upgrading, not when triggered.
+
+ -- Iain Lane <iain@orangesquash.org.uk>  Fri, 15 Apr 2016 12:29:06 +0100
+
 plymouth (0.9.2-3ubuntu11) xenial; urgency=medium
 
   * debian/local/plymouth.hook:
diff -Nru plymouth-0.9.2/debian/plymouth-theme-ubuntu-text.postinst plymouth-0.9.2/debian/plymouth-theme-ubuntu-text.postinst
--- plymouth-0.9.2/debian/plymouth-theme-ubuntu-text.postinst	2015-12-09 22:39:36.000000000 +0000
+++ plymouth-0.9.2/debian/plymouth-theme-ubuntu-text.postinst	2016-04-15 12:27:12.000000000 +0100
@@ -18,9 +18,11 @@
 
 case "$1" in
     configure|triggered)
-	# We remove leftover generated file from previous plymouth version. Can be removed on xenial+1
-	if dpkg --compare-versions "$2" le-nl "0.9.2-3ubuntu1~"; then
-		rm -f /lib/plymouth/themes/ubuntu-text/ubuntu-text.plymouth
+	if [ "$1" = "configure" ]; then
+		# We remove leftover generated file from previous plymouth version. Can be removed on xenial+1
+		if dpkg --compare-versions "$2" le-nl "0.9.2-3ubuntu1~"; then
+			rm -f /lib/plymouth/themes/ubuntu-text/ubuntu-text.plymouth
+		fi
 	fi
 	# we keep that rmdir unconditional as we want to ensure that the dir is
 	# removed at some point (alternatives on other theme package removing
Download as text