4
DESCRIPTION="Preparing for maybe-ubiquity mode..."
6
. /scripts/casper-functions
21
log_begin_msg "$DESCRIPTION"
23
#should cover both maybe-ubiquity and only-ubiquity and automatic-ubiquity modes
24
if grep "ubiquity" /proc/cmdline >/dev/null; then
25
mkdir -p /root/home/$USERNAME/.config
26
cp -R /root/etc/xdg/xdg-xubuntu/xfce4 /root/home/$USERNAME/.config
27
chroot /root chown -R $USERNAME:$USERNAME /home/$USERNAME/.config