make the xdg-autostart script get installed to PREFIX/lib/openbox, and make the autos...
[dana/openbox.git] / data / autostart.sh.in
similarity index 92%
rename from data/autostart.sh
rename to data/autostart.sh.in
index 2334504..62a30e1 100644 (file)
@@ -39,6 +39,6 @@ fi
 # Run XDG autostart things.  By default don't run anything desktop-specific
 # See xdg-autostart --help more info
 DESKTOP_ENV=""
-if which xdg-autostart >/dev/null; then
-  xdg-autostart $DESKTOP_ENV
+if which @secretbindir@/xdg-autostart >/dev/null; then
+  @secretbindir@/xdg-autostart $DESKTOP_ENV
 fi