mirror of
https://github.com/YunoHost-Apps/invidious_ynh.git
synced 2024-09-03 19:15:55 +02:00
Update install
This commit is contained in:
parent
f5cd2082cd
commit
4a1403b397
1 changed files with 12 additions and 12 deletions
|
@ -50,18 +50,6 @@ ynh_setup_source --dest_dir="$install_dir"
|
||||||
chmod -R o-rwx "$install_dir"
|
chmod -R o-rwx "$install_dir"
|
||||||
chown -R "$app:www-data" "$install_dir"
|
chown -R "$app:www-data" "$install_dir"
|
||||||
|
|
||||||
#=================================================
|
|
||||||
# SPECIFIC SETUP
|
|
||||||
#=================================================
|
|
||||||
# INSTALL INVIDIOUS
|
|
||||||
#=================================================
|
|
||||||
ynh_script_progression --message="Building Invidious.. (this will take some time and resources!)" --weight=60
|
|
||||||
|
|
||||||
pushd "$install_dir"
|
|
||||||
make
|
|
||||||
./invidious --migrate
|
|
||||||
popd
|
|
||||||
|
|
||||||
#=================================================
|
#=================================================
|
||||||
# MODIFY A CONFIG FILE
|
# MODIFY A CONFIG FILE
|
||||||
#=================================================
|
#=================================================
|
||||||
|
@ -72,6 +60,18 @@ ynh_add_config --template="config.yml" --destination="$install_dir/config/config
|
||||||
chmod 600 "$install_dir/config/config.yml"
|
chmod 600 "$install_dir/config/config.yml"
|
||||||
chown "$app:$app" "$install_dir/config/config.yml"
|
chown "$app:$app" "$install_dir/config/config.yml"
|
||||||
|
|
||||||
|
#=================================================
|
||||||
|
# SPECIFIC SETUP
|
||||||
|
#=================================================
|
||||||
|
# INSTALL INVIDIOUS
|
||||||
|
#=================================================
|
||||||
|
ynh_script_progression --message="Building Invidious... (this will take some time and resources!)" --weight=60
|
||||||
|
|
||||||
|
pushd "$install_dir"
|
||||||
|
make
|
||||||
|
./invidious --migrate
|
||||||
|
popd
|
||||||
|
|
||||||
#=================================================
|
#=================================================
|
||||||
# SYSTEM CONFIGURATION
|
# SYSTEM CONFIGURATION
|
||||||
#=================================================
|
#=================================================
|
||||||
|
|
Loading…
Reference in a new issue