fix global autostart installation, and the pointer to it so it is run

This commit is contained in:
Dana Jansens 2011-03-30 11:13:06 -04:00
parent 007f0917b8
commit 6624d06dd1
2 changed files with 3 additions and 3 deletions

View file

@ -47,8 +47,7 @@ nodist_rc_SCRIPTS = \
data/autostart/autostart
dist_libexec_SCRIPTS = \
data/autostart/openbox-xdg-autostart \
data/autostart/openbox-autostart
data/autostart/openbox-xdg-autostart
nodist_libexec_SCRIPTS = \
data/autostart/openbox-autostart
@ -468,6 +467,7 @@ dist_rc_DATA = \
edit = $(SED) \
-e 's!@version\@!$(VERSION)!' \
-e 's!@configdir\@!$(configdir)!' \
-e 's!@rcdir\@!$(rcdir)!' \
-e 's!@libexecdir\@!$(libexecdir)!' \
-e 's!@bindir\@!$(bindir)!'

View file

@ -11,7 +11,7 @@ elif which xsetroot >/dev/null; then
fi
test -z $BG || $BG -solid "#303030"
GLOBALAUTOSTART="@configdir@/autostart"
GLOBALAUTOSTART="@rcdir@/autostart"
AUTOSTART="${XDG_CONFIG_HOME:-"$HOME/.config"}/openbox/autostart"
# Run the global openbox autostart script