1
0
Fork 0
mirror of https://github.com/YunoHost-Apps/tiki_ynh.git synced 2024-09-04 01:15:54 +02:00

Update scripts/install

Co-authored-by: Alexandre Aubin <alex.aubin@mailoo.org>
This commit is contained in:
tiki-jyhem 2023-06-09 22:32:17 +02:00 committed by GitHub
parent f46e500b19
commit 084e1bf79f
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -72,10 +72,8 @@ exec_as_app console.php database:configure "$app" "$db_pwd" "$app"
exec_as_app console.php database:install exec_as_app console.php database:install
# Set default database directory # Set default database directory
FGALDIR=/home/yunohost.app/$app
cd "$install_dir" cd "$install_dir"
sed -i -e "s#storage\/fgal#$FGALDIR#" lib/prefs/fgal.php sed -i -e "s#storage\/fgal#$data_dir#" lib/prefs/fgal.php
# Lock installer # Lock installer
exec_as_app console.php installer:lock exec_as_app console.php installer:lock