Replace postinst script with debian/kali-defaults.gconf-defaults automatically handled by dh_gconf.
Raphaël Hertzog
11 years ago
3 | 3 |
* Drop postrm which is not required since it only removes a file that
|
4 | 4 |
dpkg has already removed.
|
5 | 5 |
* Switch debhelper compatibility level to 9.
|
|
6 |
* Replace postinst script with debian/kali-defaults.gconf-defaults
|
|
7 |
automatically handled by dh_gconf.
|
6 | 8 |
|
7 | 9 |
-- Raphaël Hertzog <[email protected]> Wed, 20 Feb 2013 17:50:44 +0100
|
8 | 10 |
|
|
0 |
/apps/gnome-terminal/profiles/Default/use_theme_colors false
|
|
1 |
/apps/gnome-terminal/profiles/Default/background_color "#000000000000"
|
|
2 |
/apps/gnome-terminal/profiles/Default/foreground_color "#FFFFFFFFFFFF"
|
|
3 |
/apps/gnome-terminal/profiles/Default/scrollback_unlimited true
|
|
4 |
/apps/gnome-terminal/profiles/Default/background_type "transparent"
|
|
5 |
/apps/gnome-terminal/profiles/Default/background_darkness 0.75
|
|
6 |
/apps/gnome-terminal/global/confirm_window_close false
|
0 | |
#!/bin/bash
|
1 | |
|
2 | |
if (/usr/bin/which gconftool-2); then
|
3 | |
gconftool-2 --set "/apps/gnome-terminal/profiles/Default/use_theme_colors" --type bool false
|
4 | |
gconftool-2 --set "/apps/gnome-terminal/profiles/Default/background_color" --type string "#000000000000"
|
5 | |
gconftool-2 --set "/apps/gnome-terminal/profiles/Default/foreground_color" --type string "#FFFFFFFFFFFF"
|
6 | |
gconftool-2 --type bool -s /apps/gnome-terminal/profiles/Default/scrollback_unlimited true
|
7 | |
gconftool-2 --type string -s /apps/gnome-terminal/profiles/Default/background_type transparent
|
8 | |
gconftool-2 --type float -s /apps/gnome-terminal/profiles/Default/background_darkness 0.75
|
9 | |
gconftool-2 --type bool -s /apps/gnome-terminal/global/confirm_window_close false
|
10 | |
else
|
11 | |
echo "[*] gconftool-2 not installed."
|
12 | |
fi
|
1 | 1 |
|
2 | 2 |
%:
|
3 | 3 |
dh $@
|
|
4 |
|
|
5 |
override_dh_gconf:
|
|
6 |
# Use 20 as priority as recommended by update-gconf-defaults(1)
|
|
7 |
# since we're a Debian derivative
|
|
8 |
dh_gconf --priority=20
|