diff options
author | François Andriot <[email protected]> | 2014-10-05 22:40:41 +0200 |
---|---|---|
committer | François Andriot <[email protected]> | 2014-10-05 22:40:41 +0200 |
commit | 0f7e2f11d7315e9d6f28561ac2aef93236d0f266 (patch) | |
tree | 9dd7a23aed85122b5e12b40f0c9ee0690eb65f81 /redhat | |
parent | acfd3fe1f272114ac7567c00571f9d999fa7144d (diff) | |
download | tde-packaging-0f7e2f11d7315e9d6f28561ac2aef93236d0f266.tar.gz tde-packaging-0f7e2f11d7315e9d6f28561ac2aef93236d0f266.zip |
RPM Packaging: update tdebase
Diffstat (limited to 'redhat')
-rw-r--r-- | redhat/tdebase/tdebase-14.0.0.spec | 14 |
1 files changed, 8 insertions, 6 deletions
diff --git a/redhat/tdebase/tdebase-14.0.0.spec b/redhat/tdebase/tdebase-14.0.0.spec index f5e7e9ad3..29436aa39 100644 --- a/redhat/tdebase/tdebase-14.0.0.spec +++ b/redhat/tdebase/tdebase-14.0.0.spec @@ -2146,6 +2146,7 @@ already. Most users won't need this. %{tde_bindir}/krootimage %{tde_datadir}/apps/tdm/pics/kdelogo.png %{tde_datadir}/apps/tdm/pics/shutdown.jpg +%{tde_datadir}/apps/tdm/pics/users %{tde_datadir}/apps/tdm/sessions/*.desktop %{tde_datadir}/apps/tdm/themes/ %{tde_datadir}/config/tdm @@ -2218,10 +2219,10 @@ fi %endif # Sets default user icon in TDM -#if [ ! -r "%{tde_datadir}/apps/tdm/faces/.default.face.icon" ]; then -# [ -d "%{tde_datadir}/apps/tdm/faces" ] || mkdir -p "%{tde_datadir}/apps/tdm/faces" -# %__cp -f "%{tde_datadir}/apps/tdm/pics/users/default2.png" "%{tde_datadir}/apps/tdm/faces/.default.face.icon" -#fi +if [ ! -r "%{tde_datadir}/apps/tdm/faces/.default.face.icon" ]; then + [ -d "%{tde_datadir}/apps/tdm/faces" ] || mkdir -p "%{tde_datadir}/apps/tdm/faces" + %__cp -f "%{tde_datadir}/apps/tdm/pics/users/default2.png" "%{tde_datadir}/apps/tdm/faces/.default.face.icon" +fi # Sets default language for TDM if [ "$1" = "1" ]; then @@ -2229,6 +2230,7 @@ if [ "$1" = "1" ]; then %__sed -i "%{_sysconfdir}/trinity/tdm/tdmrc" -e "s|^#*Language=.*|Language=${LANG}|" fi fi + # openSUSE 11.4 tdm's startup script if [ -r "%{_sysconfdir}/init.d/xdm.tde" ]; then cat "%{_sysconfdir}/init.d/xdm.tde" >"%{_sysconfdir}/init.d/xdm" @@ -3655,9 +3657,9 @@ EOF if [ ! -d "%{?buildroot}%{_datadir}/faces" ]; then %__mkdir_p "%{?buildroot}%{_datadir}/faces" %__mv -f "%{?buildroot}%{tde_datadir}/apps/tdm/pics/users/"* "%{?buildroot}%{_datadir}/faces" - rmdir "%{?buildroot}%{tde_datadir}/apps/tdm/pics/users/" - %__ln_s "%{_datadir}/faces" "%{?buildroot}%{tde_datadir}/apps/tdm/pics/users" fi +rmdir "%{?buildroot}%{tde_datadir}/apps/tdm/pics/users/" +%__ln_s "%{_datadir}/faces" "%{?buildroot}%{tde_datadir}/apps/tdm/pics/users" %clean |