Commit ec421d7e authored by Nicolas Bruguier's avatar Nicolas Bruguier

Fix update-alternative of /etc/gsignond.conf

parent 31b44709
/etc/gsignond.conf
etc/gsignond.conf /etc/gsignond
/usr/bin/gsignond*
/usr/lib/*/gsignond/extensions/*.so*
/usr/lib/*/gsignond/gplugins/*.so*
......
......@@ -20,7 +20,6 @@ set -e
case "$1" in
configure)
ldconfig
groupadd -f -r gsignond
chmod 4755 /usr/bin/gsignond
install -d -m 755 -o root -g root /var/db
......
/usr/bin/gsignond
/usr/lib/libgsignond-*.so.*
/usr/lib/gsignond/extensions/*.so*
/usr/lib/gsignond/gplugins/*.so*
/usr/lib/gsignond/pluginloaders/gsignond-plugind
/usr/share/dbus-1/services/*SingleSignOn*.service
/etc/gsignond/gsignond.conf
#!/bin/sh
# postrm script for gsignond
#
# see: dh_installdeb(1)
set -e
# summary of how this script can be called:
# * <postrm> `remove'
# * <postrm> `purge'
# * <old-postrm> `upgrade' <new-version>
# * <new-postrm> `failed-upgrade' <old-version>
# * <new-postrm> `abort-install'
# * <new-postrm> `abort-install' <old-version>
# * <new-postrm> `abort-upgrade' <old-version>
# * <disappearer's-postrm> `disappear' <overwriter>
# <overwriter-version>
# for details, see http://www.debian.org/doc/debian-policy/ or
# the debian-policy package
case "$1" in
purge|remove|upgrade|failed-upgrade|abort-install|abort-upgrade|disappear)
ldconfig
;;
*)
echo "postrm called with unknown argument \`$1'" >&2
exit 1
;;
esac
# dh_installdeb will replace this with shell code automatically
# generated by other debhelper scripts.
#DEBHELPER#
exit 0
#!/bin/sh
# preinst script for gsignond
#
# see: dh_installdeb(1)
set -e
# summary of how this script can be called:
# * <new-preinst> `install'
# * <new-preinst> `install' <old-version>
# * <new-preinst> `upgrade' <old-version>
# * <old-preinst> `abort-upgrade' <new-version>
# for details, see http://www.debian.org/doc/debian-policy/ or
# the debian-policy package
case "$1" in
install)
;;
upgrade)
cp -a /etc/gsignond.conf /etc/gsignond.conf.orig
;;
abort-upgrade)
;;
*)
echo "preinst called with unknown argument \`$1'" >&2
exit 1
;;
esac
# dh_installdeb will replace this with shell code automatically
# generated by other debhelper scripts.
#DEBHELPER#
exit 0
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment