From 4380e175ebce36d1b40d961b53169721a4890306 Mon Sep 17 00:00:00 2001 From: Salt Date: Wed, 10 Oct 2018 16:46:44 -0500 Subject: [PATCH] Add folder to skeleton layout, force removal of temp folder --- replicate.sh | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) 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"