thanks Jordi Pujol Palomer <jordipujolp@gmail.com> Bump standards to 3.9.8 Bump copyright years Finally fixed git-linksubuntu/cosmic debian/0.10.0-6
parent
2d42b331a7
commit
807bf662ff
@ -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
|
@ -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
|
Loading…
Reference in new issue