summaryrefslogtreecommitdiffstats
path: root/debian/util-linux-extra.preinst
blob: 0d5abc5415c914779f7f17848e17a1b60a1cf229 (plain)
1
2
3
4
5
6
7
8
9
10
11
#!/bin/sh

set -e

if test "$1" = upgrade || test "$1" = install; then
  for f in ctrlaltdel fsck.cramfs fsck.minix mkfs.bfs mkfs.cramfs mkfs.minix; do
    dpkg-divert --no-rename --package util-linux-extra --divert "/sbin/$f.usr-is-merged" --add "/sbin/$f"
  done
fi

#DEBHELPER#