commit ba1f9b78521993fb2318e88bb2a73a4b5fff9d2f
parent 7ccefa376a73b24b62a20481b91c5768211c0f8e
Author: vagrant <vagrant@debian-10.4-amd64>
Date: Sat, 5 Jun 2021 13:39:19 +0000
bugfixes
Diffstat:
2 files changed, 2 insertions(+), 2 deletions(-)
diff --git a/Makefile b/Makefile
@@ -17,7 +17,7 @@ install:
link:
ln -si ${CURRDIR}/src/${NAME}.py ${DESTBINDIR}/${NAME}
@echo 'WARNING! moving ${CURRDIR}/src/dotfm.py will break this link'
- mkdir -p ${DESKMANDIR}/man1
+ mkdir -p ${DESTMANDIR}/man1
install ${CURRDIR}/src/${NAME}.1 ${DESTMANDIR}/man1/${NAME}.1
ln -si ${DESTMANDIR}/man1/${NAME}.1 /usr/share/man/man1/${NAME}.1
diff --git a/src/dotfm.py b/src/dotfm.py
@@ -180,7 +180,7 @@ def install(dotfile):
location = install_getlocation(known)
aliases = install_getaliases(known)
if not os.path.exists(os.path.dirname(location)):
- os.system('mkdir -vp {}'.format(location))
+ os.system('mkdir -vp {}'.format(os.path.dirname(location)))
if os.path.lexists(location):
install_oca(dotfile, location)
os.system('ln -vs {} {}'.format(dotfile, location))