Override xedit bin and man page (from x11-apps)
This commit is contained in:
parent
4304f9ffc1
commit
2f80dabbe6
|
@ -0,0 +1,10 @@
|
|||
#!/bin/sh
|
||||
|
||||
set -e
|
||||
|
||||
if [ remove = "$1" -o abort-install = "$1" -o disappear = "$1" ]; then
|
||||
dpkg-divert --package xedit --remove --rename --divert /usr/bin/x11edit /usr/bin/xedit
|
||||
dpkg-divert --package xedit --remove --rename --divert /usr/share/man/man1/x11edit.1.gz /usr/share/man/man1/xedit.1.gz
|
||||
fi
|
||||
|
||||
exit 0
|
|
@ -0,0 +1,12 @@
|
|||
#!/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
|
Loading…
Reference in New Issue