personal directory
This commit is contained in:
parent
a53e52aadb
commit
4779327f75
|
@ -192,6 +192,11 @@ function search_for_attached_usb_drive {
|
||||||
cp -r /media/usb/.emacs.d /home/$MY_USERNAME/.emacs.d
|
cp -r /media/usb/.emacs.d /home/$MY_USERNAME/.emacs.d
|
||||||
chown -R $MY_USERNAME:$MY_USERNAME /home/$MY_USERNAME/.emacs.d
|
chown -R $MY_USERNAME:$MY_USERNAME /home/$MY_USERNAME/.emacs.d
|
||||||
fi
|
fi
|
||||||
|
if [ -d /media/usb/personal ]; then
|
||||||
|
echo 'Importing personal directory'
|
||||||
|
cp -r /media/usb/personal /home/$MY_USERNAME/personal
|
||||||
|
chown -R $MY_USERNAME:$MY_USERNAME /home/$MY_USERNAME/personal
|
||||||
|
fi
|
||||||
fi
|
fi
|
||||||
echo 'search_for_attached_usb_drive' >> $COMPLETION_FILE
|
echo 'search_for_attached_usb_drive' >> $COMPLETION_FILE
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in New Issue