Modify installation extension dependencies

Perform a full extension installation process instead of just installing dependencies
This commit is contained in:
神楽坂·喵 2023-06-25 16:05:28 +08:00 committed by GitHub
parent cdde93b8bb
commit 880c7874ec
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -57,9 +57,9 @@ chown -R root ~/.cache/
chmod 766 ~/.cache/ chmod 766 ~/.cache/
shopt -s nullglob shopt -s nullglob
list=(./extensions/*/requirements.txt) list=(./extensions/*/install.py)
for req in "${list[@]}"; do for installscript in "${list[@]}"; do
pip install -r "$req" PYTHONPATH=${ROOT} python "$installscript"
done done
if [ -f "/data/config/auto/startup.sh" ]; then if [ -f "/data/config/auto/startup.sh" ]; then