Skip to content
Snippets Groups Projects
Commit 99af0af5 authored by Keegan Mullaney's avatar Keegan Mullaney
Browse files

no need to remove directory that doesn't exist

after mv operation, the User directory won't exist in original place
parent 0584e51c
No related branches found
No related tags found
No related merge requests found
Loading
Loading
@@ -99,7 +99,7 @@ qc_set_subl_config() {
 
# remove default user directory if not already a symlink
echo "checking for symlink at $user_dir"
[ -L "$user_dir" ] || { echo "attempting to remove $user_dir" ; rm -rf "$user_dir" ; echo "creating symlink from $user_dir to $conf_dir" ; ln -s "$conf_dir" "$user_dir" ; }
[ -L "$user_dir" ] || { echo "creating symlink from $user_dir to $conf_dir" ; ln -s "$conf_dir" "$user_dir" ; }
 
# update or clone repository if symbolic link exists for User directory
if [ -d "$repo_dir" ]; then
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment