diff --git a/debian/changelog b/debian/changelog index 27a20cd..840ff6d 100644 --- a/debian/changelog +++ b/debian/changelog @@ -1,3 +1,13 @@ +lxqt-openssh-askpass (0.10.0-6) unstable; urgency=medium + + * Added debian/{postinst,prerm} (Closes: 827912) + thanks Jordi Pujol Palomer + * Bump standards to 3.9.8 + * Bump copyright years + * Finally fixed git-links + + -- Alf Gaida Thu, 30 Jun 2016 18:32:31 +0200 + lxqt-openssh-askpass (0.10.0-5) unstable; urgency=medium * Bump standards to 3.9.7 diff --git a/debian/control b/debian/control index a51ab62..d5f60b3 100644 --- a/debian/control +++ b/debian/control @@ -17,9 +17,9 @@ Build-Depends: debhelper (>= 9), pkg-config, qttools5-dev, qttools5-dev-tools, -Standards-Version: 3.9.7 -Vcs-Browser: https://anonscm.debian.org/cgit/pkg-lxqt/lxqt-openssh-askpass.git/?h=debian/sid -Vcs-Git: https://anonscm.debian.org/cgit/pkg-lxqt/lxqt-openssh-askpass.git -b debian/sid +Standards-Version: 3.9.8 +Vcs-Browser: https://anonscm.debian.org/git/pkg-lxqt/lxqt-openssh-askpass.git/?h=debian/sid +Vcs-Git: https://anonscm.debian.org/git/pkg-lxqt/lxqt-openssh-askpass.git -b debian/sid Homepage: https://github.com/lxde/lxqt-openssh-askpass Package: lxqt-openssh-askpass diff --git a/debian/copyright b/debian/copyright index 4ab93bc..154f461 100644 --- a/debian/copyright +++ b/debian/copyright @@ -3,7 +3,7 @@ Upstream-Name: lxqt-openssh-askpass Source: https://github.com/lxde/lxqt-openssh-askpass Files: * -Copyright: 2012-2015 LXQt team +Copyright: 2012-2016 LXQt team 2010-2012 Razor team License: LGPL-2.1+ diff --git a/debian/postinst b/debian/postinst new file mode 100644 index 0000000..61cd163 --- /dev/null +++ b/debian/postinst @@ -0,0 +1,27 @@ +#!/bin/sh +# postinst script for #PACKAGE# +# +# see: dh_installdeb(1) + +set -e + +case "$1" in + configure) + update-alternatives --install /usr/bin/ssh-askpass ssh-askpass /usr/bin/lxqt-openssh-askpass 15 \ + --slave /usr/share/man/man1/ssh-askpass.1.gz ssh-askpass.1.gz /usr/share/man/man1/lxqt-openssh-askpass.1.gz + # invalid alternatives are automatically reconfigured + ls -L /etc/alternatives/ssh-askpass >/dev/null 2>&1 || update-alternatives --auto ssh-askpass + ;; + + abort-upgrade|abort-remove|abort-deconfigure) + ;; + + *) + echo "postinst called with unknown argument \`$1'" >&2 + exit 1 + ;; +esac + +#DEBHELPER# + +exit 0 diff --git a/debian/prerm b/debian/prerm new file mode 100644 index 0000000..38edddd --- /dev/null +++ b/debian/prerm @@ -0,0 +1,24 @@ +#!/bin/sh +# prerm script for #PACKAGE# +# +# see: dh_installdeb(1) + +set -e + +case "$1" in + remove|upgrade|deconfigure) + update-alternatives --remove ssh-askpass /usr/bin/lxqt-openssh-askpass + ;; + + failed-upgrade) + ;; + + *) + echo "prerm called with unknown argument \`$1'" >&2 + exit 1 + ;; +esac + +#DEBHELPER# + +exit 0