diff options
author | François Andriot <albator78@libertysurf.fr> | 2020-09-06 19:27:42 +0200 |
---|---|---|
committer | François Andriot <albator78@libertysurf.fr> | 2020-09-07 21:02:08 +0200 |
commit | 424e58e3209c8ce130983d7d38d4c1ad535d2dbc (patch) | |
tree | c3257e85dfcd1c8b9bd9a5c3d412c113a0e5c9a2 /redhat/main/tdeutils/tdeutils.spec | |
parent | ead24dc5421b41a04a0c33dcd2a8e2e733cccc3c (diff) | |
download | tde-packaging-424e58e3209c8ce130983d7d38d4c1ad535d2dbc.tar.gz tde-packaging-424e58e3209c8ce130983d7d38d4c1ad535d2dbc.zip |
RPM: update desktop and lang files location
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} |