[pkg-lxqt-devel] Bug#827912: install ssh-askpass alternative

Jordi Pujol Palomer jordipujolp at gmail.com
Wed Jun 22 14:06:50 UTC 2016


Package: lxqt-openssh-askpass
Version: 0.10.0-5
Architecture: amd64, any
Severity: normal

Hello,
the packages ssh-askpass and ssh-askpass-gnome
install /usr/bin/ssh-askpass as an alternative for his own program.
Installing an alternative in the package lxqt-openssh-askpass will
provide a more coherent environment for other applications that could
use it.

The modification of the package may look something like that:

debian/postinst:
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

debian/prerm:
update-alternatives --remove ssh-askpass /usr/bin/lxqt-openssh-askpass

Regards,
Jordi Pujol i Palomer



More information about the pkg-lxqt-devel mailing list