r15767 - in packages/tags/ketm: . 0.0.6-24/debian

Markus Koschany apo at moszumanska.debian.org
Mon Apr 25 13:49:51 UTC 2016


Author: apo
Date: 2016-04-25 13:49:51 +0000 (Mon, 25 Apr 2016)
New Revision: 15767

Added:
   packages/tags/ketm/0.0.6-24/
   packages/tags/ketm/0.0.6-24/debian/changelog
   packages/tags/ketm/0.0.6-24/debian/ketm.postinst
Removed:
   packages/tags/ketm/0.0.6-24/debian/changelog
   packages/tags/ketm/0.0.6-24/debian/ketm.postinst
Log:
[svn-buildpackage] Tagging ketm 0.0.6-24

Deleted: packages/tags/ketm/0.0.6-24/debian/changelog
===================================================================
--- packages/trunk/ketm/debian/changelog	2016-04-24 09:43:59 UTC (rev 15765)
+++ packages/tags/ketm/0.0.6-24/debian/changelog	2016-04-25 13:49:51 UTC (rev 15767)
@@ -1,269 +0,0 @@
-ketm (0.0.6-23) unstable; urgency=medium
-
-  * Team upload.
-
-  [ Evgeni Golov ]
-  * Correct Vcs-* URLs to point to anonscm.debian.org.
-
-  [ Ansgar Burchardt ]
-  * Remove myself from Uploaders.
-
-  [ Markus Koschany ]
-  * wrap-and-sort -sab.
-  * Declare compliance with Debian Policy 3.9.8.
-  * Vcs-Browser: Use https.
-  * Drop quilt from Build-Depends.
-  * Use compat level 9 and require debhelper >= 9.
-  * Switch to source format 3.0 (quilt).
-  * debian/watch: Use version=4.
-  * Drop README.source. Source format uses quilt by default.
-  * Simplify debian/rules by using dh sequencer and automatically provide
-    build-arch and build-indep targets. (Closes: #821998)
-  * Drop dirs files. Not needed.
-  * ketm.desktop: Add keywords and a comment in German.
-  * Add DEP-3 header to patches.
-  * Drop imagemagick from Build-Depends.
-  * Build with autotools_dev and parallel.
-  * Update debian/copyright to copyright format 1.0.
-  * debian/control: Remove Conflicts and Replaces fields. They are obsolete
-    now.
-  * Add hardening.patch and pass Debian's CFLAGS to the build system.
-
- -- Markus Koschany <apo at debian.org>  Sun, 24 Apr 2016 10:53:50 +0200
-
-ketm (0.0.6-22) unstable; urgency=low
-
-  [ Shams Fantar ]
-  * Fixing homepage address and download address. (Closes: #486486)
-
-  [ Barry deFreese ]
-  * Update my e-mail address in uploaders.
-  * Update 000_build_system.diff to include MATHLIB. (Closes: #554983).
-    + Refresh 010_rebootstrap.diff.
-  * Update watch file to use sf redirector.
-  * Add README.source for quilt.
-  * Bump Standards Version to 3.8.3. (No changes needed).
-
- -- Barry deFreese <bdefreese at debian.org>  Fri, 13 Nov 2009 12:11:15 -0500
-
-ketm (0.0.6-21) unstable; urgency=low
-
-  [ Paul Wise ]
-  * Make the package parallel-build safe
-
-  [ Ansgar Burchardt ]
-  * debian/ketm.dirs: Add /var/games (Closes: #502765)
-  * Add myself to Uploaders
-  * debian/control: Fix typo in description
-
- -- Ansgar Burchardt <ansgar at 43-1.org>  Sun, 19 Oct 2008 19:57:19 +0200
-
-ketm (0.0.6-20) unstable; urgency=low
-
-  [ Barry deFreese ]
-  * Make binNMU safe (Closes: #432985)
-    * Thanks to Lior Kaplan for the patch
-  * Bump debhelper build-dep to 5 to match compat
-  * Don't ignore make clean errors
-  * Add watch file
-  * Add desktop file and icon
-  * Add VCS tags to control file
-  * Add myself to uploaders
-  * Update to use dh_install
-  * debian/rules: add dh_desktop
-  * ketm.install, ketm-data.install new files
-  * debian/menu: use new icon
-
-  [ Ansgar Burchardt ]
-  * Don't distribute score file, create in postinst instead (Closes: 424738)
-  * Bump Debian Standards version to 3.7.3
-
-  [ Gonéri Le Bouder ]
-  * add a copyright notice in the debian/copyright
-  * use debian/tmp as temporary directory so dh_clean can find it
-  * clean the .deps and .pc directories
-  * also clean config.log config.h stamp-h1 Makefile data/Makefile
-
- -- Debian Games Team <pkg-games-devel at lists.alioth.debian.org>  Sat, 26 Apr 2008 01:33:25 +0200
-
-ketm (0.0.6-19) unstable; urgency=low
-
-  [ Sam Hocevar (Debian packages) ]
-  * debian/ketm.postinst:
-    + Fixed an installation warning in the ketm/ketm-data symlink transition.
-
-  [ Jon Dowland ]
-  * update menu section to "Games/Action" for menu policy transition.
-    Thanks Linas Žvirblis.
-
- -- Jon Dowland <jon at alcopop.org>  Thu, 12 Jul 2007 11:32:03 +0100
-
-ketm (0.0.6-18) unstable; urgency=low
-
-  * Moved packaging to the Debian Games Team.
-  * Use quilt for patch management.
-  * debian/control:
-    + Set policy to 3.7.2.
-    + Build-depend on debhelper (>= 4.0).
-    + Build-depend on quilt.
-    + Removed ketm - ketm-data circular dependency.
-    + Added conflicts/replace rules because files moved from ketm to ketm-data.
-  * debian/rules:
-    + Changed the icon size from 64x64 to 32x32.
-    + Move the icon to the ketm package, not the ketm-data one.
-    + Removed useless chmod/chown calls that we already do in the postinst
-      script.
-  * debian/copyright:
-    + Fixed the FSF address.
-
-  * debian/patches/000_build_system.diff:
-    + New patch from old diff.gz -- add an autotools build system.
-
-  * debian/patches/010_rebootstrap.diff:
-    + New patch from old diff.gz -- rebootstrap package.
-
-  * debian/patches/020_data_path.diff:
-    + New patch from old diff.gz -- fix shared data paths.
-
-  * debian/patches/020_errno.diff:
-    + New patch from old diff.gz -- do not declare errno ourselves.
-
-  * debian/patches/020_save_hiscores.diff:
-    + New patch from old diff.gz -- fix saving of highscores.
-
-  * debian/patches/020_timing.diff:
-    + New patch from old diff.gz -- fix timers during pause.
-
-  * debian/patches/030_manpage.diff:
-    + New patch from old diff.gz -- add a manpage.
-
- -- Sam Hocevar (Debian packages) <sam+deb at zoy.org>  Sat, 27 May 2006 09:20:45 +0200
-
-ketm (0.0.6-17) unstable; urgency=low
-
-  * loadlv.c:
-    + Patch from Kurt Roeckx to fix an amd64 FTBFS (Closes: #275989).
-
- -- Sam Hocevar (Debian packages) <sam+deb at zoy.org>  Mon,  1 Nov 2004 13:25:07 +0100
-
-ketm (0.0.6-16) unstable; urgency=low
-
-  * debian/menu:
-    + Added an icon taken from the game's sprites (Closes: #275638).
-
- -- Sam Hocevar (Debian packages) <sam+deb at zoy.org>  Sat,  9 Oct 2004 17:19:49 +0200
-
-ketm (0.0.6-15) unstable; urgency=low
-
-  * debian/control:
-    + Set policy to 3.6.1.1.
-    + Set a strict versioned dependency for the -data package.
-    + Removed the useless xlibs-dev build dependency.
-  * debian/menu:
-    + Quoted strings where appropriate.
-
- -- Sam Hocevar (Debian packages) <sam+deb at zoy.org>  Thu, 29 Jul 2004 18:57:18 +0200
-
-ketm (0.0.6-14) unstable; urgency=low
-
-  * debian/control:
-    + Added proper conflicts/replaces for smooth upgrades due to the
-      package split.
-
- -- Sam Hocevar (Debian packages) <sam+deb at zoy.org>  Wed, 18 Feb 2004 13:47:28 +0100
-
-ketm (0.0.6-13) unstable; urgency=low
-
-  * debian/control:
-    + Split the package into ketm and ketm-data (Closes: #233381).
-
- -- Sam Hocevar (Debian packages) <sam+deb at zoy.org>  Wed, 18 Feb 2004 13:09:35 +0100
-
-ketm (0.0.6-12) unstable; urgency=low
-
-  * debian/rules:
-    + Touch autotools timestamps to avoid useless autoconf/automake calls.
-
- -- Sam Hocevar (Debian packages) <sam+deb at zoy.org>  Thu, 29 Jan 2004 11:30:57 +0100
-
-ketm (0.0.6-11) unstable; urgency=low
-
-  * New maintainer (Closes: #228940).
-  * debian/control:
-    + Set policy to 3.6.1.0.
-    + Removed libc6-dev from the build dependencies.
-    + Removed the leading "An" in the short description.
-  * debian/copyright:
-    + Added the GPL blurb to the copyright file.
-  * debian/rules:
-    + Use debian/compat instead of DH_COMPAT.
-
- -- Sam Hocevar (Debian packages) <sam+deb at zoy.org>  Tue, 27 Jan 2004 13:35:26 +0100
-
-ketm (0.0.6-10) unstable; urgency=low
-
-  * changed location of game data (closes: Bug#190277)
-
- -- Magnus Ekdahl <magnus at debian.org>  Wed,  7 May 2003 21:19:39 +0200
-
-ketm (0.0.6-9) unstable; urgency=low
-
-  * wrote manpage
-  * removed usr-doc-link (trivial,by rebuilding package)
-  * cleaned up diff some
-
- -- Magnus Ekdahl <magnus at debian.org>  Sat, 16 Nov 2002 11:24:36 +0100
-
-ketm (0.0.6-8) unstable; urgency=low
-
-  * corrected menu entry (closes: Bug#149210)
-  * added changelog.Debian
-  * fixed postinst script
-
- -- Magnus Ekdahl <magnus at debian.org>  Thu,  6 Jun 2002 22:31:11 +0200
-
-ketm (0.0.6-7) unstable; urgency=low
-
-  * Added hiscore load/save support Closes: #128341
-
- -- Magnus Ekdahl <magnus at debian.org>  Wed,  3 Apr 2002 12:24:01 +0200
-
-ketm (0.0.6-6) unstable; urgency=low
-
-  * added executable flags to build sripts closes: #131406
-
- -- Magnus Ekdahl <magnus at debian.org>  Thu, 31 Jan 2002 14:35:24 +0100
-
-ketm (0.0.6-5) unstable; urgency=low
-
-  * fixed typo in build-depend field closes #129702
-  * closing 128212 again since the changelog didn't make it close it in
-    the -3 release. closes #128212
-
- -- Magnus Ekdahl <magnus at debian.org>  Fri, 25 Jan 2002 11:05:11 +0100
-
-ketm (0.0.6-4) unstable; urgency=low
-
-  * applied pause patch closes: #128340
-
- -- Magnus Ekdahl <magnus at debian.org>  Fri, 11 Jan 2002 12:27:40 +0100
-
-ketm (0.0.6-3) unstable; urgency=low
-
-  * fixed build depends closes #128310
-  * fixed build description closes #128212
-
- -- Magnus Ekdahl <magnus at debian.org>  Wed,  9 Jan 2002 21:17:43 +0100
-
-ketm (0.0.6-2) unstable; urgency=low
-
-  * fixed permisson error in source package closes: #127795, #127813
-
- -- Magnus Ekdahl <magnus at debian.org>  Sat,  5 Jan 2002 12:02:56 +0100
-
-ketm (0.0.6-1) unstable; urgency=low
-
-  * Initial Release. Closes: #125702
-
- -- Magnus Ekdahl <magnus at debian.org>  Tue, 18 Dec 2001 17:16:06 +0100
-

Copied: packages/tags/ketm/0.0.6-24/debian/changelog (from rev 15766, packages/trunk/ketm/debian/changelog)
===================================================================
--- packages/tags/ketm/0.0.6-24/debian/changelog	                        (rev 0)
+++ packages/tags/ketm/0.0.6-24/debian/changelog	2016-04-25 13:49:51 UTC (rev 15767)
@@ -0,0 +1,278 @@
+ketm (0.0.6-24) unstable; urgency=medium
+
+  * Team upload.
+  * ketm.postinst: Create /var/games directory in postinst script
+    in case it does not exist.
+    Thanks to Andreas Beckmann for the report. (Closes: #822552)
+
+ -- Markus Koschany <apo at debian.org>  Mon, 25 Apr 2016 15:35:25 +0200
+
+ketm (0.0.6-23) unstable; urgency=medium
+
+  * Team upload.
+
+  [ Evgeni Golov ]
+  * Correct Vcs-* URLs to point to anonscm.debian.org.
+
+  [ Ansgar Burchardt ]
+  * Remove myself from Uploaders.
+
+  [ Markus Koschany ]
+  * wrap-and-sort -sab.
+  * Declare compliance with Debian Policy 3.9.8.
+  * Vcs-Browser: Use https.
+  * Drop quilt from Build-Depends.
+  * Use compat level 9 and require debhelper >= 9.
+  * Switch to source format 3.0 (quilt).
+  * debian/watch: Use version=4.
+  * Drop README.source. Source format uses quilt by default.
+  * Simplify debian/rules by using dh sequencer and automatically provide
+    build-arch and build-indep targets. (Closes: #821998)
+  * Drop dirs files. Not needed.
+  * ketm.desktop: Add keywords and a comment in German.
+  * Add DEP-3 header to patches.
+  * Drop imagemagick from Build-Depends.
+  * Build with autotools_dev and parallel.
+  * Update debian/copyright to copyright format 1.0.
+  * debian/control: Remove Conflicts and Replaces fields. They are obsolete
+    now.
+  * Add hardening.patch and pass Debian's CFLAGS to the build system.
+
+ -- Markus Koschany <apo at debian.org>  Sun, 24 Apr 2016 10:53:50 +0200
+
+ketm (0.0.6-22) unstable; urgency=low
+
+  [ Shams Fantar ]
+  * Fixing homepage address and download address. (Closes: #486486)
+
+  [ Barry deFreese ]
+  * Update my e-mail address in uploaders.
+  * Update 000_build_system.diff to include MATHLIB. (Closes: #554983).
+    + Refresh 010_rebootstrap.diff.
+  * Update watch file to use sf redirector.
+  * Add README.source for quilt.
+  * Bump Standards Version to 3.8.3. (No changes needed).
+
+ -- Barry deFreese <bdefreese at debian.org>  Fri, 13 Nov 2009 12:11:15 -0500
+
+ketm (0.0.6-21) unstable; urgency=low
+
+  [ Paul Wise ]
+  * Make the package parallel-build safe
+
+  [ Ansgar Burchardt ]
+  * debian/ketm.dirs: Add /var/games (Closes: #502765)
+  * Add myself to Uploaders
+  * debian/control: Fix typo in description
+
+ -- Ansgar Burchardt <ansgar at 43-1.org>  Sun, 19 Oct 2008 19:57:19 +0200
+
+ketm (0.0.6-20) unstable; urgency=low
+
+  [ Barry deFreese ]
+  * Make binNMU safe (Closes: #432985)
+    * Thanks to Lior Kaplan for the patch
+  * Bump debhelper build-dep to 5 to match compat
+  * Don't ignore make clean errors
+  * Add watch file
+  * Add desktop file and icon
+  * Add VCS tags to control file
+  * Add myself to uploaders
+  * Update to use dh_install
+  * debian/rules: add dh_desktop
+  * ketm.install, ketm-data.install new files
+  * debian/menu: use new icon
+
+  [ Ansgar Burchardt ]
+  * Don't distribute score file, create in postinst instead (Closes: 424738)
+  * Bump Debian Standards version to 3.7.3
+
+  [ Gonéri Le Bouder ]
+  * add a copyright notice in the debian/copyright
+  * use debian/tmp as temporary directory so dh_clean can find it
+  * clean the .deps and .pc directories
+  * also clean config.log config.h stamp-h1 Makefile data/Makefile
+
+ -- Debian Games Team <pkg-games-devel at lists.alioth.debian.org>  Sat, 26 Apr 2008 01:33:25 +0200
+
+ketm (0.0.6-19) unstable; urgency=low
+
+  [ Sam Hocevar (Debian packages) ]
+  * debian/ketm.postinst:
+    + Fixed an installation warning in the ketm/ketm-data symlink transition.
+
+  [ Jon Dowland ]
+  * update menu section to "Games/Action" for menu policy transition.
+    Thanks Linas Žvirblis.
+
+ -- Jon Dowland <jon at alcopop.org>  Thu, 12 Jul 2007 11:32:03 +0100
+
+ketm (0.0.6-18) unstable; urgency=low
+
+  * Moved packaging to the Debian Games Team.
+  * Use quilt for patch management.
+  * debian/control:
+    + Set policy to 3.7.2.
+    + Build-depend on debhelper (>= 4.0).
+    + Build-depend on quilt.
+    + Removed ketm - ketm-data circular dependency.
+    + Added conflicts/replace rules because files moved from ketm to ketm-data.
+  * debian/rules:
+    + Changed the icon size from 64x64 to 32x32.
+    + Move the icon to the ketm package, not the ketm-data one.
+    + Removed useless chmod/chown calls that we already do in the postinst
+      script.
+  * debian/copyright:
+    + Fixed the FSF address.
+
+  * debian/patches/000_build_system.diff:
+    + New patch from old diff.gz -- add an autotools build system.
+
+  * debian/patches/010_rebootstrap.diff:
+    + New patch from old diff.gz -- rebootstrap package.
+
+  * debian/patches/020_data_path.diff:
+    + New patch from old diff.gz -- fix shared data paths.
+
+  * debian/patches/020_errno.diff:
+    + New patch from old diff.gz -- do not declare errno ourselves.
+
+  * debian/patches/020_save_hiscores.diff:
+    + New patch from old diff.gz -- fix saving of highscores.
+
+  * debian/patches/020_timing.diff:
+    + New patch from old diff.gz -- fix timers during pause.
+
+  * debian/patches/030_manpage.diff:
+    + New patch from old diff.gz -- add a manpage.
+
+ -- Sam Hocevar (Debian packages) <sam+deb at zoy.org>  Sat, 27 May 2006 09:20:45 +0200
+
+ketm (0.0.6-17) unstable; urgency=low
+
+  * loadlv.c:
+    + Patch from Kurt Roeckx to fix an amd64 FTBFS (Closes: #275989).
+
+ -- Sam Hocevar (Debian packages) <sam+deb at zoy.org>  Mon,  1 Nov 2004 13:25:07 +0100
+
+ketm (0.0.6-16) unstable; urgency=low
+
+  * debian/menu:
+    + Added an icon taken from the game's sprites (Closes: #275638).
+
+ -- Sam Hocevar (Debian packages) <sam+deb at zoy.org>  Sat,  9 Oct 2004 17:19:49 +0200
+
+ketm (0.0.6-15) unstable; urgency=low
+
+  * debian/control:
+    + Set policy to 3.6.1.1.
+    + Set a strict versioned dependency for the -data package.
+    + Removed the useless xlibs-dev build dependency.
+  * debian/menu:
+    + Quoted strings where appropriate.
+
+ -- Sam Hocevar (Debian packages) <sam+deb at zoy.org>  Thu, 29 Jul 2004 18:57:18 +0200
+
+ketm (0.0.6-14) unstable; urgency=low
+
+  * debian/control:
+    + Added proper conflicts/replaces for smooth upgrades due to the
+      package split.
+
+ -- Sam Hocevar (Debian packages) <sam+deb at zoy.org>  Wed, 18 Feb 2004 13:47:28 +0100
+
+ketm (0.0.6-13) unstable; urgency=low
+
+  * debian/control:
+    + Split the package into ketm and ketm-data (Closes: #233381).
+
+ -- Sam Hocevar (Debian packages) <sam+deb at zoy.org>  Wed, 18 Feb 2004 13:09:35 +0100
+
+ketm (0.0.6-12) unstable; urgency=low
+
+  * debian/rules:
+    + Touch autotools timestamps to avoid useless autoconf/automake calls.
+
+ -- Sam Hocevar (Debian packages) <sam+deb at zoy.org>  Thu, 29 Jan 2004 11:30:57 +0100
+
+ketm (0.0.6-11) unstable; urgency=low
+
+  * New maintainer (Closes: #228940).
+  * debian/control:
+    + Set policy to 3.6.1.0.
+    + Removed libc6-dev from the build dependencies.
+    + Removed the leading "An" in the short description.
+  * debian/copyright:
+    + Added the GPL blurb to the copyright file.
+  * debian/rules:
+    + Use debian/compat instead of DH_COMPAT.
+
+ -- Sam Hocevar (Debian packages) <sam+deb at zoy.org>  Tue, 27 Jan 2004 13:35:26 +0100
+
+ketm (0.0.6-10) unstable; urgency=low
+
+  * changed location of game data (closes: Bug#190277)
+
+ -- Magnus Ekdahl <magnus at debian.org>  Wed,  7 May 2003 21:19:39 +0200
+
+ketm (0.0.6-9) unstable; urgency=low
+
+  * wrote manpage
+  * removed usr-doc-link (trivial,by rebuilding package)
+  * cleaned up diff some
+
+ -- Magnus Ekdahl <magnus at debian.org>  Sat, 16 Nov 2002 11:24:36 +0100
+
+ketm (0.0.6-8) unstable; urgency=low
+
+  * corrected menu entry (closes: Bug#149210)
+  * added changelog.Debian
+  * fixed postinst script
+
+ -- Magnus Ekdahl <magnus at debian.org>  Thu,  6 Jun 2002 22:31:11 +0200
+
+ketm (0.0.6-7) unstable; urgency=low
+
+  * Added hiscore load/save support Closes: #128341
+
+ -- Magnus Ekdahl <magnus at debian.org>  Wed,  3 Apr 2002 12:24:01 +0200
+
+ketm (0.0.6-6) unstable; urgency=low
+
+  * added executable flags to build sripts closes: #131406
+
+ -- Magnus Ekdahl <magnus at debian.org>  Thu, 31 Jan 2002 14:35:24 +0100
+
+ketm (0.0.6-5) unstable; urgency=low
+
+  * fixed typo in build-depend field closes #129702
+  * closing 128212 again since the changelog didn't make it close it in
+    the -3 release. closes #128212
+
+ -- Magnus Ekdahl <magnus at debian.org>  Fri, 25 Jan 2002 11:05:11 +0100
+
+ketm (0.0.6-4) unstable; urgency=low
+
+  * applied pause patch closes: #128340
+
+ -- Magnus Ekdahl <magnus at debian.org>  Fri, 11 Jan 2002 12:27:40 +0100
+
+ketm (0.0.6-3) unstable; urgency=low
+
+  * fixed build depends closes #128310
+  * fixed build description closes #128212
+
+ -- Magnus Ekdahl <magnus at debian.org>  Wed,  9 Jan 2002 21:17:43 +0100
+
+ketm (0.0.6-2) unstable; urgency=low
+
+  * fixed permisson error in source package closes: #127795, #127813
+
+ -- Magnus Ekdahl <magnus at debian.org>  Sat,  5 Jan 2002 12:02:56 +0100
+
+ketm (0.0.6-1) unstable; urgency=low
+
+  * Initial Release. Closes: #125702
+
+ -- Magnus Ekdahl <magnus at debian.org>  Tue, 18 Dec 2001 17:16:06 +0100
+

Deleted: packages/tags/ketm/0.0.6-24/debian/ketm.postinst
===================================================================
--- packages/trunk/ketm/debian/ketm.postinst	2016-04-24 09:43:59 UTC (rev 15765)
+++ packages/tags/ketm/0.0.6-24/debian/ketm.postinst	2016-04-25 13:49:51 UTC (rev 15767)
@@ -1,35 +0,0 @@
-#! /bin/sh
-
-set -e
-
-DOCDIR="/usr/share/doc/ketm"
-
-scores=/var/games/ketm.scores
-
-# old versions of ketm (< 0.0.6-20) will remove high score file
-# on upgrade, so rescue it
-if $(dpkg --compare-versions "$2" lt-nl 0.0.6-20) ; then
-  [ -e $scores.tmp ] && mv $scores.tmp $scores
-fi
-
-# create high score file if not already there
-if [ ! -e $scores ] ; then
-  touch $scores
-  chown games:games $scores
-  chmod 664 $scores
-fi
-
-chown root:games /usr/games/ketm
-chmod 2755 /usr/games/ketm
-
-if [ -d "$DOCDIR" -a ! -L "$DOCDIR" ]; then
-  rmdir --ignore-fail-on-non-empty "$DOCDIR"
-  if [ ! -d "$DOCDIR" ]; then
-    ln -s ketm-data "$DOCDIR"
-  fi
-fi
-
-#DEBHELPER#
-
-exit 0
-

Copied: packages/tags/ketm/0.0.6-24/debian/ketm.postinst (from rev 15766, packages/trunk/ketm/debian/ketm.postinst)
===================================================================
--- packages/tags/ketm/0.0.6-24/debian/ketm.postinst	                        (rev 0)
+++ packages/tags/ketm/0.0.6-24/debian/ketm.postinst	2016-04-25 13:49:51 UTC (rev 15767)
@@ -0,0 +1,36 @@
+#! /bin/sh
+
+set -e
+
+DOCDIR="/usr/share/doc/ketm"
+
+scores=/var/games/ketm.scores
+
+# old versions of ketm (< 0.0.6-20) will remove high score file
+# on upgrade, so rescue it
+if $(dpkg --compare-versions "$2" lt-nl 0.0.6-20) ; then
+  [ -e $scores.tmp ] && mv $scores.tmp $scores
+fi
+
+# create high score file if not already there
+if [ ! -e $scores ] ; then
+  mkdir -p /var/games
+  touch $scores
+  chown games:games $scores
+  chmod 664 $scores
+fi
+
+chown root:games /usr/games/ketm
+chmod 2755 /usr/games/ketm
+
+if [ -d "$DOCDIR" -a ! -L "$DOCDIR" ]; then
+  rmdir --ignore-fail-on-non-empty "$DOCDIR"
+  if [ ! -d "$DOCDIR" ]; then
+    ln -s ketm-data "$DOCDIR"
+  fi
+fi
+
+#DEBHELPER#
+
+exit 0
+




More information about the Pkg-games-commits mailing list