summaryrefslogtreecommitdiffstats
path: root/redhat/applications/tdeio-umountwrapper/tdeio-umountwrapper.spec
diff options
context:
space:
mode:
Diffstat (limited to 'redhat/applications/tdeio-umountwrapper/tdeio-umountwrapper.spec')
-rw-r--r--redhat/applications/tdeio-umountwrapper/tdeio-umountwrapper.spec7
1 files changed, 6 insertions, 1 deletions
diff --git a/redhat/applications/tdeio-umountwrapper/tdeio-umountwrapper.spec b/redhat/applications/tdeio-umountwrapper/tdeio-umountwrapper.spec
index 2167ad3ea..b70f78192 100644
--- a/redhat/applications/tdeio-umountwrapper/tdeio-umountwrapper.spec
+++ b/redhat/applications/tdeio-umountwrapper/tdeio-umountwrapper.spec
@@ -150,10 +150,13 @@ export PATH="%{tde_bindir}:${PATH}"
%__install -D -m 644 "%{SOURCE1}" %{?buildroot}%{tde_datadir}/apps/konqueror/servicemenus/media_safelyremove.desktop_tdeio-umountwrapper
%__install -D -m 644 "%{SOURCE1}" %{?buildroot}%{tde_datadir}/apps/d3lphin/servicemenus/media_safelyremove.desktop_tdeio-umountwrapper
+%find_lang tdeio_umountwrapper
+
%clean
%__rm -rf %{buildroot}
+
%post
for f in konqueror d3lphin; do
update-alternatives --install \
@@ -163,6 +166,7 @@ for f in konqueror d3lphin; do
20
done
+
%postun
if [ $1 -eq 0 ]; then
for f in konqueror d3lphin; do
@@ -172,7 +176,8 @@ if [ $1 -eq 0 ]; then
done
fi
-%files
+
+%files -f tdeio_umountwrapper.lang
%defattr(-,root,root,-)
%doc AUTHORS ChangeLog COPYING NEWS README TODO
%{tde_bindir}/tdeio_umountwrapper