summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--extra/lxde/Pkgfile8
1 files changed, 5 insertions, 3 deletions
diff --git a/extra/lxde/Pkgfile b/extra/lxde/Pkgfile
index 4afca27e7..233055811 100644
--- a/extra/lxde/Pkgfile
+++ b/extra/lxde/Pkgfile
@@ -7,7 +7,7 @@
name=lxde
version=0.5.0
-release=2
+release=3
source=(lxde.desktop LXDE.xinitrc)
build() {
@@ -16,7 +16,9 @@ $PKG/usr/share/xsessions/lxde.desktop
install -D -m644 LXDE.xinitrc \
$PKG/etc/X11/dm/LXDE.xinitrc
mkdir -p $PKG/etc/qingy/sessions
-echo "userclientrc=/etc/X11/dm/LXDE.xinitrc /usr/bin/startx.qingy" > \
-$PKG/etc/qingy/sessions/LXDE
+cat > $PKG/etc/qingy/sessions/LXDE << "EOF"
+source /etc/profile
+userclientrc=/etc/X11/dm/LXDE.xinitrc /usr/bin/startx.qingy
+EOF
chmod 755 $PKG/etc/qingy/sessions/LXDE
}