Set install script to new run_directory norm

This commit is contained in:
Alexandre CATTEAU 2022-09-22 18:56:09 +02:00
parent 2b93a250c6
commit 5c4863377c

View File

@ -1,6 +1,6 @@
#!/usr/bin/env bash #!/usr/bin/env bash
run_directory=$(dirname "$0") run_directory=$(dirname $(readlink -f "$0"))
if [ -f $run_directory/.disabled ]; then if [ -f $run_directory/.disabled ]; then
echo "Installation is disabled. Exiting..." echo "Installation is disabled. Exiting..."