Sophie

Sophie

distrib > Mageia > 6 > i586 > by-pkgid > 3b73981b0707f2b4bf2beb867d2bcc41 > files > 14

lxde-common-0.99.2-1.mga6.src.rpm

--- lxde-common-0.99.2/startlxde.in~	2016-11-21 23:47:05.000000000 +0100
+++ lxde-common-0.99.2/startlxde.in	2016-11-22 09:34:27.830372625 +0100
@@ -4,6 +4,13 @@
 	export XDG_DATA_HOME="$HOME/.local/share"
 fi
 
+# Ensure the existance of pcmanfm config file
+PCMANFM_CONF_DIR="$XDG_CONFIG_HOME/pcmanfm/LXDE"
+if [ ! -f "$PCMANFM_CONF_DIR/pcmanfm.conf" ]; then
+	mkdir -p "$PCMANFM_CONF_DIR"
+	cp @sysconfdir@/xdg/pcmanfm/LXDE/pcmanfm.conf "$PCMANFM_CONF_DIR/pcmanfm.conf"
+fi
+
 # Ensure the existance of openbox config file
 OPENBOX_CONF_DIR="$XDG_CONFIG_HOME/openbox"
 if [ ! -f "$OPENBOX_CONF_DIR/lxde-rc.xml" ]; then