summaryrefslogtreecommitdiff
path: root/debian/ssh-askpass-gnome.postinst
diff options
context:
space:
mode:
authorColin Watson <cjwatson@debian.org>2005-05-31 00:29:32 +0000
committerColin Watson <cjwatson@debian.org>2005-05-31 00:29:32 +0000
commit31b943a36dfa6c071dafb436639d44614f1b50be (patch)
tree65e956b60e9a861d190808b897e36f4b9de097df /debian/ssh-askpass-gnome.postinst
parent76141d1a66ca046b7ff637f1b51ead6f6aebaec3 (diff)
Change libexecdir to /usr/lib/openssh, and fix up various alternatives and
configuration files to match (closes: #87900, #151321).
Diffstat (limited to 'debian/ssh-askpass-gnome.postinst')
-rw-r--r--debian/ssh-askpass-gnome.postinst7
1 files changed, 6 insertions, 1 deletions
diff --git a/debian/ssh-askpass-gnome.postinst b/debian/ssh-askpass-gnome.postinst
index 7441cca29..15290b711 100644
--- a/debian/ssh-askpass-gnome.postinst
+++ b/debian/ssh-askpass-gnome.postinst
@@ -24,9 +24,14 @@ set -e
24 24
25case "$1" in 25case "$1" in
26 configure) 26 configure)
27 if dpkg --compare-versions "$2" lt-nl 1:4.1p1-1; then
28 # libexecdir changed, so remove the obsolete alternative.
29 update-alternatives --quiet --remove ssh-askpass \
30 /usr/lib/ssh/gnome-ssh-askpass
31 fi
27 update-alternatives --quiet \ 32 update-alternatives --quiet \
28 --install /usr/bin/ssh-askpass ssh-askpass \ 33 --install /usr/bin/ssh-askpass ssh-askpass \
29 /usr/lib/ssh/gnome-ssh-askpass 30 \ 34 /usr/lib/openssh/gnome-ssh-askpass 30 \
30 --slave /usr/share/man/man1/ssh-askpass.1.gz \ 35 --slave /usr/share/man/man1/ssh-askpass.1.gz \
31 ssh-askpass.1.gz /usr/share/man/man1/gnome-ssh-askpass.1.gz 36 ssh-askpass.1.gz /usr/share/man/man1/gnome-ssh-askpass.1.gz
32 37