summaryrefslogtreecommitdiffstats
path: root/debian/tasksel-data.postinst
diff options
context:
space:
mode:
authorDaniel Baumann <daniel.baumann@progress-linux.org>2021-03-10 17:47:02 +0000
committerDaniel Baumann <daniel.baumann@progress-linux.org>2021-03-10 17:47:02 +0000
commitb6272f1a1ac1f256cc24c4e7d08e49d36826a4a8 (patch)
tree0d69900064fc526ba7fce6ba82e7e3e5808b96da /debian/tasksel-data.postinst
parentAdding upstream version 3.53. (diff)
downloadtasksel-b6272f1a1ac1f256cc24c4e7d08e49d36826a4a8.tar.xz
tasksel-b6272f1a1ac1f256cc24c4e7d08e49d36826a4a8.zip
Adding debian version 3.53.
Signed-off-by: Daniel Baumann <daniel.baumann@progress-linux.org>
Diffstat (limited to '')
-rw-r--r--debian/tasksel-data.postinst12
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