Pagina copie sitoctt, aggiornamento pagina open source, + varie

This commit is contained in:
2024-12-01 22:21:13 +01:00
parent f84f935eca
commit edac8fb404
7 changed files with 76 additions and 8 deletions

5
Scripts/Build.Termux.sh Normal file
View File

@ -0,0 +1,5 @@
#!/bin/sh
. "$(dirname "$(realpath "$0")")/Lib/Globals.sh"
cd "${swd}/.."
sh "${swd}/Build.sh" --noBuildLock serve
cd "${owd}"

View File

@ -11,14 +11,14 @@ hugoexternal=true
if [ -n "$(which apt)" ]
then
asroot apt update
asroot apt install -y python3 python-pip nodejs findutils git wget tar gzip
asroot apt install -y python3 nodejs findutils git wget tar gzip
if [ "$(uname -o)" != Android ]
then
# Debian(s)
asroot apt install -y npm p7zip-full
asroot apt install -y python3-pip npm p7zip-full
else
# Termux
asroot apt install -y hugo p7zip
asroot apt install -y hugo python-pip p7zip
hugoexternal=false
fi
elif [ -n "$(which apk)" ]