preinst is in ubuntu-sso-client 3.0.0-0ubuntu1.
This file is a maintainer script. It is executed when installing (*inst) or removing (*rm) the package.
The actual contents of the file can be viewed below.
1 2 3 4 5 6 7 8 9 10 11 12 | #!/bin/sh
set -e
LASTVERSION="0.99.4-0ubuntu1"
pkill -HUP -f ubuntu-sso-login || true
dpkg-maintscript-helper rm_conffile \
/etc/xdg/ubuntu-sso/oauth_registration.d/ubuntuone "$LASTVERSION" -- "$@"
dpkg-maintscript-helper rm_conffile \
/etc/xdg/ubuntu-sso/oauth_urls "$LASTVERSION" -- "$@"
|