File: gimp-help-en.postinst

package info (click to toggle)
gimp-help 3.0.0-4
  • links: PTS, VCS
  • area: main
  • in suites: forky, sid, trixie
  • size: 289,540 kB
  • sloc: xml: 115,826; sh: 3,852; python: 1,004; makefile: 585; perl: 134
file content (14 lines) | stat: -rw-r--r-- 376 bytes parent folder | download | duplicates (9)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
#!/bin/sh -e

# if /usr/share/doc/gimp-help-en is a directory, it's probably from an older
# package, so remove it and make the symlink
if [ ! -L /usr/share/doc/gimp-help-en -a  -d /usr/share/doc/gimp-help-en ];
then
    rmdir /usr/share/doc/gimp-help-en
fi

if [ ! -e /usr/share/doc/gimp-help-en ]; then
    ln -s gimp-help-common /usr/share/doc/gimp-help-en
fi

#DEBHELPER#