File: gimp-help-de.postinst

package info (click to toggle)
gimp-help 2.10.0-1
  • links: PTS, VCS
  • area: main
  • in suites: bullseye
  • size: 299,528 kB
  • sloc: xml: 100,149; sh: 3,522; python: 859; makefile: 543; perl: 134
file content (14 lines) | stat: -rw-r--r-- 376 bytes parent folder | download | duplicates (8)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
#!/bin/sh -e

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

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

#DEBHELPER#