personal directory

This commit is contained in:
Bob Mottram 2014-09-23 19:35:57 +01:00
parent a53e52aadb
commit 4779327f75
1 changed files with 5 additions and 0 deletions

View File

@ -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
} }