aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorJani Välimaa <wally@mageia.org>2019-12-27 23:25:04 +0200
committerJani Välimaa <wally@mageia.org>2019-12-27 23:25:04 +0200
commit326abc4de5a5ca55811ae9072149c4fdb3de4ecc (patch)
treea4271a34da8fc7a6ca7b49f45de794c75e1a705b
parent26fcbeb77f1e982a8a8d5ff73947eb0210b71fba (diff)
downloadrpm-setup-326abc4de5a5ca55811ae9072149c4fdb3de4ecc.tar
rpm-setup-326abc4de5a5ca55811ae9072149c4fdb3de4ecc.tar.gz
rpm-setup-326abc4de5a5ca55811ae9072149c4fdb3de4ecc.tar.bz2
rpm-setup-326abc4de5a5ca55811ae9072149c4fdb3de4ecc.tar.xz
rpm-setup-326abc4de5a5ca55811ae9072149c4fdb3de4ecc.zip
build.macros: drop deprecated and unused post_install_gconf_schemas
-rw-r--r--NEWS1
-rw-r--r--build.macros.in4
2 files changed, 2 insertions, 3 deletions
diff --git a/NEWS b/NEWS
index d7f3251..ec40381 100644
--- a/NEWS
+++ b/NEWS
@@ -1,4 +1,5 @@
- build.macros: drop deprecated and unused macros
+ - post_install_gconf_schemas
- update_menus
- clean_menus
- update_desktop_database
diff --git a/build.macros.in b/build.macros.in
index df65a81..e897a6a 100644
--- a/build.macros.in
+++ b/build.macros.in
@@ -95,9 +95,7 @@
%%{nil}}}
# GConf schemas:
-# installation is handled by filetriggers
-%post_install_gconf_schemas() %{nil}
-# but uninstall still need to be done in %preun:
+# uninstall still need to be done in %preun:
%preun_uninstall_gconf_schemas() if [ "$1" = "0" -a -x %{_gconftool_bin} ]; then \
SCHEMAS="" \
for SCHEMA in %{*} ; do \