Update test.sh
This commit is contained in:
9
test.sh
9
test.sh
@@ -1,6 +1,8 @@
|
|||||||
#!/usr/bin/env bash
|
#!/usr/bin/env bash
|
||||||
source /opt/idssys/defaults/colors.inc
|
source /opt/idssys/defaults/colors.inc
|
||||||
source /opt/idssys/defaults/default.inc
|
source /opt/idssys/defaults/default.inc
|
||||||
|
source /opt/idssys/nodemgmt/defaults.inc
|
||||||
|
|
||||||
|
|
||||||
cd /opt/idssys/defaults
|
cd /opt/idssys/defaults
|
||||||
if [ "`git log --pretty=%H ...refs/heads/master^ | head -n 1`" != "`git ls-remote origin -h refs/heads/master |cut -f1`" ]; then
|
if [ "`git log --pretty=%H ...refs/heads/master^ | head -n 1`" != "`git ls-remote origin -h refs/heads/master |cut -f1`" ]; then
|
||||||
@@ -17,7 +19,8 @@ if [ "`git log --pretty=%H ...refs/heads/master^ | head -n 1`" != "`git ls-remot
|
|||||||
fi
|
fi
|
||||||
|
|
||||||
|
|
||||||
for siteconf in /etc/nginx/sites-available/* ; do
|
for srvcopts in "${NM_SRVCOPTS[@]}"
|
||||||
echo "${siteconf}"
|
do
|
||||||
|
echo " [${s}] ${srvcopts~}"
|
||||||
|
s=`expr $s + 1`
|
||||||
done
|
done
|
||||||
|
|||||||
Reference in New Issue
Block a user