summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rwxr-xr-xnew/scripts/vyos-1x.sh6
1 files changed, 5 insertions, 1 deletions
diff --git a/new/scripts/vyos-1x.sh b/new/scripts/vyos-1x.sh
index 5a59385..f0b8451 100755
--- a/new/scripts/vyos-1x.sh
+++ b/new/scripts/vyos-1x.sh
@@ -26,4 +26,8 @@ if [ -d ../strongswan/ ]; then
sudo sh -c 'eval $(opam env --root=/opt/opam --set-root); opam init --auto-setup && opam install pcre2 -y'
fi
-python3 ./build.py
+if [ -f ./build.py ]; then
+ python3 ./build.py
+else
+ /my-build-scripts/generic-build-script.sh
+fi