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.
This commit is contained in:
parent
64f8bfdd28
commit
3db95ce50c
|
@ -62,7 +62,7 @@ install: kak
|
||||||
mkdir -p $(sharedir)/rc
|
mkdir -p $(sharedir)/rc
|
||||||
install -m 0644 ../share/kak/kakrc $(sharedir)
|
install -m 0644 ../share/kak/kakrc $(sharedir)
|
||||||
install -m 0644 ../rc/* $(sharedir)/rc
|
install -m 0644 ../rc/* $(sharedir)/rc
|
||||||
ln -s rc $(sharedir)/autoload
|
[ -e $(sharedir)/autoload ] || ln -s rc $(sharedir)/autoload
|
||||||
mkdir -p $(sharedir)/colors
|
mkdir -p $(sharedir)/colors
|
||||||
install -m 0644 ../colors/* $(sharedir)/colors
|
install -m 0644 ../colors/* $(sharedir)/colors
|
||||||
mkdir -p $(docdir)
|
mkdir -p $(docdir)
|
||||||
|
|
Loading…
Reference in New Issue
Block a user