File: parallel.preinst

package info (click to toggle)
parallel 20161222-1.1
  • links: PTS, VCS
  • area: main
  • in suites: bullseye, buster
  • size: 4,132 kB
  • sloc: perl: 17,171; sh: 879; makefile: 243; csh: 112
file content (15 lines) | stat: -rw-r--r-- 386 bytes parent folder | download | duplicates (6)
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