mirror of
https://github.com/YunoHost-Apps/invidious_ynh.git
synced 2024-09-03 19:15:55 +02:00
Fix
This commit is contained in:
parent
8238f425be
commit
3528dd1e51
2 changed files with 3 additions and 3 deletions
|
@ -121,10 +121,10 @@ ynh_add_nginx_config
|
||||||
#=================================================
|
#=================================================
|
||||||
ynh_script_progression --message="Building Invidious... (this will take some time and resources!)" --weight=10
|
ynh_script_progression --message="Building Invidious... (this will take some time and resources!)" --weight=10
|
||||||
|
|
||||||
pushd $final_path || ynh_die
|
pushd $final_path
|
||||||
shards update && shards install
|
shards update && shards install
|
||||||
crystal build src/invidious.cr --release
|
crystal build src/invidious.cr --release
|
||||||
popd || ynh_die
|
popd
|
||||||
|
|
||||||
#=================================================
|
#=================================================
|
||||||
# MODIFY A CONFIG FILE
|
# MODIFY A CONFIG FILE
|
||||||
|
|
|
@ -81,7 +81,7 @@ pushd $final_path
|
||||||
for i in `git rev-list --reverse --abbrev-commit $currentVersion..HEAD` ; do file=./config/migrate-scripts/migrate-db-$i.sh ; [ -f $file ] && $file ; done
|
for i in `git rev-list --reverse --abbrev-commit $currentVersion..HEAD` ; do file=./config/migrate-scripts/migrate-db-$i.sh ; [ -f $file ] && $file ; done
|
||||||
shards update && shards install
|
shards update && shards install
|
||||||
crystal build src/invidious.cr --release
|
crystal build src/invidious.cr --release
|
||||||
popd || ynh_die
|
popd
|
||||||
fi
|
fi
|
||||||
|
|
||||||
# # Remove the app directory securely
|
# # Remove the app directory securely
|
||||||
|
|
Loading…
Add table
Reference in a new issue