diff --git a/replicate.sh b/replicate.sh index fc0dc65..66b8c60 100755 --- a/replicate.sh +++ b/replicate.sh @@ -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"