aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--debian/control2
-rwxr-xr-xdebian/rules2
-rw-r--r--debian/ssh-agent-filter.bash-completion1
-rwxr-xr-x[-rw-r--r--]debian/ssh-agent-filter.install2
-rw-r--r--debian/ssh-agent-filter.links1
-rw-r--r--debian/ssh-agent-filter.postinst7
-rw-r--r--debian/ssh-agent-filter.postrm7
-rw-r--r--debian/ssh-agent-filter.preinst7
8 files changed, 26 insertions, 3 deletions
diff --git a/debian/control b/debian/control
index d2deecc..c10445b 100644
--- a/debian/control
+++ b/debian/control
@@ -2,7 +2,7 @@ Source: ssh-agent-filter
Section: net
Priority: extra
Maintainer: Timo Weingärtner <timo@tiwe.de>
-Build-Depends: debhelper (>= 9), nettle-dev, libgmp-dev, libboost-program-options-dev, libboost-filesystem-dev, libboost-iostreams-dev, bash-completion, help2man, pandoc
+Build-Depends: debhelper (>= 9), dh-exec, nettle-dev, libgmp-dev, libboost-program-options-dev, libboost-filesystem-dev, libboost-iostreams-dev, bash-completion, help2man, pandoc
Standards-Version: 3.9.6
Homepage: https://github.com/tiwe-de/ssh-agent-filter
Vcs-Git: git://github.com/tiwe-de/ssh-agent-filter.git -b debian
diff --git a/debian/rules b/debian/rules
index c819273..7f478e0 100755
--- a/debian/rules
+++ b/debian/rules
@@ -1,3 +1,3 @@
#!/usr/bin/make -f
%:
- dh $@ --with bash-completion --parallel
+ dh $@ --parallel
diff --git a/debian/ssh-agent-filter.bash-completion b/debian/ssh-agent-filter.bash-completion
deleted file mode 100644
index 7518e12..0000000
--- a/debian/ssh-agent-filter.bash-completion
+++ /dev/null
@@ -1 +0,0 @@
-ssh-agent-filter.bash-completion ssh-agent-filter
diff --git a/debian/ssh-agent-filter.install b/debian/ssh-agent-filter.install
index a5bdfc2..d48ecb8 100644..100755
--- a/debian/ssh-agent-filter.install
+++ b/debian/ssh-agent-filter.install
@@ -1,3 +1,5 @@
+#!/usr/bin/dh-exec
afssh usr/bin
ssh-agent-filter usr/bin
ssh-askpass-noinput usr/bin
+ssh-agent-filter.bash-completion => usr/share/bash-completion/completions/ssh-agent-filter
diff --git a/debian/ssh-agent-filter.links b/debian/ssh-agent-filter.links
new file mode 100644
index 0000000..7f029bf
--- /dev/null
+++ b/debian/ssh-agent-filter.links
@@ -0,0 +1 @@
+usr/share/bash-completion/completions/ssh-agent-filter usr/share/bash-completion/completions/afssh
diff --git a/debian/ssh-agent-filter.postinst b/debian/ssh-agent-filter.postinst
new file mode 100644
index 0000000..fda1b84
--- /dev/null
+++ b/debian/ssh-agent-filter.postinst
@@ -0,0 +1,7 @@
+#!/bin/sh
+
+set -e
+
+dpkg-maintscript-helper rm_conffile /etc/bash_completion.d/ssh-agent-filter 0.4.1-1~ -- "$@"
+
+#DEBHELPER#
diff --git a/debian/ssh-agent-filter.postrm b/debian/ssh-agent-filter.postrm
new file mode 100644
index 0000000..fda1b84
--- /dev/null
+++ b/debian/ssh-agent-filter.postrm
@@ -0,0 +1,7 @@
+#!/bin/sh
+
+set -e
+
+dpkg-maintscript-helper rm_conffile /etc/bash_completion.d/ssh-agent-filter 0.4.1-1~ -- "$@"
+
+#DEBHELPER#
diff --git a/debian/ssh-agent-filter.preinst b/debian/ssh-agent-filter.preinst
new file mode 100644
index 0000000..fda1b84
--- /dev/null
+++ b/debian/ssh-agent-filter.preinst
@@ -0,0 +1,7 @@
+#!/bin/sh
+
+set -e
+
+dpkg-maintscript-helper rm_conffile /etc/bash_completion.d/ssh-agent-filter 0.4.1-1~ -- "$@"
+
+#DEBHELPER#