summaryrefslogtreecommitdiffstats
path: root/debian/parallel.preinst
blob: a4618d040ab976eccabeaaf0f688bc595952fbd2 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
#!/bin/sh
set -e

if [ "$1" = "install" ]; then
    dpkg-divert --package parallel --add --rename \
                --divert /usr/bin/parallel.moreutils \
                /usr/bin/parallel
    dpkg-divert --package parallel --add --rename \
                --divert /usr/share/man/man1/parallel.moreutils.1.gz \
                /usr/share/man/man1/parallel.1.gz
fi

#DEBHELPER#

exit 0