Fix tdebase FTBFS on Debian and Ubuntu

pull/3/head
Timothy Pearson 13 years ago
parent 143d7c6059
commit 903a429539

@ -1,14 +1,14 @@
--- starttde --- starttde
+++ starttde +++ starttde
@@ -228,17 +228,17 @@ @@ -288,17 +288,17 @@
. $tdehome/share/config/startupconfig . "$tdehome/share/config/startupconfig"
fi fi
-# Make sure a default wallpaper is set. -# Make sure a default wallpaper is set.
-if [ ! -e $tdehome/share/config/kdesktoprc ]; then -if [ ! -e "$tdehome/share/config/kdesktoprc" ]; then
- # With Trinity this file should exist, but test first. - # With Trinity this file should exist, but test first.
- if [ -r /usr/share/wallpapers/isadora.png.desktop ]; then - if [ -r /usr/share/wallpapers/isadora.png.desktop ]; then
-cat >$tdehome/share/config/kdesktoprc <<EOF -cat >"$tdehome/share/config/kdesktoprc" <<EOF
-[Desktop0] -[Desktop0]
-Wallpaper=isadora.png -Wallpaper=isadora.png
-WallpaperMode=Scaled -WallpaperMode=Scaled
@ -16,10 +16,10 @@
- fi - fi
-fi -fi
+## Make sure a default wallpaper is set. +## Make sure a default wallpaper is set.
+#if [ ! -e $tdehome/share/config/kdesktoprc ]; then +#if [ ! -e "$tdehome/share/config/kdesktoprc" ]; then
+# # With Trinity this file should exist, but test first. +# # With Trinity this file should exist, but test first.
+# if [ -r /usr/share/wallpapers/isadora.png.desktop ]; then +# if [ -r /usr/share/wallpapers/isadora.png.desktop ]; then
+#cat >$tdehome/share/config/kdesktoprc <<EOF +#cat >"$tdehome/share/config/kdesktoprc" <<EOF
+#[Desktop0] +#[Desktop0]
+#Wallpaper=isadora.png +#Wallpaper=isadora.png
+#WallpaperMode=Scaled +#WallpaperMode=Scaled

@ -1,14 +1,14 @@
--- starttde --- starttde
+++ starttde +++ starttde
@@ -228,17 +228,17 @@ @@ -288,17 +288,17 @@
. $tdehome/share/config/startupconfig . "$tdehome/share/config/startupconfig"
fi fi
-# Make sure a default wallpaper is set. -# Make sure a default wallpaper is set.
-if [ ! -e $tdehome/share/config/kdesktoprc ]; then -if [ ! -e "$tdehome/share/config/kdesktoprc" ]; then
- # With Trinity this file should exist, but test first. - # With Trinity this file should exist, but test first.
- if [ -r /usr/share/wallpapers/isadora.png.desktop ]; then - if [ -r /usr/share/wallpapers/isadora.png.desktop ]; then
-cat >$tdehome/share/config/kdesktoprc <<EOF -cat >"$tdehome/share/config/kdesktoprc" <<EOF
-[Desktop0] -[Desktop0]
-Wallpaper=isadora.png -Wallpaper=isadora.png
-WallpaperMode=Scaled -WallpaperMode=Scaled
@ -16,10 +16,10 @@
- fi - fi
-fi -fi
+## Make sure a default wallpaper is set. +## Make sure a default wallpaper is set.
+#if [ ! -e $tdehome/share/config/kdesktoprc ]; then +#if [ ! -e "$tdehome/share/config/kdesktoprc" ]; then
+# # With Trinity this file should exist, but test first. +# # With Trinity this file should exist, but test first.
+# if [ -r /usr/share/wallpapers/isadora.png.desktop ]; then +# if [ -r /usr/share/wallpapers/isadora.png.desktop ]; then
+#cat >$tdehome/share/config/kdesktoprc <<EOF +#cat >"$tdehome/share/config/kdesktoprc" <<EOF
+#[Desktop0] +#[Desktop0]
+#Wallpaper=isadora.png +#Wallpaper=isadora.png
+#WallpaperMode=Scaled +#WallpaperMode=Scaled

@ -1,14 +1,14 @@
--- starttde --- starttde
+++ starttde +++ starttde
@@ -228,17 +228,17 @@ @@ -288,17 +288,17 @@
. $tdehome/share/config/startupconfig . "$tdehome/share/config/startupconfig"
fi fi
-# Make sure a default wallpaper is set. -# Make sure a default wallpaper is set.
-if [ ! -e $tdehome/share/config/kdesktoprc ]; then -if [ ! -e "$tdehome/share/config/kdesktoprc" ]; then
- # With Trinity this file should exist, but test first. - # With Trinity this file should exist, but test first.
- if [ -r /usr/share/wallpapers/isadora.png.desktop ]; then - if [ -r /usr/share/wallpapers/isadora.png.desktop ]; then
-cat >$tdehome/share/config/kdesktoprc <<EOF -cat >"$tdehome/share/config/kdesktoprc" <<EOF
-[Desktop0] -[Desktop0]
-Wallpaper=isadora.png -Wallpaper=isadora.png
-WallpaperMode=Scaled -WallpaperMode=Scaled
@ -16,10 +16,10 @@
- fi - fi
-fi -fi
+## Make sure a default wallpaper is set. +## Make sure a default wallpaper is set.
+#if [ ! -e $tdehome/share/config/kdesktoprc ]; then +#if [ ! -e "$tdehome/share/config/kdesktoprc" ]; then
+# # With Trinity this file should exist, but test first. +# # With Trinity this file should exist, but test first.
+# if [ -r /usr/share/wallpapers/isadora.png.desktop ]; then +# if [ -r /usr/share/wallpapers/isadora.png.desktop ]; then
+#cat >$tdehome/share/config/kdesktoprc <<EOF +#cat >"$tdehome/share/config/kdesktoprc" <<EOF
+#[Desktop0] +#[Desktop0]
+#Wallpaper=isadora.png +#Wallpaper=isadora.png
+#WallpaperMode=Scaled +#WallpaperMode=Scaled

Loading…
Cancel
Save