5
XUL_VERSION=@XULBRANCH@
7
if [ "$1" = "remove" ] || [ "$1" = upgrade ]; then
8
/usr/sbin/update-alternatives --remove xulrunner /usr/bin/xulrunner-$XUL_VERSION
9
if [ "$(update-alternatives --list xulrunner | wc -l)" = "0" ]; then
10
/usr/sbin/update-alternatives --remove-all xulrunner