Control: tags 999659 + patch
Control: tags 999659 + pending

Dear maintainer,

I've prepared an NMU for perdition (versioned as 2.2-3.2) and
uploaded it to DELAYED/2. Please feel free to tell me if I
should delay it longer.

Regards.

diff -Nru perdition-2.2/debian/changelog perdition-2.2/debian/changelog
--- perdition-2.2/debian/changelog	2019-08-02 08:11:02.000000000 -0300
+++ perdition-2.2/debian/changelog	2022-03-31 22:39:14.000000000 -0300
@@ -1,3 +1,22 @@
+perdition (2.2-3.2) unstable; urgency=medium
+
+  * Non-maintainer upload.
+  * Add exit code true after invoke-rc.d in the files below (Closes: #999659).
+    Thanks to Sergey Spiridonov.
+    - perdition-ldap.postinst
+    - perdition-ldap.prerm
+    - perdition-mysql.postinst
+    - perdition-mysql.prerm
+    - perdition-odbc.postinst
+    - perdition-odbc.prerm
+    - perdition-postgresql.postinst
+    - perdition-postgresql.prerm
+    - perdition.postinst
+    - perdition.preinst
+    - perdition.prerm
+
+ -- Marcos Talau <mar...@talau.info>  Thu, 31 Mar 2022 22:39:14 -0300
+
 perdition (2.2-3.1) unstable; urgency=medium
 
   * Non-maintainer upload.
diff -Nru perdition-2.2/debian/perdition-ldap.postinst perdition-2.2/debian/perdition-ldap.postinst
--- perdition-2.2/debian/perdition-ldap.postinst	2016-11-28 07:58:24.000000000 -0200
+++ perdition-2.2/debian/perdition-ldap.postinst	2022-03-31 21:37:32.000000000 -0300
@@ -7,7 +7,7 @@
 
 if [ "$1" = "configure" ]; then
 	if [ -f /etc/init.d/perdition ]; then
-		invoke-rc.d perdition stop
+		invoke-rc.d perdition stop || true
 	fi
 	if [ -f /etc/init.d/perdition ]; then
 		invoke-rc.d perdition start
diff -Nru perdition-2.2/debian/perdition-ldap.prerm perdition-2.2/debian/perdition-ldap.prerm
--- perdition-2.2/debian/perdition-ldap.prerm	2014-09-11 00:40:14.000000000 -0300
+++ perdition-2.2/debian/perdition-ldap.prerm	2022-03-31 21:39:51.000000000 -0300
@@ -7,7 +7,7 @@
 
 if [ "$1" = "purge"  -o "$1" = "remove" ]; then
 	if [ -f /etc/init.d/perdition ]; then
-		invoke-rc.d perdition stop
+		invoke-rc.d perdition stop || true
 	fi
 	if [ -f /etc/init.d/perdition ]; then
 		invoke-rc.d perdition start
diff -Nru perdition-2.2/debian/perdition-mysql.postinst perdition-2.2/debian/perdition-mysql.postinst
--- perdition-2.2/debian/perdition-mysql.postinst	2016-11-28 07:58:24.000000000 -0200
+++ perdition-2.2/debian/perdition-mysql.postinst	2022-03-31 21:40:01.000000000 -0300
@@ -7,7 +7,7 @@
 
 if [ "$1" = "configure" ]; then
 	if [ -f /etc/init.d/perdition ]; then
-		invoke-rc.d perdition stop
+		invoke-rc.d perdition stop || true
 	fi
 	if [ -f /etc/init.d/perdition ]; then
 		invoke-rc.d perdition start
diff -Nru perdition-2.2/debian/perdition-mysql.prerm perdition-2.2/debian/perdition-mysql.prerm
--- perdition-2.2/debian/perdition-mysql.prerm	2014-09-11 00:40:14.000000000 -0300
+++ perdition-2.2/debian/perdition-mysql.prerm	2022-03-31 21:40:12.000000000 -0300
@@ -7,7 +7,7 @@
 
 if [ "$1" = "purge"  -o "$1" = "remove" ]; then
 	if [ -f /etc/init.d/perdition ]; then
-		invoke-rc.d perdition stop
+		invoke-rc.d perdition stop || true
 	fi
 	if [ -f /etc/init.d/perdition ]; then
 		invoke-rc.d perdition start
diff -Nru perdition-2.2/debian/perdition-odbc.postinst perdition-2.2/debian/perdition-odbc.postinst
--- perdition-2.2/debian/perdition-odbc.postinst	2016-11-28 07:58:24.000000000 -0200
+++ perdition-2.2/debian/perdition-odbc.postinst	2022-03-31 21:40:22.000000000 -0300
@@ -7,7 +7,7 @@
 
 if [ "$1" = "configure" ]; then
 	if [ -f /etc/init.d/perdition ]; then
-		invoke-rc.d perdition stop
+		invoke-rc.d perdition stop || true
 	fi
 	if [ -f /etc/init.d/perdition ]; then
 		invoke-rc.d perdition start
diff -Nru perdition-2.2/debian/perdition-odbc.prerm perdition-2.2/debian/perdition-odbc.prerm
--- perdition-2.2/debian/perdition-odbc.prerm	2014-09-11 00:40:14.000000000 -0300
+++ perdition-2.2/debian/perdition-odbc.prerm	2022-03-31 21:40:57.000000000 -0300
@@ -7,7 +7,7 @@
 
 if [ "$1" = "purge"  -o "$1" = "remove" ]; then
 	if [ -f /etc/init.d/perdition ]; then
-		invoke-rc.d perdition stop
+		invoke-rc.d perdition stop || true
 	fi
 	if [ -f /etc/init.d/perdition ]; then
 		invoke-rc.d perdition start
diff -Nru perdition-2.2/debian/perdition-postgresql.postinst perdition-2.2/debian/perdition-postgresql.postinst
--- perdition-2.2/debian/perdition-postgresql.postinst	2016-11-28 07:58:24.000000000 -0200
+++ perdition-2.2/debian/perdition-postgresql.postinst	2022-03-31 21:41:09.000000000 -0300
@@ -7,7 +7,7 @@
 
 if [ "$1" = "configure" ]; then
 	if [ -f /etc/init.d/perdition ]; then
-		invoke-rc.d perdition stop
+		invoke-rc.d perdition stop || true
 	fi
 	if [ -f /etc/init.d/perdition ]; then
 		invoke-rc.d perdition start
diff -Nru perdition-2.2/debian/perdition-postgresql.prerm perdition-2.2/debian/perdition-postgresql.prerm
--- perdition-2.2/debian/perdition-postgresql.prerm	2014-09-11 00:40:14.000000000 -0300
+++ perdition-2.2/debian/perdition-postgresql.prerm	2022-03-31 21:41:20.000000000 -0300
@@ -7,7 +7,7 @@
 
 if [ "$1" = "purge"  -o "$1" = "remove" ]; then
 	if [ -f /etc/init.d/perdition ]; then
-		invoke-rc.d perdition stop
+		invoke-rc.d perdition stop || true
 	fi
 	if [ -f /etc/init.d/perdition ]; then
 		invoke-rc.d perdition start
diff -Nru perdition-2.2/debian/perdition.postinst perdition-2.2/debian/perdition.postinst
--- perdition-2.2/debian/perdition.postinst	2016-11-28 07:58:24.000000000 -0200
+++ perdition-2.2/debian/perdition.postinst	2022-03-31 21:42:30.000000000 -0300
@@ -7,7 +7,7 @@
 
 if [ "$1" = "configure" ]; then
 	if [ -f /etc/init.d/perdition ]; then
-		invoke-rc.d perdition stop
+		invoke-rc.d perdition stop || true
 	fi
 	update-rc.d perdition defaults >/dev/null
 	if [ -f /etc/init.d/perdition ]; then
diff -Nru perdition-2.2/debian/perdition.preinst perdition-2.2/debian/perdition.preinst
--- perdition-2.2/debian/perdition.preinst	2014-09-11 00:40:14.000000000 -0300
+++ perdition-2.2/debian/perdition.preinst	2022-03-31 21:42:56.000000000 -0300
@@ -6,7 +6,7 @@
 
 if [ "$1" = "upgrade" -a -f /etc/init.d/perdition ]; then
     if [ -f /etc/init.d/perdition ]; then
-        invoke-rc.d perdition stop
+        invoke-rc.d perdition stop || true
     fi
 fi      
         
diff -Nru perdition-2.2/debian/perdition.prerm perdition-2.2/debian/perdition.prerm
--- perdition-2.2/debian/perdition.prerm	2014-09-11 00:40:14.000000000 -0300
+++ perdition-2.2/debian/perdition.prerm	2022-03-31 21:42:40.000000000 -0300
@@ -7,7 +7,7 @@
 
 if [ "$1" = "purge"  -o "$1" = "remove" ]; then
 	if [ -f /etc/init.d/perdition ]; then
-		invoke-rc.d perdition stop
+		invoke-rc.d perdition stop || true
 	fi
 fi
 

Reply via email to