mirror of
https://github.com/YunoHost-Apps/peertube-search-index_ynh.git
synced 2024-09-03 19:56:30 +02:00
fix
This commit is contained in:
parent
c5ecc15162
commit
3cf3935919
2 changed files with 3 additions and 0 deletions
|
@ -85,6 +85,8 @@ ynh_system_user_create --username=$app --home_dir=$final_path
|
|||
ynh_script_progression --message="Setting up source files..."
|
||||
|
||||
ynh_app_setting_set --app=$app --key=final_path --value=$final_path
|
||||
git config --system --add safe.directory $final_path
|
||||
|
||||
# Download, check integrity, uncompress and patch the source from app.src
|
||||
git clone $REPOSITORY $final_path --quiet
|
||||
pushd "$final_path"
|
||||
|
|
|
@ -81,6 +81,7 @@ then
|
|||
|
||||
# Download, check integrity, uncompress and patch the source from app.src
|
||||
pushd "$final_path"
|
||||
git config --system --add safe.directory $final_path
|
||||
git checkout master
|
||||
git pull --quiet
|
||||
git checkout $COMMIT --quiet
|
||||
|
|
Loading…
Add table
Reference in a new issue