mirror of
https://gitlab.winehq.org/wine/wine-gecko.git
synced 2024-09-13 09:24:08 -07:00
37 lines
770 B
Plaintext
37 lines
770 B
Plaintext
#filter substitution
|
|
#literal #! /bin/sh
|
|
# postinst script for fennec
|
|
#
|
|
# see: dh_installdeb(1)
|
|
|
|
set -e
|
|
|
|
case "$1" in
|
|
configure)
|
|
# for faster initial startup
|
|
#ifdef MOZ_PLATFORM_MAEMO
|
|
/bin/su -l user -c "/usr/bin/fennec -silent" > /dev/null 2>&1 || echo -n ""
|
|
#endif
|
|
# for fennec icons
|
|
gtk-update-icon-cache -f /usr/share/icons/hicolor
|
|
|
|
# select where to install fennec menu
|
|
if [ "$2" == "" ]; then
|
|
|
|
if [ -x /usr/bin/update-desktop-database ]; then
|
|
update-desktop-database /usr/share/applications
|
|
fi
|
|
fi
|
|
;;
|
|
|
|
abort-upgrade|abort-remove|abort-deconfigure)
|
|
;;
|
|
|
|
*)
|
|
echo "postinst called with unknown argument \`$1'" >&2
|
|
exit 1
|
|
;;
|
|
esac
|
|
|
|
exit 0
|