diff --git a/README.md b/README.md index f3b1976..65a44ba 100644 --- a/README.md +++ b/README.md @@ -22,7 +22,7 @@ On a fresh install as root user using `git clone https://gitea.valentin-le-moign.fr/val/deployment_dcdn_static` -`cd deployment-dcdn` +`cd deployment-dcdn_static` `chmod u+x install.sh` diff --git a/install.sh b/install.sh index 29d892c..e79e7ef 100644 --- a/install.sh +++ b/install.sh @@ -21,7 +21,7 @@ if [ "$EUID" -ne 0 ]; then exit fi -if [ "$(dirname "$0")" != "$(pwd)" ]; then +if [ "$(dirname "$(readlink -f "$0")")" != "$(pwd)" ]; then echo "Please run this script from its directory." exit fi