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/
shopt -s nullglob
list=(./extensions/*/requirements.txt)
for req in "${list[@]}"; do
pip install -r "$req"
list=(./extensions/*/install.py)
for installscript in "${list[@]}"; do
PYTHONPATH=${ROOT} python "$installscript"
done
if [ -f "/data/config/auto/startup.sh" ]; then