diff options
-rwxr-xr-x | install_meson.py | 12 |
1 files changed, 12 insertions, 0 deletions
diff --git a/install_meson.py b/install_meson.py index 04d5ec1..59cb3f3 100755 --- a/install_meson.py +++ b/install_meson.py @@ -80,6 +80,18 @@ try: except OSError: pass print('Creating symlinks %s and %s.' % (bin_name, gui_name)) +try: + os.unlink(bin_name) +except FileNotFoundError: + pass +try: + os.unlink(gui_name) +except FileNotFoundError: + pass +try: + os.unlink(conf_name) +except FileNotFoundError: + pass os.symlink(symlink_value, bin_name) os.symlink(guisymlink_value, gui_name) os.symlink(confsymlink_value, conf_name) |