mirror of
https://github.com/YunoHost-Apps/streams_ynh.git
synced 2024-09-03 20:26:20 +02:00
Put the copying stuff on top the database
This commit is contained in:
parent
e7efd7a5e0
commit
fa4f326958
1 changed files with 8 additions and 7 deletions
|
@ -133,6 +133,14 @@ mkdir -p "${final_path}/store"
|
||||||
mkdir -p "${final_path}/cache/smarty3"
|
mkdir -p "${final_path}/cache/smarty3"
|
||||||
chmod -R 777 $final_path/store $final_path/cache
|
chmod -R 777 $final_path/store $final_path/cache
|
||||||
|
|
||||||
|
# Copy the template install/htconfig.sample.php to .htconfig.php
|
||||||
|
ynh_script_progression --message="Moving .htconfig.php to root of Zap ..."
|
||||||
|
cp $final_path/install/htconfig.sample.php $config
|
||||||
|
config="$final_path/.htconfig.php"
|
||||||
|
# Create php.log inside for logs
|
||||||
|
ynh_print_info "Create php.log for the debuging..."
|
||||||
|
sudo touch "$final_path/php.log"
|
||||||
|
|
||||||
#=================================================
|
#=================================================
|
||||||
# CREATE A DATABASE
|
# CREATE A DATABASE
|
||||||
#=================================================
|
#=================================================
|
||||||
|
@ -171,14 +179,7 @@ else
|
||||||
|
|
||||||
fi
|
fi
|
||||||
|
|
||||||
# Copy the template install/htconfig.sample.php to .htconfig.php
|
|
||||||
ynh_script_progression --message="Moving .htconfig.php to root of Zap ..."
|
|
||||||
config="$final_path/.htconfig.php"
|
|
||||||
cp $final_path/install/htconfig.sample.php $config
|
|
||||||
|
|
||||||
# Create php.log inside for logs
|
|
||||||
ynh_print_info "Create php.log for the debuging..."
|
|
||||||
sudo touch "$final_path/php.log"
|
|
||||||
|
|
||||||
#=================================================
|
#=================================================
|
||||||
# MODIFY A CONFIG FILE
|
# MODIFY A CONFIG FILE
|
||||||
|
|
Loading…
Add table
Reference in a new issue