Tasksel-debian/tasksel-3.72/debian/tasksel-data.postinst

13 lines
325 B
Bash

#!/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