diff options
author | root <root@jessyx86.local> | 2015-12-08 23:42:40 +0100 |
---|---|---|
committer | root <root@jessyx86.local> | 2015-12-08 23:42:40 +0100 |
commit | 1d96bc97559d4db973da8deb0154553d0077b9a4 (patch) | |
tree | 6400176b0fcadc2302ba9b5cfe147f4d874a1ffd | |
parent | c67ee5ec195a04e9b9e0821d4c45d3a526af1d09 (diff) |
fixed debconf error (missing template - dh_installdebconf)
-rwxr-xr-x | debian/naskpass.postinst (renamed from debian/postinst) | 9 | ||||
-rwxr-xr-x | debian/naskpass.prerm (renamed from debian/prerm) | 0 | ||||
-rwxr-xr-x | debian/rules | 2 |
3 files changed, 6 insertions, 5 deletions
diff --git a/debian/postinst b/debian/naskpass.postinst index 085db60..590a2ab 100755 --- a/debian/postinst +++ b/debian/naskpass.postinst @@ -11,12 +11,12 @@ set -e case "$1" in configure) - nask_update || true - db_input high naskpass/activate || true + nask_update + db_input high naskpass/activate db_go db_get naskpass/activate - if [ "$RET" = "true" ]; then - nask_activate || true + if [ "x$RET" = "xtrue" ]; then + nask_activate if [ "x${ERRMSG}" != "x" ]; then echo "* ${ERRMSG}" >&2 nask_deactivate @@ -28,7 +28,6 @@ case "$1" in ;; abort-upgrade) - db_purge ;; *) diff --git a/debian/prerm b/debian/naskpass.prerm index 5b1c46d..5b1c46d 100755 --- a/debian/prerm +++ b/debian/naskpass.prerm diff --git a/debian/rules b/debian/rules index 90c262e..1c41e7c 100755 --- a/debian/rules +++ b/debian/rules @@ -35,6 +35,8 @@ install: build dh_clean dh_prep dh_installdirs + dh_installchangelogs + dh_installdebconf $(MAKE) install prefix=$(CURDIR)/debian/naskpass mkdir -p $(CURDIR)/debian/naskpass/usr/share/naskpass install -D -m755 ./scripts/naskconf $(CURDIR)/debian/naskpass/usr/share/naskpass/ |