Add folder to skeleton layout, force removal of temp folder
This commit is contained in:
parent
417cdd228b
commit
4380e175eb
@ -40,7 +40,7 @@ done
|
|||||||
|
|
||||||
# Build Home folder skeleton
|
# Build Home folder skeleton
|
||||||
log "Building skeleton folder layout"
|
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
|
# Clone the dotfiles
|
||||||
log "Cloning repository"
|
log "Cloning repository"
|
||||||
@ -55,7 +55,7 @@ fi
|
|||||||
# Move them to where they should be
|
# Move them to where they should be
|
||||||
log "Moving cloned repo from \"$tempfolder\" into \"$homedir\""
|
log "Moving cloned repo from \"$tempfolder\" into \"$homedir\""
|
||||||
rsync -rvl --exclude ".git" "$tempfolder/" "$homedir/" >> "$logfile"
|
rsync -rvl --exclude ".git" "$tempfolder/" "$homedir/" >> "$logfile"
|
||||||
rm -r "$tempfolder"
|
rm -rf "$tempfolder"
|
||||||
rmdir "$tempfolder"
|
rmdir "$tempfolder"
|
||||||
# Finish syncing
|
# Finish syncing
|
||||||
log "Updating submodules and performing basic configuration"
|
log "Updating submodules and performing basic configuration"
|
||||||
|
Loading…
Reference in New Issue
Block a user