[game-data-packager] 02/11: Remove support for Debian maintainer scripts, except in doom-common
Simon McVittie
smcv at debian.org
Tue Jan 5 09:55:24 UTC 2016
This is an automated email from the git hooks/post-receive script.
smcv pushed a commit to branch master
in repository game-data-packager.
commit 8e61dbfb53615698f63aa67be41c20890088ec65
Author: Simon McVittie <smcv at debian.org>
Date: Tue Jan 5 08:01:38 2016 +0000
Remove support for Debian maintainer scripts, except in doom-common
We have to keep doom-common's preinst for historical reasons, but
we should not introduce any more maintainer scripts.
---
game_data_packager/build.py | 5 -----
1 file changed, 5 deletions(-)
diff --git a/game_data_packager/build.py b/game_data_packager/build.py
index 0a1e11c..8c5bd88 100644
--- a/game_data_packager/build.py
+++ b/game_data_packager/build.py
@@ -1520,11 +1520,6 @@ class PackagingTask(object):
debdir = os.path.join(destdir, 'DEBIAN')
mkdir_p(debdir)
- for ms in ('preinst', 'postinst', 'prerm', 'postrm'):
- maintscript = os.path.join(DATADIR, package.name + '.' + ms)
- if os.path.isfile(maintscript):
- shutil.copy(maintscript, os.path.join(debdir, ms))
-
# adapted from dh_md5sums
check_call("find . -type f ! -regex '\./DEBIAN/.*' " +
"-printf '%P\\0' | LC_ALL=C sort -z | " +
--
Alioth's /usr/local/bin/git-commit-notice on /srv/git.debian.org/git/pkg-games/game-data-packager.git
More information about the Pkg-games-commits
mailing list