X-Git-Url: https://git.cyclocoop.org/?p=lhc%2Fateliers.git;a=blobdiff_plain;f=etc%2Fnginx%2Fsite.d%2Flhc-remorque%2Flocal.sh;h=0824349a96ac5bff34c5a0c5f7b81afd83173058;hp=ee73d00c75e619ea774ad1367f1e55d7aac9e18b;hb=a11ad78672a096632b15a660509d7dd5f7c5eae5;hpb=0d705d8e2a919ee40866307aa3e18b1a5c4e7583 diff --git a/etc/nginx/site.d/lhc-remorque/local.sh b/etc/nginx/site.d/lhc-remorque/local.sh index ee73d00..0824349 100644 --- a/etc/nginx/site.d/lhc-remorque/local.sh +++ b/etc/nginx/site.d/lhc-remorque/local.sh @@ -1,6 +1,6 @@ -sudo test -f /etc/nginx/x509.d/\"$site\"/key.pem && -sudo test -f ~wiki-$site/etc/ssh/id_rsa || -printf '%s\n' "$(tput rev)run before: remote/runit-configure nginx -- $site$(tput sgr0)" && exit 1 +hint="run before: remote/runit-configure nginx -- $site" +assert "sudo test -f /etc/nginx/x509.d/\"$site\"/key.pem" hint +assert "sudo test -f ~wiki-$site/etc/ssh/id_rsa" hint "$tool"/local/apt-get-install ikiwiki \ libsearch-xapian-perl