diff options
author | Daniel Baumann <daniel.baumann@progress-linux.org> | 2024-04-07 16:46:30 +0000 |
---|---|---|
committer | Daniel Baumann <daniel.baumann@progress-linux.org> | 2024-04-07 16:46:30 +0000 |
commit | 806a9725daf2bc3c1636dd6072619900efe9866f (patch) | |
tree | 9cf31ae7220b180e6b3499347ce59a8f2be886ce /debian/tasksel-data.postinst | |
parent | Adding upstream version 3.73. (diff) | |
download | tasksel-debian/3.73.tar.xz tasksel-debian/3.73.zip |
Adding debian version 3.73.debian/3.73debian
Signed-off-by: Daniel Baumann <daniel.baumann@progress-linux.org>
Diffstat (limited to 'debian/tasksel-data.postinst')
-rw-r--r-- | debian/tasksel-data.postinst | 12 |
1 files changed, 12 insertions, 0 deletions
diff --git a/debian/tasksel-data.postinst b/debian/tasksel-data.postinst new file mode 100644 index 0000000..b7b438c --- /dev/null +++ b/debian/tasksel-data.postinst @@ -0,0 +1,12 @@ +#!/bin/sh +set -e +#DEBHELPER# + +# directory turned into symlink; give dpkg a hand. +if dpkg --compare-versions "$2" lt 3.14; then + if [ ! -L /usr/share/doc/tasksel-data ] && \ + [ -d /usr/share/doc/tasksel-data ] && \ + rmdir /usr/share/doc/tasksel-data 2>/dev/null; then + ln -sf tasksel /usr/share/doc/tasksel-data + fi +fi |