[pve-devel] [PATCH manager v2 05/17] buildsys: remove unused debconf template
Thomas Lamprecht
t.lamprecht at proxmox.com
Mon Mar 12 14:13:56 CET 2018
Signed-off-by: Thomas Lamprecht <t.lamprecht at proxmox.com>
---
debian/config | 10 ----------
debian/control | 1 -
debian/postinst | 8 --------
debian/templates | 3 ---
4 files changed, 22 deletions(-)
delete mode 100755 debian/config
delete mode 100644 debian/templates
diff --git a/debian/config b/debian/config
deleted file mode 100755
index b6adae98..00000000
--- a/debian/config
+++ /dev/null
@@ -1,10 +0,0 @@
-#!/bin/sh
-
-# Abort if any command returns an error value
-set -e
-
-. /usr/share/debconf/confmodule
-
-# we do nothing here
-
-exit 0
diff --git a/debian/control b/debian/control
index 9b547471..01545570 100644
--- a/debian/control
+++ b/debian/control
@@ -11,7 +11,6 @@ Architecture: any
Depends: apt-transport-https,
ca-certificates,
cstream,
- debconf (>= 0.5) | debconf-2.0,
dtach,
fonts-font-awesome,
gdisk,
diff --git a/debian/postinst b/debian/postinst
index 534bbc68..7e7441b5 100755
--- a/debian/postinst
+++ b/debian/postinst
@@ -8,14 +8,6 @@ set -e
# done its automatic conffile handling, and all the packages we depend
# of are already fully installed and configured.
-# The following idempotent stuff doesn't generally need protecting
-# against being run in the abort-* cases.
-
-# Use debconf. (installs templates)
-. /usr/share/debconf/confmodule
-# all done with debconf here.
-db_stop
-
case "$1" in
triggered)
# We don't print a status message here, as dpkg already said
diff --git a/debian/templates b/debian/templates
deleted file mode 100644
index 402ccf71..00000000
--- a/debian/templates
+++ /dev/null
@@ -1,3 +0,0 @@
-Template: pve-manager/country
-Description: for internal use - this is set by the pve-installer
-Type: string
--
2.14.2
More information about the pve-devel
mailing list