xed/debian/xedit.preinst

13 lines
289 B
Plaintext
Raw Normal View History

#!/bin/sh
set -e
case "$1" in
install|upgrade)
dpkg-divert --package xedit --add --rename --divert /usr/bin/x11edit /usr/bin/xedit
dpkg-divert --package xedit --add --rename --divert /usr/share/man/man1/x11edit.1.gz /usr/share/man/man1/xedit.1.gz
;;
esac
exit 0