mirror of
https://github.com/yuezk/GlobalProtect-openconnect.git
synced 2026-11-19 06:26:14 -05:00
25 lines
587 B
Plaintext
25 lines
587 B
Plaintext
post_install() {
|
|
update-mime-database /usr/share/mime
|
|
update-desktop-database -q
|
|
}
|
|
|
|
pre_upgrade() {
|
|
rm -f /usr/bin/gpgui
|
|
}
|
|
|
|
post_upgrade() {
|
|
update-mime-database /usr/share/mime
|
|
update-desktop-database -q
|
|
}
|
|
|
|
post_remove() {
|
|
rm -f /usr/bin/gpgui
|
|
rm -f \
|
|
/var/lib/gpclient/scripts/vpnc-script \
|
|
/var/lib/gpclient/scripts/vpnc-script.metadata ||
|
|
echo "Warning: failed to remove the installed VPN script" >&2
|
|
rmdir /var/lib/gpclient/scripts 2>/dev/null || true
|
|
update-mime-database /usr/share/mime
|
|
update-desktop-database -q
|
|
}
|