summaryrefslogtreecommitdiffstats
path: root/debian/parallel.preinst
diff options
context:
space:
mode:
Diffstat (limited to 'debian/parallel.preinst')
-rw-r--r--debian/parallel.preinst15
1 files changed, 15 insertions, 0 deletions
diff --git a/debian/parallel.preinst b/debian/parallel.preinst
new file mode 100644
index 0000000..a4618d0
--- /dev/null
+++ b/debian/parallel.preinst
@@ -0,0 +1,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