mirror of
https://github.com/YunoHost-Apps/mautrix_telegram_ynh.git
synced 2024-09-03 19:45:55 +02:00
always export home
Co-authored-by: Alexandre Aubin <alex.aubin@mailoo.org>
This commit is contained in:
parent
e5d1e26d99
commit
7e6b841b49
1 changed files with 1 additions and 3 deletions
|
@ -189,9 +189,7 @@ write_bridge_config
|
||||||
mkdir -p /var/log/$app
|
mkdir -p /var/log/$app
|
||||||
# Configure Mautrix-Bridge
|
# Configure Mautrix-Bridge
|
||||||
python3 -m venv $final_path
|
python3 -m venv $final_path
|
||||||
if [ -z $HOME ]; then
|
export HOME=$final_path # HACK see https://github.com/mautrix/telegram/issues/661
|
||||||
HOME=$final_path # HACK see https://github.com/mautrix/telegram/issues/661
|
|
||||||
fi
|
|
||||||
$final_path/bin/pip3 install --upgrade setuptools wheel # HACK fixes "error: invalid command 'bdist_wheel'"
|
$final_path/bin/pip3 install --upgrade setuptools wheel # HACK fixes "error: invalid command 'bdist_wheel'"
|
||||||
$final_path/bin/pip3 install --upgrade $final_path/src/mautrix-telegram.tar.gz[postgres,speedups,qr_login] # metrics,hq_thumbnails,e2be
|
$final_path/bin/pip3 install --upgrade $final_path/src/mautrix-telegram.tar.gz[postgres,speedups,qr_login] # metrics,hq_thumbnails,e2be
|
||||||
# -r optional-requirements.txt
|
# -r optional-requirements.txt
|
||||||
|
|
Loading…
Add table
Reference in a new issue