forked from pool/xfce4-session
47 lines
1.5 KiB
Diff
47 lines
1.5 KiB
Diff
|
Index: xfce4-session-4.9.0/scripts/xinitrc.in
|
||
|
===================================================================
|
||
|
--- xfce4-session-4.9.0.orig/scripts/xinitrc.in
|
||
|
+++ xfce4-session-4.9.0/scripts/xinitrc.in
|
||
|
@@ -1,4 +1,4 @@
|
||
|
-#!/bin/sh
|
||
|
+#!/bin/bash
|
||
|
|
||
|
# fix broken $UID on some system...
|
||
|
if test "x$UID" = "x"; then
|
||
|
@@ -38,12 +38,6 @@ if test "x$XDG_CACHE_HOME" = "x" ; then
|
||
|
fi
|
||
|
[ -d "$XDG_CACHE_HOME" ] || mkdir "$XDG_CACHE_HOME"
|
||
|
|
||
|
-# set up XDG user directores. see
|
||
|
-# http://freedesktop.org/wiki/Software/xdg-user-dirs
|
||
|
-if which xdg-user-dirs-update >/dev/null 2>&1; then
|
||
|
- xdg-user-dirs-update
|
||
|
-fi
|
||
|
-
|
||
|
# Modify libglade and glade environment variables so that
|
||
|
# it will find the files installed by Xfce
|
||
|
GLADE_CATALOG_PATH="$GLADE_CATALOG_PATH:/usr/share/glade3/catalogs"
|
||
|
Index: xfce4-session-4.9.0/scripts/xinitrc.in.in
|
||
|
===================================================================
|
||
|
--- xfce4-session-4.9.0.orig/scripts/xinitrc.in.in
|
||
|
+++ xfce4-session-4.9.0/scripts/xinitrc.in.in
|
||
|
@@ -1,4 +1,4 @@
|
||
|
-#!/bin/sh
|
||
|
+#!/bin/bash
|
||
|
|
||
|
# fix broken $UID on some system...
|
||
|
if test "x$UID" = "x"; then
|
||
|
@@ -38,12 +38,6 @@ if test "x$XDG_CACHE_HOME" = "x" ; then
|
||
|
fi
|
||
|
[ -d "$XDG_CACHE_HOME" ] || mkdir "$XDG_CACHE_HOME"
|
||
|
|
||
|
-# set up XDG user directores. see
|
||
|
-# http://freedesktop.org/wiki/Software/xdg-user-dirs
|
||
|
-if which xdg-user-dirs-update >/dev/null 2>&1; then
|
||
|
- xdg-user-dirs-update
|
||
|
-fi
|
||
|
-
|
||
|
# Modify libglade and glade environment variables so that
|
||
|
# it will find the files installed by Xfce
|
||
|
GLADE_CATALOG_PATH="$GLADE_CATALOG_PATH:@XFCE_GLADE_CATALOG_PATH@"
|