mirror of
https://github.com/YunoHost-Apps/archivebox_ynh.git
synced 2024-09-03 18:15:54 +02:00
Test activating virtualenv in install
This commit is contained in:
parent
f6b141b18c
commit
fae39011a7
1 changed files with 6 additions and 0 deletions
|
@ -179,6 +179,11 @@ chown -R $app:www-data "$datadir"
|
||||||
#=================================================
|
#=================================================
|
||||||
# INITIALIZE ARCHIVEBOX
|
# INITIALIZE ARCHIVEBOX
|
||||||
#=================================================
|
#=================================================
|
||||||
|
(
|
||||||
|
set +o nounset
|
||||||
|
source "${final_path}/venv/bin/activate"
|
||||||
|
set -o nounset
|
||||||
|
|
||||||
ynh_script_progression --message="Initializing Archivebox" --weight=1
|
ynh_script_progression --message="Initializing Archivebox" --weight=1
|
||||||
cd $datadir && ynh_exec_as $app $archivebox_cmd init
|
cd $datadir && ynh_exec_as $app $archivebox_cmd init
|
||||||
|
|
||||||
|
@ -217,6 +222,7 @@ fi
|
||||||
|
|
||||||
ynh_script_progression --message="Finishing Archivebox Setup" --weight=1
|
ynh_script_progression --message="Finishing Archivebox Setup" --weight=1
|
||||||
cd $datadir && ynh_exec_as $app $archivebox_cmd init --setup
|
cd $datadir && ynh_exec_as $app $archivebox_cmd init --setup
|
||||||
|
)
|
||||||
|
|
||||||
#=================================================
|
#=================================================
|
||||||
# ADD A CONFIGURATION
|
# ADD A CONFIGURATION
|
||||||
|
|
Loading…
Add table
Reference in a new issue