mirror of
https://github.com/archlinuxarm/PKGBUILDs.git
synced 2024-12-08 23:03:46 +00:00
27 lines
594 B
Bash
27 lines
594 B
Bash
keysafe_schemas=/etc/gconf/schemas/keysafe.schemas
|
|
|
|
post_install() {
|
|
GCONF_CONFIG_SOURCE=`gconftool-2 --get-default-source` \
|
|
gconftool-2 --makefile-install-rule $keysafe_schemas > /dev/null 2>&1
|
|
pkill -HUP gconfd-2 > /dev/null 2>&1
|
|
|
|
update-desktop-database -q
|
|
}
|
|
|
|
post_upgrade() {
|
|
post_install $*
|
|
}
|
|
|
|
pre_remove() {
|
|
GCONF_CONFIG_SOURCE=`gconftool-2 --get-default-source` \
|
|
gconftool-2 --makefile-uninstall-rule $keysafe_schemas > /dev/null 2>&1
|
|
pkill -HUP gconfd-2 > /dev/null 2>&1
|
|
|
|
update-desktop-database -q
|
|
}
|
|
|
|
op=$1
|
|
shift
|
|
$op $*
|
|
|
|
# vim: set ft=sh:
|