From 4779327f7541aa048a9e7d3f190ad10e6a514052 Mon Sep 17 00:00:00 2001 From: Bob Mottram Date: Tue, 23 Sep 2014 19:35:57 +0100 Subject: [PATCH] personal directory --- install-freedombone.sh | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/install-freedombone.sh b/install-freedombone.sh index a85061fe..130f670e 100755 --- a/install-freedombone.sh +++ b/install-freedombone.sh @@ -192,6 +192,11 @@ function search_for_attached_usb_drive { cp -r /media/usb/.emacs.d /home/$MY_USERNAME/.emacs.d chown -R $MY_USERNAME:$MY_USERNAME /home/$MY_USERNAME/.emacs.d 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 echo 'search_for_attached_usb_drive' >> $COMPLETION_FILE }