changeset 953:51a6aa894727

debian: Use activate-noawait trigger rather than calling ldconfig See https://lintian.debian.org/tags/maintscript-calls-ldconfig.html
author Simon Horman <horms@verge.net.au>
date Mon, 28 Nov 2016 10:15:59 +0100
parents c79e64630fee
children 0aa6c5de9672
files debian/perdition-ldap.postinst debian/perdition-ldap.triggers debian/perdition-mysql.postinst debian/perdition-mysql.triggers debian/perdition-odbc.postinst debian/perdition-odbc.triggers debian/perdition-postgresql.postinst debian/perdition-postgresql.triggers debian/perdition.postinst debian/perdition.postrm debian/perdition.triggers
diffstat 11 files changed, 5 insertions(+), 6 deletions(-) [+]
line wrap: on
line diff
--- a/debian/perdition-ldap.postinst	Mon Nov 28 10:11:30 2016 +0100
+++ b/debian/perdition-ldap.postinst	Mon Nov 28 10:15:59 2016 +0100
@@ -9,7 +9,6 @@
 	if [ -f /etc/init.d/perdition ]; then
 		invoke-rc.d perdition stop
 	fi
-	ldconfig
 	if [ -f /etc/init.d/perdition ]; then
 		invoke-rc.d perdition start
 	fi
--- /dev/null	Thu Jan 01 00:00:00 1970 +0000
+++ b/debian/perdition-ldap.triggers	Mon Nov 28 10:15:59 2016 +0100
@@ -0,0 +1,1 @@
+activate-noawait
--- a/debian/perdition-mysql.postinst	Mon Nov 28 10:11:30 2016 +0100
+++ b/debian/perdition-mysql.postinst	Mon Nov 28 10:15:59 2016 +0100
@@ -9,7 +9,6 @@
 	if [ -f /etc/init.d/perdition ]; then
 		invoke-rc.d perdition stop
 	fi
-	ldconfig
 	if [ -f /etc/init.d/perdition ]; then
 		invoke-rc.d perdition start
 	fi
--- /dev/null	Thu Jan 01 00:00:00 1970 +0000
+++ b/debian/perdition-mysql.triggers	Mon Nov 28 10:15:59 2016 +0100
@@ -0,0 +1,1 @@
+activate-noawait
--- a/debian/perdition-odbc.postinst	Mon Nov 28 10:11:30 2016 +0100
+++ b/debian/perdition-odbc.postinst	Mon Nov 28 10:15:59 2016 +0100
@@ -9,7 +9,6 @@
 	if [ -f /etc/init.d/perdition ]; then
 		invoke-rc.d perdition stop
 	fi
-	ldconfig
 	if [ -f /etc/init.d/perdition ]; then
 		invoke-rc.d perdition start
 	fi
--- /dev/null	Thu Jan 01 00:00:00 1970 +0000
+++ b/debian/perdition-odbc.triggers	Mon Nov 28 10:15:59 2016 +0100
@@ -0,0 +1,1 @@
+activate-noawait
--- a/debian/perdition-postgresql.postinst	Mon Nov 28 10:11:30 2016 +0100
+++ b/debian/perdition-postgresql.postinst	Mon Nov 28 10:15:59 2016 +0100
@@ -9,7 +9,6 @@
 	if [ -f /etc/init.d/perdition ]; then
 		invoke-rc.d perdition stop
 	fi
-	ldconfig
 	if [ -f /etc/init.d/perdition ]; then
 		invoke-rc.d perdition start
 	fi
--- /dev/null	Thu Jan 01 00:00:00 1970 +0000
+++ b/debian/perdition-postgresql.triggers	Mon Nov 28 10:15:59 2016 +0100
@@ -0,0 +1,1 @@
+activate-noawait
--- a/debian/perdition.postinst	Mon Nov 28 10:11:30 2016 +0100
+++ b/debian/perdition.postinst	Mon Nov 28 10:15:59 2016 +0100
@@ -9,7 +9,6 @@
 	if [ -f /etc/init.d/perdition ]; then
 		invoke-rc.d perdition stop
 	fi
-	ldconfig
 	update-rc.d perdition defaults >/dev/null
 	if [ -f /etc/init.d/perdition ]; then
 		invoke-rc.d perdition start
--- a/debian/perdition.postrm	Mon Nov 28 10:11:30 2016 +0100
+++ b/debian/perdition.postrm	Mon Nov 28 10:15:59 2016 +0100
@@ -6,7 +6,6 @@
 set -e
 
 if [ "$1" = "remove" ]; then
-	ldconfig
 	update-rc.d -f perdition remove >/dev/null
 fi
 
--- /dev/null	Thu Jan 01 00:00:00 1970 +0000
+++ b/debian/perdition.triggers	Mon Nov 28 10:15:59 2016 +0100
@@ -0,0 +1,1 @@
+activate-noawait