(trunk-1628) Adjustment to the way alternatives are set up that should cure blurry/incorrect icons in task switchers
This commit is contained in:
parent
93ca226c67
commit
06a2d5426f
5
debian/terminator.postinst
vendored
5
debian/terminator.postinst
vendored
@ -1,9 +1,12 @@
|
||||
#!/bin/sh -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 50 \
|
||||
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
|
||||
|
2
debian/terminator.prerm
vendored
2
debian/terminator.prerm
vendored
@ -3,6 +3,8 @@
|
||||
if [ "$1" = remove ]; then
|
||||
update-alternatives --remove terminator /usr/bin/terminator || true
|
||||
update-alternatives --remove x-terminal-emulator /usr/bin/terminator
|
||||
update-alternatives --remove terminator.wrapper /usr/bin/terminator.wrapper || true
|
||||
update-alternatives --remove x-terminal-emulator /usr/bin/terminator.wrapper
|
||||
fi
|
||||
|
||||
#DEBHELPER#
|
||||
|
1
setup.py
1
setup.py
@ -219,6 +219,7 @@ setup(name=APP_NAME.capitalize(),
|
||||
license='GNU GPL v2',
|
||||
scripts=['terminator', 'remotinator'],
|
||||
data_files=[
|
||||
('bin', ['terminator.wrapper']),
|
||||
('share/appdata', ['data/terminator.appdata.xml']),
|
||||
('share/applications', ['data/terminator.desktop']),
|
||||
(os.path.join(man_dir, 'man1'), ['doc/terminator.1']),
|
||||
|
4
terminator.wrapper
Executable file
4
terminator.wrapper
Executable file
@ -0,0 +1,4 @@
|
||||
#!/bin/bash
|
||||
|
||||
terminator $@
|
||||
|
Loading…
Reference in New Issue
Block a user