#!/bin/bash branch=${1-main} apt -y install curl wget curl https://raw.githubusercontent.com/hellohostcp/hellohostcp/$branch/src/hst_autocompile.sh > /tmp/hst_autocompile.sh chmod +x /tmp/hst_autocompile.sh mkdir -p /opt/hellohostcp # Building HelloHost if bash /tmp/hst_autocompile.sh --hellohost --noinstall --keepbuild $branch; then cp /tmp/hellohostcp-src/deb/*.deb /opt/hellohostcp/ fi # Building PHP if bash /tmp/hst_autocompile.sh --php --noinstall --keepbuild $branch; then cp /tmp/hellohostcp-src/deb/*.deb /opt/hellohostcp/ fi # Building NGINX if bash /tmp/hst_autocompile.sh --nginx --noinstall --keepbuild $branch; then cp /tmp/hellohostcp-src/deb/*.deb /opt/hellohostcp/ fi