~moblin/xulrunner/xulrunner-headless-1.9.2

« back to all changes in this revision

Viewing changes to debian/xulrunner-headless-1.9.2.prerm.in

  • Committer: Michael Terry
  • Date: 2009-07-07 12:56:22 UTC
  • Revision ID: michael.terry@canonical.com-20090707125622-te6rnusxr8djx0ip
initial -headless packaging

Show diffs side-by-side

added added

removed removed

Lines of Context:
2
2
 
3
3
set -e
4
4
 
5
 
XUL_VERSION=@XULBRANCH@
6
 
 
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
11
 
        fi
12
 
fi
13
 
 
14
5
#DEBHELPER#