mirror of
https://github.com/YunoHost-Apps/archivebox_ynh.git
synced 2024-09-03 18:15:54 +02:00
Add youtube-dl nodejs and npm as dependencies
This commit is contained in:
parent
fae39011a7
commit
4ae13189f6
2 changed files with 3 additions and 8 deletions
|
@ -5,7 +5,8 @@
|
|||
#=================================================
|
||||
|
||||
# dependencies used by the app
|
||||
pkg_dependencies="python3-venv expect"
|
||||
pkg_dependencies="python3-venv expect youtube-dl nodejs np\
|
||||
m"
|
||||
|
||||
#=================================================
|
||||
# PERSONAL HELPERS
|
||||
|
|
|
@ -93,7 +93,7 @@ ynh_app_setting_set --app=$app --key=port --value=$port
|
|||
#=================================================
|
||||
# INSTALL DEPENDENCIES
|
||||
#=================================================
|
||||
ynh_script_progression --message="Installing dependencies..." --weight=1
|
||||
ynh_script_progression --message="Installing dependencies..." --weight=8
|
||||
|
||||
ynh_install_app_dependencies $pkg_dependencies
|
||||
|
||||
|
@ -179,11 +179,6 @@ chown -R $app:www-data "$datadir"
|
|||
#=================================================
|
||||
# INITIALIZE ARCHIVEBOX
|
||||
#=================================================
|
||||
(
|
||||
set +o nounset
|
||||
source "${final_path}/venv/bin/activate"
|
||||
set -o nounset
|
||||
|
||||
ynh_script_progression --message="Initializing Archivebox" --weight=1
|
||||
cd $datadir && ynh_exec_as $app $archivebox_cmd init
|
||||
|
||||
|
@ -222,7 +217,6 @@ fi
|
|||
|
||||
ynh_script_progression --message="Finishing Archivebox Setup" --weight=1
|
||||
cd $datadir && ynh_exec_as $app $archivebox_cmd init --setup
|
||||
)
|
||||
|
||||
#=================================================
|
||||
# ADD A CONFIGURATION
|
||||
|
|
Loading…
Add table
Reference in a new issue