Browse Source

Correct some order of operations in make install

develop
Jansen Price 5 months ago
parent
commit
33ab4eecdc
1 changed files with 3 additions and 3 deletions
  1. +3
    -3
      Makefile

+ 3
- 3
Makefile View File

@ -24,7 +24,7 @@ test:
install_bin:
@echo
@echo "$(ccyellow)> Installing orbit bin$(ccend)"
rm $(EXEC_PATH)
rm -f $(EXEC_PATH)
ln -s $(_path)/bin/orbit $(EXEC_PATH)
install_conf:
@ -53,7 +53,7 @@ install_user:
ifeq ($(shell id -u $(_user) 2>/dev/null),)
@echo
@echo "$(ccyellow)> Creating user $(_user)$(ccend)"
useradd -m -d /var/$(_user) -s /usr/sbin/nologin -c "Orbit gemini service account" -U $(_user)
useradd -m -d /var/gemini -s /usr/sbin/nologin -c "Orbit gemini service account" -U $(_user)
endif
install_service:
@ -62,7 +62,7 @@ install_service:
install orbit.service $(SERVICE_PATH)
sed -i -e 's/{USER}/$(_user)/' $(SERVICE_PATH)
install: install_bin install_conf install_cert install_user install_service
install: install_bin install_user install_conf install_cert install_service
@echo
@echo "--------------------------------"
@echo "done"


Loading…
Cancel
Save