Have Terminator handle x-terminal-emulator alternative. (LP: #268207)
This commit is contained in:
parent
507efa9603
commit
8fb7de2ead
9
debian/terminator.postinst
vendored
9
debian/terminator.postinst
vendored
@ -3,3 +3,12 @@
|
||||
gtk-update-icon-cache -q -f /usr/share/icons/hicolor/
|
||||
pycentral pkginstall terminator
|
||||
|
||||
#DEBHELPER#
|
||||
|
||||
if [ "$1" = "configure" ]; then
|
||||
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
|
||||
|
||||
|
7
debian/terminator.prerm
vendored
7
debian/terminator.prerm
vendored
@ -1,3 +1,10 @@
|
||||
#!/bin/sh
|
||||
|
||||
pycentral pkgremove terminator
|
||||
|
||||
#DEBHELPER#
|
||||
|
||||
if [ "$1" = "remove" ]; then
|
||||
update-alternatives --remove x-terminal-emulator /usr/bin/terminator
|
||||
fi
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user