refactor: remove unnecessary package installations from app install scripts
This commit is contained in:
@@ -26,7 +26,6 @@ mkdir -p "${BOOTSTRAP_DIR}"
|
|||||||
source /var/excloud/scripts/caddy-setup.sh
|
source /var/excloud/scripts/caddy-setup.sh
|
||||||
setup_initializing_page "$DOMAIN" "$APP_NAME" "$BOOTSTRAP_DIR"
|
setup_initializing_page "$DOMAIN" "$APP_NAME" "$BOOTSTRAP_DIR"
|
||||||
|
|
||||||
apt-get install -y git openssl
|
|
||||||
|
|
||||||
if git -C "${ERPNEXT_DIR}" rev-parse 2>/dev/null; then
|
if git -C "${ERPNEXT_DIR}" rev-parse 2>/dev/null; then
|
||||||
echo "Git repo exists"
|
echo "Git repo exists"
|
||||||
|
|||||||
@@ -24,7 +24,6 @@ mkdir -p "${BOOTSTRAP_DIR}"
|
|||||||
source /var/excloud/scripts/caddy-setup.sh
|
source /var/excloud/scripts/caddy-setup.sh
|
||||||
setup_initializing_page "$DOMAIN" "$APP_NAME" "$BOOTSTRAP_DIR"
|
setup_initializing_page "$DOMAIN" "$APP_NAME" "$BOOTSTRAP_DIR"
|
||||||
|
|
||||||
apt-get install -y git openssl
|
|
||||||
|
|
||||||
if [ ! -d "${GHOST_DIR}/.git" ]; then
|
if [ ! -d "${GHOST_DIR}/.git" ]; then
|
||||||
git clone "${REPO_URL}" "${GHOST_DIR}"
|
git clone "${REPO_URL}" "${GHOST_DIR}"
|
||||||
|
|||||||
@@ -23,7 +23,6 @@ mkdir -p "${BOOTSTRAP_DIR}"
|
|||||||
source /var/excloud/scripts/caddy-setup.sh
|
source /var/excloud/scripts/caddy-setup.sh
|
||||||
setup_initializing_page "$DOMAIN" "$APP_NAME" "$BOOTSTRAP_DIR"
|
setup_initializing_page "$DOMAIN" "$APP_NAME" "$BOOTSTRAP_DIR"
|
||||||
|
|
||||||
apt-get install -y git openssl
|
|
||||||
|
|
||||||
if [ ! -d "${OPENCLAW_DIR}/.git" ]; then
|
if [ ! -d "${OPENCLAW_DIR}/.git" ]; then
|
||||||
git clone "${REPO_URL}" "${OPENCLAW_DIR}"
|
git clone "${REPO_URL}" "${OPENCLAW_DIR}"
|
||||||
|
|||||||
@@ -23,7 +23,6 @@ mkdir -p "${BOOTSTRAP_DIR}"
|
|||||||
source /var/excloud/scripts/caddy-setup.sh
|
source /var/excloud/scripts/caddy-setup.sh
|
||||||
setup_initializing_page "$DOMAIN" "$APP_NAME" "$BOOTSTRAP_DIR"
|
setup_initializing_page "$DOMAIN" "$APP_NAME" "$BOOTSTRAP_DIR"
|
||||||
|
|
||||||
apt-get install -y git
|
|
||||||
|
|
||||||
if [ ! -d "${PICOCLAW_DIR}/.git" ]; then
|
if [ ! -d "${PICOCLAW_DIR}/.git" ]; then
|
||||||
git clone "${REPO_URL}" "${PICOCLAW_DIR}"
|
git clone "${REPO_URL}" "${PICOCLAW_DIR}"
|
||||||
|
|||||||
@@ -25,7 +25,6 @@ mkdir -p "${BOOTSTRAP_DIR}"
|
|||||||
source /var/excloud/scripts/caddy-setup.sh
|
source /var/excloud/scripts/caddy-setup.sh
|
||||||
setup_initializing_page "$DOMAIN" "$APP_NAME" "$BOOTSTRAP_DIR"
|
setup_initializing_page "$DOMAIN" "$APP_NAME" "$BOOTSTRAP_DIR"
|
||||||
|
|
||||||
apt-get install -y git openssl
|
|
||||||
|
|
||||||
if [ ! -d "${PLAUSIBLE_DIR}/.git" ]; then
|
if [ ! -d "${PLAUSIBLE_DIR}/.git" ]; then
|
||||||
git clone -b "${REPO_REF}" --single-branch "${REPO_URL}" "${PLAUSIBLE_DIR}"
|
git clone -b "${REPO_REF}" --single-branch "${REPO_URL}" "${PLAUSIBLE_DIR}"
|
||||||
|
|||||||
Reference in New Issue
Block a user