~ubuntu-branches/ubuntu/intrepid/gimp/intrepid-updates

« back to all changes in this revision

Viewing changes to debian/gimp-gnomevfs.preinst

  • Committer: Bazaar Package Importer
  • Author(s): Colin Watson
  • Date: 2007-11-29 12:45:54 UTC
  • Revision ID: james.westby@ubuntu.com-20071129124554-qt2liw3zj0kbql7h
Tags: 2.4.2-1ubuntu2
Fix syntax of preinst symlink checks.

Show diffs side-by-side

added added

removed removed

Lines of Context:
3
3
set -e
4
4
 
5
5
# doc dir used to be a symlink, and now isn't
6
 
if [ "$1" = upgrade && [ -L /usr/share/doc/gimp-gnomevfs ]; then
 
6
if [ "$1" = upgrade ] && [ -L /usr/share/doc/gimp-gnomevfs ]; then
7
7
    rm /usr/share/doc/gimp-gnomevfs
8
8
fi
9
9