dotfm

My dotfile manager
git clone git://src.gearsix.net/dotfm
Log | Files | Refs | Atom | README | LICENSE

commit e7817dea288f2362a20a69715c5f3befe3885e1c
parent 4400205b685f7d4ef691631a18d024da85f90937
Author: GeaRSiX <gearsix@tuta.io>
Date:   Tue, 28 Jul 2020 15:33:35 +0100

added -i to ln & rm in Makefile

Diffstat:
MMakefile | 8++++----
1 file changed, 4 insertions(+), 4 deletions(-)

diff --git a/Makefile b/Makefile @@ -11,15 +11,15 @@ none: install: install -pDm755 ${CURRDIR}/src/${NAME}.py ${DESTBINDIR}/${NAME} install ${CURRDIR}/src/${NAME}.1 ${DESTMANDIR}/man1/${NAME}.1 - ln -s ${DESTMANDIR}/man1/${NAME}.1 /usr/share/man/man1/${NAME}1 + ln -si ${DESTMANDIR}/man1/${NAME}.1 /usr/share/man/man1/${NAME}1 link: - ln -s ${CURRDIR}/src/${NAME}.py ${DESTDIR}/${NAME} + ln -si ${CURRDIR}/src/${NAME}.py ${DESTDIR}/${NAME} @echo 'WARNING! moving ${CURRDIR}/src/dotfm.py will break this link' install ${CURRDIR}/src/${NAME}.1 ${DESTMANDIR}/man1/${NAME}.1 - ln -s ${DESTMANDIR}/man1/${NAME}.1 /usr/share/man/man1/${NAME}1 + ln -si ${DESTMANDIR}/man1/${NAME}.1 /usr/share/man/man1/${NAME}1 uninstall: - rm -f ${DESTDIR}/${NAME} + rm -i ${DESTDIR}/${NAME} .PHONY: all none install link uninstall