mirror of
https://github.com/YunoHost-Apps/streams_ynh.git
synced 2024-09-03 20:26:20 +02:00
Tiny change
This commit is contained in:
parent
b38b9a8dc0
commit
51c30f179e
3 changed files with 3 additions and 5 deletions
|
@ -5,7 +5,7 @@ name = "Streams"
|
|||
description.en = "Open source fediverse server"
|
||||
description.fr = "Serveur fediverse open source"
|
||||
|
||||
version = "24.02.18~ynh2"
|
||||
version = "24.02.18~ynh3"
|
||||
|
||||
maintainers = ["Papa Dragon"]
|
||||
|
||||
|
|
|
@ -50,10 +50,9 @@ ynh_script_progression --message="Setting up source files..." --weight=1
|
|||
mkdir -p "$install_dir"
|
||||
chown -R $app:www-data "$install_dir"
|
||||
|
||||
git config --system --add safe.directory $install_dir
|
||||
|
||||
# Download, check integrity, uncompress and patch the source from GitHub
|
||||
ynh_exec_as $app git clone https://codeberg.org/streams/streams.git "$install_dir" --quiet
|
||||
ynh_exec_as $app git config --system --add safe.directory $install_dir
|
||||
|
||||
touch "$install_dir/php.log"
|
||||
mkdir -p "$install_dir/store"
|
||||
|
|
|
@ -82,9 +82,8 @@ then
|
|||
mkdir -p "$install_dir"
|
||||
chown -R $app:www-data "$install_dir"
|
||||
|
||||
git config --system --add safe.directory $install_dir
|
||||
|
||||
ynh_exec_as $app git clone https://codeberg.org/streams/streams.git "$install_dir" --quiet
|
||||
ynh_exec_as $app git config --system --add safe.directory $install_dir
|
||||
|
||||
ynh_app_setting_get --app=$app --key=git_branch_mode
|
||||
if [[ -n $git_branch_mode ]] && [ "$git_branch_mode" -eq "1" ]
|
||||
|
|
Loading…
Add table
Reference in a new issue