Add folder to skeleton layout, force removal of temp folder

This commit is contained in:
Salt 2018-10-10 16:46:44 -05:00
parent 417cdd228b
commit 4380e175eb

View File

@ -40,7 +40,7 @@ done
# Build Home folder skeleton
log "Building skeleton folder layout"
mkdir Desktop Documents Downloads Games Music Pictures Projects System Videos
mkdir Desktop Documents Downloads Games Music Pictures Projects ROMs System Videos
# Clone the dotfiles
log "Cloning repository"
@ -55,7 +55,7 @@ fi
# Move them to where they should be
log "Moving cloned repo from \"$tempfolder\" into \"$homedir\""
rsync -rvl --exclude ".git" "$tempfolder/" "$homedir/" >> "$logfile"
rm -r "$tempfolder"
rm -rf "$tempfolder"
rmdir "$tempfolder"
# Finish syncing
log "Updating submodules and performing basic configuration"