X-Git-Url: https://iankelling.org/git/?p=automated-distro-installer;a=blobdiff_plain;f=fai%2Fconfig%2Fscripts%2FDEMO%2F10-misc;h=d77c048514f3971b377f91ba45771f6d484e42f6;hp=42f47494164fcbb569472457b139ef586748738f;hb=0f532bb1fcccbef349748700040318f882a2ac40;hpb=f8e7e925a0eba5b0091354ccf26842bcfda9b84e diff --git a/fai/config/scripts/DEMO/10-misc b/fai/config/scripts/DEMO/10-misc index 42f4749..d77c048 100755 --- a/fai/config/scripts/DEMO/10-misc +++ b/fai/config/scripts/DEMO/10-misc @@ -24,7 +24,7 @@ if [ -n "$username" ]; then # disable xfce question about default or empty panel if [ -f $target/etc/xdg/xfce4/panel/default.xml ]; then xfdir=$userdir/.config/xfce4/xfconf/xfce-perchannel-xml - if [ ! -d $target/xfdir ]; then + if [ ! -d $target/$xfdir ]; then $ROOTCMD mkdir -p $xfdir $ROOTCMD cp /etc/xdg/xfce4/panel/default.xml $xfdir/xfce4-panel.xml # group name is the same as user name