Modifications : etc/nginx/org/heureux-cyclage/install
[lhc/admin.git] / srv / ateliers / etc / nginx / org / heureux-cyclage / install
index 97a4a5a..40857f4 100755 (executable)
@@ -3,9 +3,8 @@
 # DESCRIPTION: install
 
 # ACTION: initialize from ./
-       test -L "$0" && tool="$(readlink -e "$0")" || tool=$0
-       tool=$(readlink -e "${tool%/*}"/...)
-       . "$tool"/lib/tool/admin/lib/install.sh
+       tool=$(readlink -e "${0%/install}"/...)/lib/tool/admin
+       . "$tool"/lib/install.sh
 # ACTION install ./etc/nginx/org/heureux-cyclage/
        content=$("$tool"/cat etc/nginx/org/heureux-cyclage/key.pem)
        "$tool"/ssh-sudo install -d -m 755 -o root -g root \