Imported Debian patch 2.4.4p3-2
[debian/amanda] / debian / config
diff --git a/debian/config b/debian/config
new file mode 100644 (file)
index 0000000..6917623
--- /dev/null
@@ -0,0 +1,12 @@
+#!/bin/sh
+
+. /usr/share/debconf/confmodule
+
+# if both files exist, suggest they merge them
+# if only one exists, the postinst moves it
+if [ -f /var/lib/amandates ]; then
+  if [ -f /var/lib/amanda/amandates ]; then
+    db_input medium amanda-common/merge_amandates || true
+    db_go
+  fi
+fi