summaryrefslogtreecommitdiffstats
path: root/extra
diff options
context:
space:
mode:
Diffstat (limited to 'extra')
-rw-r--r--extra/openbox/Pkgfile9
1 files changed, 6 insertions, 3 deletions
diff --git a/extra/openbox/Pkgfile b/extra/openbox/Pkgfile
index ecf7f1fe4..87a4fdb04 100644
--- a/extra/openbox/Pkgfile
+++ b/extra/openbox/Pkgfile
@@ -6,7 +6,7 @@
name=openbox
version=3.4.11.2
-release=1
+release=2
source=(http://icculus.org/openbox/releases/$name-$version.tar.gz \
openbox.xinitrc)
@@ -22,8 +22,11 @@ make DESTDIR=$PKG install
install -D -m644 ../openbox.xinitrc \
$PKG/etc/X11/dm/openbox.xinitrc
mkdir -p $PKG/etc/qingy/sessions
-echo "userclientrc=/etc/X11/dm/openbox.xinitrc /usr/bin/startx.qingy" > \
-$PKG/etc/qingy/sessions/openbox
+cat > $PKG/etc/qingy/sessions/openbox << "EOF"
+source /etc/profile
+userclientrc=/etc/X11/dm/openbox.xinitrc /usr/bin/startx.qingy
+EOF
+
chmod 755 $PKG/etc/qingy/sessions/openbox
}