mirror of
https://github.com/YunoHost-Apps/streams_ynh.git
synced 2024-09-03 20:26:20 +02:00
Now as root!
This commit is contained in:
parent
4210ead311
commit
acb658260d
1 changed files with 3 additions and 3 deletions
|
@ -48,10 +48,10 @@ 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"
|
||||||
|
|
||||||
ynh_exec_as $app git config --system --add safe.directory $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
|
git clone https://codeberg.org/streams/streams.git "$install_dir" --quiet
|
||||||
|
|
||||||
touch "$install_dir/php.log"
|
touch "$install_dir/php.log"
|
||||||
mkdir -p "$install_dir/store"
|
mkdir -p "$install_dir/store"
|
||||||
|
@ -79,7 +79,7 @@ ynh_script_progression --message="Pulling in external libraries with Composer...
|
||||||
|
|
||||||
ynh_install_composer --workdir="$install_dir"
|
ynh_install_composer --workdir="$install_dir"
|
||||||
pushd $install_dir
|
pushd $install_dir
|
||||||
ynh_exec_as $app util/add_addon_repo https://codeberg.org/streams/streams-addons.git zaddons
|
util/add_addon_repo https://codeberg.org/streams/streams-addons.git zaddons
|
||||||
popd
|
popd
|
||||||
|
|
||||||
#=================================================
|
#=================================================
|
||||||
|
|
Loading…
Add table
Reference in a new issue