summaryrefslogtreecommitdiffstats
path: root/redhat/main/tdebase/tdebase.spec
diff options
context:
space:
mode:
Diffstat (limited to 'redhat/main/tdebase/tdebase.spec')
-rw-r--r--redhat/main/tdebase/tdebase.spec10
1 files changed, 9 insertions, 1 deletions
diff --git a/redhat/main/tdebase/tdebase.spec b/redhat/main/tdebase/tdebase.spec
index b95b83894..d519d27c6 100644
--- a/redhat/main/tdebase/tdebase.spec
+++ b/redhat/main/tdebase/tdebase.spec
@@ -258,6 +258,14 @@ Requires: fedora-logos
%define tde_starticon /usr/share/icons/hicolor/96x96/apps/fedora-logo-icon.png
%endif
+# Fedora 32 Theme
+%if 0%{?fedora} == 32
+Requires: f32-backgrounds-base
+%define tde_bg /usr/share/backgrounds/f32/default/standard/f32.png
+Requires: fedora-logos
+%define tde_starticon /usr/share/icons/hicolor/96x96/apps/fedora-logo-icon.png
+%endif
+
# RHEL 4 Theme
%if 0%{?rhel} == 4
Requires: desktop-backgrounds-basic
@@ -2320,7 +2328,7 @@ if [ -d "%{tde_datadir}/config/%{tdm}" ] && [ ! -L "%{tde_datadir}/config/%{tdm}
fi
# Remove actual directory before creating a symlink
-if [ ! -L "%{tdm_datadir}/pics/users" ]; then
+if [ ! -L "%{tdm_datadir}/pics/users" ] && [ -d "%{tdm_datadir}/pics/users" ] ; then
[ -d "%{_datadir}/faces" ] || mkdir -p "%{_datadir}/faces"
cp -f "%{tdm_datadir}/pics/users/"* "%{_datadir}/faces"
rm -rf "%{tdm_datadir}/pics/users"