Modified to support separate usher for client and server packages

This commit is contained in:
2017-11-24 11:27:56 -06:00
parent fbb00bd666
commit c840a57934
4 changed files with 98 additions and 3 deletions

20
SNAP/usher-client Executable file
View File

@@ -0,0 +1,20 @@
#!/bin/bash
set -e
case $1 in
preinst)
exit 0
;;
postinst)
if [ ! -f ${TARGET}/etc/ssh/ssh_config ]; then
cp ${TARGET}/usr/share/openssh/ssh_config ${TARGET}/etc/ssh
fi
;;
prerm)
exit 0
;;
postrm)
exit 0
;;
esac