diff options
author | Daniel Baumann <daniel.baumann@progress-linux.org> | 2024-04-28 15:55:16 +0000 |
---|---|---|
committer | Daniel Baumann <daniel.baumann@progress-linux.org> | 2024-04-28 15:55:16 +0000 |
commit | 367da09c99aaa513736163a6822fa563141e6a2b (patch) | |
tree | 62880192ab8b8c4aef58491f5f52d0a039af26a4 /debian/parallel.preinst | |
parent | Adding upstream version 20221122+ds. (diff) | |
download | parallel-367da09c99aaa513736163a6822fa563141e6a2b.tar.xz parallel-367da09c99aaa513736163a6822fa563141e6a2b.zip |
Adding debian version 20221122+ds-2.debian/20221122+ds-2debian
Signed-off-by: Daniel Baumann <daniel.baumann@progress-linux.org>
Diffstat (limited to 'debian/parallel.preinst')
-rw-r--r-- | debian/parallel.preinst | 15 |
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 |