File: prerm.in

package info (click to toggle)
coreutils-from 0.0.0
  • links: PTS
  • area: main
  • in suites: experimental
  • size: 76 kB
  • sloc: makefile: 27; sh: 20
file content (14 lines) | stat: -rw-r--r-- 315 bytes parent folder | download
1
2
3
4
5
6
7
8
9
10
11
12
13
14
#!/bin/sh
set -e

if [ "$1" = "remove" ]; then
    for coreutil in @UTILS@; do
        dpkg-divert --package coreutils-switch \
                    --divert /usr/bin/$coreutil.remove-bak \
                    --no-rename \
                    --add \
                    /usr/bin/$coreutil
    done
fi

#DEBHELPER#