office-gobmx/setup_native/source/packinfo/shellscripts_module.txt
Kurt Zenker 2b9cdee4db INTEGRATION: CWS native100 (1.1.2); FILE ADDED
2007/08/24 14:44:06 is 1.1.2.1: #i80938# shifting package information
2007-09-06 09:03:28 +00:00

33 lines
564 B
Text
Executable file

%format deb
%postinstall << END
if [ "$$1" = "configure" ] ; then
# update desktop database
if [ -x /usr/bin/update-desktop-database ]; then
update-desktop-database -q /usr/share/applications
fi
# update debian style menus
if [ -x /usr/bin/update-menus ]; then
update-menus
fi
fi
exit 0
END
%postremove << END
if [ "$$1" != "purge" ]
then
if [ -x /usr/bin/update-desktop-database ]
then
update-desktop-database -q /usr/share/applications
fi
if [ -x /usr/bin/update-menus ]
then
update-menus
fi
fi
exit 0
END
%format all