[Python-apps-commits] r11925 - in packages/archmage/trunk/debian (2 files)

dottedmag at users.alioth.debian.org dottedmag at users.alioth.debian.org
Sun May 10 10:06:27 UTC 2015


    Date: Sunday, May 10, 2015 @ 10:06:24
  Author: dottedmag
Revision: 11925

Remove empty /etc/archmage on upgrade

Added:
  packages/archmage/trunk/debian/archmage.postinst
Modified:
  packages/archmage/trunk/debian/changelog

Added: packages/archmage/trunk/debian/archmage.postinst
===================================================================
--- packages/archmage/trunk/debian/archmage.postinst	                        (rev 0)
+++ packages/archmage/trunk/debian/archmage.postinst	2015-05-10 10:06:24 UTC (rev 11925)
@@ -0,0 +1,16 @@
+#!/bin/sh
+set -e
+
+case "$1" in
+    configure)
+        rmdir --ignore-fail-on-non-empty /etc/archmage;;
+    abort-*)
+        ;;
+    *)
+        echo "postinst called with unknown argument '$1'" >&2
+        exit 1;;
+esac
+
+#DEBHELPER#
+
+exit 0

Modified: packages/archmage/trunk/debian/changelog
===================================================================
--- packages/archmage/trunk/debian/changelog	2015-05-09 20:38:48 UTC (rev 11924)
+++ packages/archmage/trunk/debian/changelog	2015-05-10 10:06:24 UTC (rev 11925)
@@ -1,3 +1,9 @@
+archmage (1:0.3.1-2) unstable; urgency=low
+
+  * Remove empty /etc/archmage on upgrades (Closes: #782797).
+
+ -- Mikhail Gusarov <dottedmag at debian.org>  Sun, 10 May 2015 12:04:44 +0200
+
 archmage (1:0.3.1-1) unstable; urgency=low
 
   * New upstream release.




More information about the Python-apps-commits mailing list