diff options
| author | Clemens Stadlbauer <ccstadlbauer+github@posteo.de> | 2015-08-29 22:47:50 +0200 |
|---|---|---|
| committer | Clemens Stadlbauer <ccstadlbauer+github@posteo.de> | 2015-08-30 13:30:15 +0200 |
| commit | 3db95ce50ca858dfb2c1977ada8eef6e02c46901 (patch) | |
| tree | 351a8c2daf138f62011e3dc0c1e7ee2fcc37ec03 /src | |
| parent | 64f8bfdd282f15bf8e0f6a12abfadfdcc95fcd4e (diff) | |
Prevented incorrect softlink from being created
If the "autoload" directory softlink has already been created,
"make install" would place a recursive softlink inside it on the
next install, which made future installs fail.
Diffstat (limited to 'src')
| -rw-r--r-- | src/Makefile | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/Makefile b/src/Makefile index 39792d3a..f44d36e1 100644 --- a/src/Makefile +++ b/src/Makefile @@ -62,7 +62,7 @@ install: kak mkdir -p $(sharedir)/rc install -m 0644 ../share/kak/kakrc $(sharedir) install -m 0644 ../rc/* $(sharedir)/rc - ln -s rc $(sharedir)/autoload + [ -e $(sharedir)/autoload ] || ln -s rc $(sharedir)/autoload mkdir -p $(sharedir)/colors install -m 0644 ../colors/* $(sharedir)/colors mkdir -p $(docdir) |
