blob: 30b09ada107b8a99501fa45aac5df17cfb9d4b3c (
plain)
1
2
3
4
5
6
7
8
9
10
|
#!/bin/sh
if [ upgrade != "$1" ]; then
for bin in cat chmod cp date dd kill ln ls mkdir mv pwd rm rmdir sleep stty; do
dpkg-divert --package coreutils-bin --add --rename \
--divert /bin/.${bin}.binpack /bin/${bin}
done
dpkg-divert --package coreutils-bin --add --rename \
--divert /usr/bin/.dirname.binpack /usr/bin/dirname
fi
|