[bsdgames] 04/10: Explicitly exit maintainer scripts with 0 status on success.

Tobias Quathamer toddy at moszumanska.debian.org
Tue Apr 5 09:18:58 UTC 2016


This is an automated email from the git hooks/post-receive script.

toddy pushed a commit to branch master
in repository bsdgames.

commit 0987c534adc1347dd1d5c60c9b3ad50319c9fb3f
Author: Ben Finney <ben+debian at benfinney.id.au>
Date:   Thu Feb 25 12:54:23 2016 +1100

    Explicitly exit maintainer scripts with 0 status on success.
    
    Debian Policy §6.4 requires maintainer scripts exit with exit status
    indicating success or failure, with 0 for success.
---
 debian/postinst | 2 ++
 debian/postrm   | 2 ++
 debian/preinst  | 2 ++
 debian/prerm    | 2 ++
 4 files changed, 8 insertions(+)

diff --git a/debian/postinst b/debian/postinst
index a89399d..60cf0b5 100644
--- a/debian/postinst
+++ b/debian/postinst
@@ -91,3 +91,5 @@ chown root:games /var/games/bsdgames/sail
 chmod g+rws /var/games/bsdgames/sail
 
 #DEBHELPER#
+
+exit 0
diff --git a/debian/postrm b/debian/postrm
index 1ce6f84..3af99cc 100644
--- a/debian/postrm
+++ b/debian/postrm
@@ -62,3 +62,5 @@ case "$action" in
 esac
 
 #DEBHELPER#
+
+exit 0
diff --git a/debian/preinst b/debian/preinst
index 3890afd..943e4ab 100644
--- a/debian/preinst
+++ b/debian/preinst
@@ -81,3 +81,5 @@ if [ "$1" = "upgrade" ] && dpkg --compare-versions "$2" lt 2.8; then
 fi
 
 #DEBHELPER#
+
+exit 0
diff --git a/debian/prerm b/debian/prerm
index 2fb0e11..e2ae4c7 100644
--- a/debian/prerm
+++ b/debian/prerm
@@ -35,3 +35,5 @@ esac
 # generated by other debhelper scripts.
 
 #DEBHELPER#
+
+exit 0

-- 
Alioth's /usr/local/bin/git-commit-notice on /srv/git.debian.org/git/pkg-games/bsdgames.git



More information about the Pkg-games-commits mailing list