terminator/debian/terminator.postinst

14 lines
524 B
Bash
Executable File

#!/bin/sh -e
if [ "$1" = "configure" ]; then
# Add an alternative for aterm
update-alternatives --install /usr/bin/terminator terminator /usr/bin/terminator 30
# Add an alternative for x-terminal-emulator
update-alternatives --install /usr/bin/x-terminal-emulator \
x-terminal-emulator /usr/bin/terminator 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#