templates/kde4: minor updates
Signed-off-by: Davide Madrisan <davide.madrisan@gmail.com>
This commit is contained in:
parent
d8923cb9d8
commit
e9af2cf8eb
@ -5,6 +5,10 @@ Changes in version 1.8.2
|
||||
* templates/library - Davide Madrisan:
|
||||
Add a missing requirement.
|
||||
|
||||
+ update
|
||||
* templates/kde4 - Davide Madrisan:
|
||||
Minor updates.
|
||||
|
||||
--------------------------------------------------------------------------------
|
||||
|
||||
Changes in version 1.8.1 - Christmas Release
|
||||
|
@ -47,22 +47,24 @@ BuildRoot: @rpm_default_buildroot@
|
||||
/sbin/ldconfig
|
||||
@fi:shared_libraries
|
||||
@if:icons_mimetypes
|
||||
## remove the following line if this package has no hicolor icons
|
||||
touch --no-create %{_kde4_icondir}/hicolor &>/dev/null
|
||||
## remove the following line if this package has no oxygen icons
|
||||
touch --no-create %{_kde4_icondir}/oxygen &>/dev/null
|
||||
@fi:icons_mimetypes
|
||||
exit 0
|
||||
|
||||
@if:icons_mimetypes
|
||||
%posttrans
|
||||
@fi:icons_mimetypes
|
||||
@if:shared_libraries
|
||||
## remove the following line if no dynamic libraries are provided by this package
|
||||
/sbin/ldconfig
|
||||
@fi:shared_libraries
|
||||
@if:icons_mimetypes
|
||||
update-desktop-database -q &>/dev/null
|
||||
update-mime-database %{_kde4_mimedir} &>/dev/null
|
||||
## remove the following line if this package has no hicolor icons
|
||||
gtk-update-icon-cache %{_kde4_icondir}/hicolor &>/dev/null
|
||||
## remove the following line if this package has no oxygen icons
|
||||
gtk-update-icon-cache %{_kde4_icondir}/oxygen &>/dev/null
|
||||
exit 0
|
||||
@fi:icons_mimetypes
|
||||
@ -76,9 +78,11 @@ exit 0
|
||||
if [ $1 -eq 0 ]; then
|
||||
\ update-desktop-database -q &>/dev/null
|
||||
\ update-mime-database %{_kde4_mimedir} &>/dev/null
|
||||
## remove the following two lines if this package has no hicolor icons
|
||||
\ touch --no-create %{_kde4_icondir}/hicolor &>/dev/null
|
||||
\ touch --no-create %{_kde4_icondir}/oxygen &>/dev/null
|
||||
\ gtk-update-icon-cache %{_kde4_icondir}/hicolor &>/dev/null
|
||||
## remove the following two lines if this package has no oxygen icons
|
||||
\ touch --no-create %{_kde4_icondir}/oxygen &>/dev/null
|
||||
\ gtk-update-icon-cache %{_kde4_icondir}/oxygen &>/dev/null
|
||||
fi
|
||||
@fi:icons_mimetypes
|
||||
|
Loading…
Reference in New Issue
Block a user