terminator/debian/terminator.postinst
Stephen Boddy 5a884b7a81 * Update version numbers for GTK branch to something that makes sense
* Add back the visible_bell config option to the man page
* Bring the outdated packaging files into line with trunk
* Added AUTHORS and RELEASING as per trunk
2016-11-03 04:03:51 +01:00

18 lines
608 B
Bash
Executable File

#!/bin/sh
set -e
if [ "$1" = "configure" ]; then
# Ensure the old alternative is removed
update-alternatives --remove terminator /usr/bin/terminator || true
update-alternatives --remove x-terminal-emulator /usr/bin/terminator
# Add an alternative for x-terminal-emulator
update-alternatives --install /usr/bin/x-terminal-emulator \
x-terminal-emulator /usr/bin/terminator.wrapper 50 \
--slave /usr/share/man/man1/x-terminal-emulator.1.gz \
x-terminal-emulator.1.gz /usr/share/man/man1/terminator.1.gz
fi
#DEBHELPER#