[packages/bacula] update desktop database

atler atler at pld-linux.org
Wed Jan 8 14:14:03 CET 2025


commit e4c90c09f6c4f059a4b4629ec6c7fa00ded61cb8
Author: Jan Palus <atler at pld-linux.org>
Date:   Tue Jan 7 19:01:33 2025 +0100

    update desktop database

 bacula.spec | 5 +++++
 1 file changed, 5 insertions(+)
---
diff --git a/bacula.spec b/bacula.spec
index 854c7aa..cc032b3 100644
--- a/bacula.spec
+++ b/bacula.spec
@@ -223,6 +223,7 @@ interfejs czysto tekstowy.
 Summary:	bat – The Bacula Administration Tool
 Summary(pl.UTF-8):	bat – narzędzie administratora Baculi
 Group:		Networking/Utilities
+Requires(post,postun):	desktop-file-utils
 Requires(post):	sed >= 4.0
 Requires:	%{name}-common = %{version}-%{release}
 Requires:	Qt5Core
@@ -665,6 +666,10 @@ find %{_sysconfdir}/bat.conf* -perm /007 -print0 2>/dev/null | xargs -0 -r chmod
 
 %post console-qt
 %update_configs
+%update_desktop_database_post
+
+%postun console-qt
+%update_desktop_database_postun
 
 %define db_post() \
 /sbin/ldconfig \
================================================================

---- gitweb:

http://git.pld-linux.org/gitweb.cgi/packages/bacula.git/commitdiff/ad285996c94b0abdf12a0d4d49a6aa473ea81ed9



More information about the pld-cvs-commit mailing list