Comment 5 for bug 176135

Revision history for this message
Che Guevara (che-guevara-3) wrote :

Debdiff to fix this

--- kdebase-workspace-3.97.0/debian/patches/series
+++ kdebase-workspace-3.97.0/debian/patches/series
@@ -8,0 +9 @@
+14_fix_startkde_bashism_svn_r748614.patch
diff -u kdebase-workspace-3.97.0/debian/changelog kdebase-workspace-3.97.0/debian/changelog
--- kdebase-workspace-3.97.0/debian/changelog
+++ kdebase-workspace-3.97.0/debian/changelog
@@ -1,3 +1,9 @@
+kdebase-workspace (4:3.97.0-1ubuntu6) hardy; urgency=low
+
+ * Fix bashism in startkde (upstream SVN r748614) (LP: #176135)
+
+ -- Ilya Eremin <email address hidden> Sat, 15 Dec 2007 00:50:00 +0000
+
 kdebase-workspace (4:3.97.0-1ubuntu5) hardy; urgency=low

   * Fix Exec= entry in .desktop files
only in patch2:
unchanged:
--- kdebase-workspace-3.97.0.orig/debian/patches/14_fix_startkde_bashism_svn_r748614.patch
+++ kdebase-workspace-3.97.0/debian/patches/14_fix_startkde_bashism_svn_r748614.patch
@@ -0,0 +1,14 @@
+Index: b/startkde.cmake
+===================================================================
+--- a/startkde.cmake
++++ b/startkde.cmake
+@@ -79,7 +79,7 @@
+ xmessage -geometry 500x100 "Could not start kstartupconfig4. Check your installation."
+ exit 1
+ fi
+-. $kdehome/share/config/startupconfig
++[ -e $kdehome/share/config/startupconfig] && . $kdehome/share/config/startupconfig
+
+ # XCursor mouse theme needs to be applied here to work even for kded or ksmserver
+ if test -n "$kcminputrc_mouse_cursortheme" -o -n "$kcminputrc_mouse_cursorsize" ; then
+