summaryrefslogtreecommitdiffstats
path: root/redhat/applications/dolphin/dolphin-14.0.0.spec
diff options
context:
space:
mode:
authorFrançois Andriot <albator78@libertysurf.fr>2013-12-28 20:29:52 +0100
committerFrançois Andriot <albator78@libertysurf.fr>2013-12-28 20:29:52 +0100
commit4a3e6e0caf179b6ba22f5fb76a6208f3e84ceade (patch)
treecac0d48146738d2991bbeadbd50ecd956bdb31ff /redhat/applications/dolphin/dolphin-14.0.0.spec
parent173aeaded0e4e6ca4dee09ed401e3c483fd2ff7d (diff)
parentc55ee4f291ee28be12e57a83d59b050f3952258b (diff)
downloadtde-packaging-4a3e6e0caf179b6ba22f5fb76a6208f3e84ceade.tar.gz
tde-packaging-4a3e6e0caf179b6ba22f5fb76a6208f3e84ceade.zip
RPM Packaging: updates for R14
Diffstat (limited to 'redhat/applications/dolphin/dolphin-14.0.0.spec')
-rw-r--r--redhat/applications/dolphin/dolphin-14.0.0.spec8
1 files changed, 2 insertions, 6 deletions
diff --git a/redhat/applications/dolphin/dolphin-14.0.0.spec b/redhat/applications/dolphin/dolphin-14.0.0.spec
index f7b25e799..2553b1a95 100644
--- a/redhat/applications/dolphin/dolphin-14.0.0.spec
+++ b/redhat/applications/dolphin/dolphin-14.0.0.spec
@@ -97,13 +97,10 @@ export PATH="%{tde_bindir}:${PATH}"
%__rm -rf %{buildroot}
%__make install DESTDIR=%{buildroot}
-
# Makes 'media_safelyremove.desktop' an alternative
%__mv -f %{buildroot}%{tde_datadir}/apps/d3lphin/servicemenus/media_safelyremove.desktop %{buildroot}%{tde_datadir}/apps/d3lphin/servicemenus/media_safelyremove.desktop_d3lphin
-%__ln_s %{_sysconfdir}/alternatives/media_safelyremove.desktop_d3lphin %{buildroot}%{tde_datadir}/apps/d3lphin/servicemenus/media_safelyremove.desktop
-%__mkdir_p %{?buildroot}%{_sysconfdir}/alternatives
-%__ln_s %{tde_datadir}/apps/d3lphin/servicemenus/media_safelyremove.desktop %{?buildroot}%{_sysconfdir}/alternatives/media_safelyremove.desktop_d3lphin
+# Locales
%find_lang d3lphin
@@ -125,7 +122,7 @@ update-alternatives --install \
if [ $1 -eq 0 ]; then
update-alternatives --remove \
media_safelyremove.desktop_d3lphin \
- %{tde_datadir}/apps/d3lphin/servicemenus/media_safelyremove.desktop_d3lphin
+ %{tde_datadir}/apps/d3lphin/servicemenus/media_safelyremove.desktop_d3lphin || :
fi
%postun
@@ -142,7 +139,6 @@ gtk-update-icon-cache --quiet %{tde_datadir}/icons/hicolor || :
%{tde_datadir}/apps/d3lphin/
%{tde_datadir}/icons/hicolor/*/apps/d3lphin.png
%lang(en) %{tde_tdedocdir}/HTML/en/d3lphin/
-%{_sysconfdir}/alternatives/media_safelyremove.desktop_d3lphin
%changelog