From 5ac37b6b1712d3d98d694daf96a45b077f50fbaf Mon Sep 17 00:00:00 2001 From: Andrew Cady Date: Sun, 24 Oct 2021 19:29:14 -0400 Subject: fix bug that prevented install also removed 'run' target --- EndoForge/Makefile | 5 +---- 1 file changed, 1 insertion(+), 4 deletions(-) diff --git a/EndoForge/Makefile b/EndoForge/Makefile index 6739edd..938c849 100644 --- a/EndoForge/Makefile +++ b/EndoForge/Makefile @@ -68,10 +68,7 @@ install-root: install-user-config $(ROOT_INSTALL) -d "$(SSH_CONFIG_DIR)" "$(SSHD_CONFIG_DIR)" "$(SSH_LIB_DIR)" || true $(ROOT_INSTALL) -m0644 -t "$(SSHD_CONFIG_DIR)" $(SRC)/anonymous-access.conf || true $(ROOT_INSTALL) -t "$(SSH_LIB_DIR)" $(SRC)/AuthorizedKeysCommand || true - [ -e "$(SSH_LIB_DIR)"/AuthorizedKeysCommand ] || $(SUDO) ln -s -t /etc/ssh "$(SSH_LIB_DIR)"/AuthorizedKeysCommand - -run: install-user - /usr/sbin/sshd -D -e -f ~/.ssh/sshd_config + [ -e /etc/ssh/AuthorizedKeysCommand ] || $(SUDO) ln -s -t /etc/ssh "$(SSH_LIB_DIR)"/AuthorizedKeysCommand README.html: README.md pandoc --metadata 'EndoForge - A self-forge in any git repository' -s --css "$(SRC)"/style.css -t html $< -o $@ -- cgit v1.2.3