1
0

Accepting request 509518 from home:badshah400:branches:server:messaging

Run post(un) scriptlets

OBS-URL: https://build.opensuse.org/request/show/509518
OBS-URL: https://build.opensuse.org/package/show/server:messaging/telegram-desktop?expand=0&rev=21
This commit is contained in:
Xu Zhao 2017-07-11 16:39:54 +00:00 committed by Git OBS Bridge
parent fe2d97d338
commit 63e2c89ef3
2 changed files with 17 additions and 0 deletions

View File

@ -1,3 +1,12 @@
-------------------------------------------------------------------
Tue Jul 11 14:37:04 UTC 2017 - badshah400@gmail.com
- Use post(un) scriptlets to update hicolor icon-theme cache, and
the desktop database; without these the desktop menu icon does
not get registered to the icon and picks up a default ugly icon,
until subsequent installation of other programs or manual
invocation of the commands corresponding to these scriptlets.
-------------------------------------------------------------------
Sat Jul 8 01:00:38 UTC 2017 - badshah400@gmail.com

View File

@ -213,6 +213,14 @@ for icon_size in 16 32 48 64 128 256 512; do
"${icon_dir}/telegram.png"
done
%post
%icon_theme_cache_post
%desktop_database_post
%postun
%icon_theme_cache_postun
%desktop_database_postun
%files
%defattr (-, root, root, -)
%{_bindir}/telegram-desktop