aboutsummaryrefslogtreecommitdiffstats
path: root/macros.in
diff options
context:
space:
mode:
authorFrederic Crozat <fcrozat@mandriva.com>2006-06-16 16:22:40 +0000
committerFrederic Crozat <fcrozat@mandriva.com>2006-06-16 16:22:40 +0000
commit1515a776506dfdfa790f2e380def94bb2b369cb1 (patch)
tree0ab00c29689dec7ad1050e863e15c12993f6389b /macros.in
parent1ee9040e059a9e902388324f6fb853c24590226c (diff)
downloadrpm-setup-1515a776506dfdfa790f2e380def94bb2b369cb1.tar
rpm-setup-1515a776506dfdfa790f2e380def94bb2b369cb1.tar.gz
rpm-setup-1515a776506dfdfa790f2e380def94bb2b369cb1.tar.bz2
rpm-setup-1515a776506dfdfa790f2e380def94bb2b369cb1.tar.xz
rpm-setup-1515a776506dfdfa790f2e380def94bb2b369cb1.zip
Add missing scrollkeeper macros
Diffstat (limited to 'macros.in')
-rw-r--r--macros.in9
1 files changed, 9 insertions, 0 deletions
diff --git a/macros.in b/macros.in
index b317282..6d329df 100644
--- a/macros.in
+++ b/macros.in
@@ -219,6 +219,15 @@ for SCHEMA in %{*} ; do \
done ; fi \
%{nil}
+# Rebuild scrollkeeper database
+%update_scrollkeeper if [ -x %{_scrollkeeper_bin} ]; then \
+%{_scrollkeeper_bin} -q || true ; fi \
+%{nil}
+
+%clean_scrollkeeper if [ "$1" = "0" -a -x %{_scrollkeeper_bin} ]; \
+then %{_scrollkeeper_bin} -q || true ; fi \
+%{nil}
+
# From rpm-helper
%_create_ghostfile_helper /usr/share/rpm-helper/create-file