diff options
Diffstat (limited to 'redhat/main/tdeutils/tdeutils.spec')
-rw-r--r-- | redhat/main/tdeutils/tdeutils.spec | 6 |
1 files changed, 5 insertions, 1 deletions
diff --git a/redhat/main/tdeutils/tdeutils.spec b/redhat/main/tdeutils/tdeutils.spec index e3ae43abc..762edaf56 100644 --- a/redhat/main/tdeutils/tdeutils.spec +++ b/redhat/main/tdeutils/tdeutils.spec @@ -958,7 +958,11 @@ export PATH="%{tde_bindir}:${PATH}" %endif # Fix desktop shortcut location -%__mv "%{?buildroot}%{tde_datadir}/applnk/Utilities/superkaramba.desktop" "%{?buildroot}%{tde_tdeappdir}/superkaramba.desktop" +if [ -d "%{?buildroot}%{tde_datadir}/applnk" ]; then + %__mkdir_p "%{?buildroot}%{tde_tdeappdir}" + %__mv "%{?buildroot}%{tde_datadir}/applnk/Utilities/superkaramba.desktop" "%{?buildroot}%{tde_tdeappdir}/superkaramba.desktop" + %__rm -rf "%{?buildroot}%{tde_datadir}/applnk" +fi # Updates applications categories for openSUSE %if 0%{?suse_version} |