Licenses: Updated the list of licenses and added a PDF containing all license texts
[check_mk.git] / .werks / .f12
blobed4cc9f02f62c5872751325de19112677b7d211e
1 #!/bin/bash
2 set -e
4 SITE=${SITE:-$(cat ../.site 2>/dev/null || true)}
5 SITE=${SITE:-$(omd sites --bare | head -n 1)}
6 ROOT=/omd/sites/$SITE
8 sudo mkdir -p $ROOT/share/check_mk/werks/
9 make -C .. .werks/werks
10 sudo install -m 644 -g $SITE -o $SITE werks $ROOT/share/check_mk/werks/werks
12 if [ -z $ONLY_COPY ]; then
13 sudo omd restart $SITE apache