1
0
Fork 0
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:
dragondaddy 2024-04-24 19:02:30 +02:00
parent b38b9a8dc0
commit 51c30f179e
3 changed files with 3 additions and 5 deletions

View file

@ -5,7 +5,7 @@ name = "Streams"
description.en = "Open source fediverse server" description.en = "Open source fediverse server"
description.fr = "Serveur fediverse open source" description.fr = "Serveur fediverse open source"
version = "24.02.18~ynh2" version = "24.02.18~ynh3"
maintainers = ["Papa Dragon"] maintainers = ["Papa Dragon"]

View file

@ -50,10 +50,9 @@ ynh_script_progression --message="Setting up source files..." --weight=1
mkdir -p "$install_dir" mkdir -p "$install_dir"
chown -R $app:www-data "$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 # 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 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" touch "$install_dir/php.log"
mkdir -p "$install_dir/store" mkdir -p "$install_dir/store"

View file

@ -82,9 +82,8 @@ then
mkdir -p "$install_dir" mkdir -p "$install_dir"
chown -R $app:www-data "$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 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 ynh_app_setting_get --app=$app --key=git_branch_mode
if [[ -n $git_branch_mode ]] && [ "$git_branch_mode" -eq "1" ] if [[ -n $git_branch_mode ]] && [ "$git_branch_mode" -eq "1" ]