bugfix: use env shebbang and requirenments failed to install on external modules.

This commit is contained in:
thedragonsinn
2024-08-18 20:48:01 +05:30
parent edbb4ecfbc
commit a164a73685
5 changed files with 8 additions and 3 deletions

View File

@@ -1,4 +1,4 @@
#!bin/sh
#!/usr/bin/env bash
export PIP_ROOT_USER_ACTION=ignore

2
run
View File

@@ -1,4 +1,4 @@
#!/bin/sh
#!/usr/bin/env bash
if ! [ -d ".git" ] ; then
git init

View File

@@ -1,3 +1,4 @@
#!/usr/bin/env bash
if [ -z "${EXTRA_MODULES_REPO}" ]; then
exit
@@ -7,6 +8,6 @@ echo "Installing External Modules"
git clone -q "${EXTRA_MODULES_REPO}" "app/modules"
pip -q install --no-cache-dir -r req*.txt
pip -q install --no-cache-dir -r app/modules/req*.txt

View File

@@ -1,3 +1,5 @@
#!/usr/bin/env bash
if ! echo "${PATH}" | grep -qi "com.termux"; then
echo "Not a termux Env, Skipping..."
exit

View File

@@ -1,3 +1,5 @@
#!/usr/bin/env bash
dual_mode_arg=""
if [ ! -z "${USE_DUAL_BRANCH}" ]; then