From 1515a776506dfdfa790f2e380def94bb2b369cb1 Mon Sep 17 00:00:00 2001 From: Frederic Crozat Date: Fri, 16 Jun 2006 16:22:40 +0000 Subject: Add missing scrollkeeper macros --- macros.in | 9 +++++++++ 1 file changed, 9 insertions(+) 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 -- cgit v1.2.1