Pull request: scripts: make sure wd is set when inistalling
Merge in DNS/adguard-home from 2614-install-wd to master Updates #2614. Squashed commit of the following: commit 8e59fa29138654326a66dbf5d165fa49a5aec46e Author: Ainar Garipov <A.Garipov@AdGuard.COM> Date: Mon Feb 1 13:24:22 2021 +0300 scripts: fix removing commit d199998e4bc0c2d8f1facac5fed30011cae1166e Author: Ainar Garipov <A.Garipov@AdGuard.COM> Date: Mon Feb 1 13:15:51 2021 +0300 scripts: make sure wd is set when inistalling
This commit is contained in:
@@ -230,8 +230,8 @@ main() {
|
||||
|
||||
unpack "${PKG_NAME}" "${OUT_DIR}" "${PKG_EXT}" || error_exit "Cannot unpack the package"
|
||||
|
||||
# Install AdGuard Home service and run it
|
||||
${AGH_DIR}/AdGuardHome -s install || error_exit "Cannot install AdGuardHome as a service"
|
||||
# Install AdGuard Home service and run it.
|
||||
( cd "${AGH_DIR}" && ./AdGuardHome -s install || error_exit "Cannot install AdGuardHome as a service" )
|
||||
|
||||
rm "${PKG_NAME}"
|
||||
|
||||
|
||||
Reference in New Issue
Block a user