1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
|
#!/bin/sh
set -e
XUL_VERSION=@XULBRANCH@
GRE_VERSION=`/usr/bin/xulrunner-$XUL_VERSION --gre-version`
if [ "$1" = "configure" ] || [ "$1" = "abort-upgrade" ]; then
/usr/sbin/update-alternatives --install /usr/bin/xulrunner \
xulrunner /usr/bin/xulrunner-$XUL_VERSION 50
if test -e /usr/lib/xulrunner-$GRE_VERSION/.autoreg; then
touch /usr/lib/xulrunner-$GRE_VERSION/.autoreg
fi
# Remove possible left-over
if [ -f /etc/ld.so.conf.d/xulrunner-$XUL_VERSION ] ; then
rm -f /etc/ld.so.conf.d/xulrunner-$XUL_VERSION
fi
ldconfig
fi
#DEBHELPER#
|