Sophie

Sophie

distrib > Mageia > 5 > x86_64 > by-pkgid > 82e62c2ca007e2a04007f1affdf11144 > files > 10

lxde-common-0.99.0-9.2.mga5.src.rpm

--- lxde-common-0.99.0/startlxde.in	2014-10-23 16:08:00.000000000 +0200
+++ lxde-common-0.5.6/startlxde.in	2014-09-01 16:17:11.000000000 +0200
@@ -4,6 +4,13 @@
 	export XDG_CONFIG_HOME="$HOME/.config"
 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