summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--Makefile.am4
-rwxr-xr-xdata/autostart/openbox-autostart.in2
2 files changed, 3 insertions, 3 deletions
diff --git a/Makefile.am b/Makefile.am
index f57a7703..c3feae6c 100644
--- a/Makefile.am
+++ b/Makefile.am
@@ -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)!'
diff --git a/data/autostart/openbox-autostart.in b/data/autostart/openbox-autostart.in
index 3b2f5ec5..4c4b91b9 100755
--- a/data/autostart/openbox-autostart.in
+++ b/data/autostart/openbox-autostart.in
@@ -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