From 9a523751360e469a89c082d4ba3cde3604d1eb22 Mon Sep 17 00:00:00 2001 From: Florian Fischer Date: Thu, 16 Mar 2017 19:14:25 +0100 Subject: create .local/bin if needed --- setup.py | 3 +++ 1 file changed, 3 insertions(+) diff --git a/setup.py b/setup.py index 631f787..73a5beb 100755 --- a/setup.py +++ b/setup.py @@ -43,6 +43,9 @@ def fish_config(quiet): def dotfile_loc_helper(quiet): """Create a symlink of get_dotfiles_location.sh into the path""" + if not os.path.exists(home_dir+"/.local/bin"): + os.mkdir(home_dir+"/.local/bin") + try: os.symlink(cwd + "/get_dotfiles_location.sh", home_dir + "/.local/bin/get_dotfiles_location") -- cgit v1.2.3