Fix incorrect path to pcmanfm.conf file in startlxde script.
authorAndriy Grytsenko <andrej@rep.kiev.ua>
Mon, 1 Sep 2014 14:03:38 +0000 (17:03 +0300)
committerAndriy Grytsenko <andrej@rep.kiev.ua>
Mon, 1 Sep 2014 14:03:38 +0000 (17:03 +0300)
startlxde.in

index a748f7a..ffdb722 100755 (executable)
@@ -8,7 +8,7 @@ fi
 PCMANFM_CONF_DIR="$XDG_CONFIG_HOME/pcmanfm/LXDE"
 if [ ! -f "$PCMANFM_CONF_DIR/pcmanfm.conf" ]; then
        mkdir -p "$PCMANFM_CONF_DIR"
-       cp @prefix@/share/lxde/pcmanfm/pcmanfm.conf "$PCMANFM_CONF_DIR/pcmanfm.conf"
+       cp @sysconfdir@/xdg/pcmanfm/LXDE/pcmanfm.conf "$PCMANFM_CONF_DIR/pcmanfm.conf"
 fi
 
 # Ensure the existance of openbox config file