From 084e1bf79ffbbea21ae5c4e8d1d4c062861ce1f0 Mon Sep 17 00:00:00 2001 From: tiki-jyhem Date: Fri, 9 Jun 2023 22:32:17 +0200 Subject: [PATCH] Update scripts/install Co-authored-by: Alexandre Aubin --- scripts/install | 4 +--- 1 file changed, 1 insertion(+), 3 deletions(-) diff --git a/scripts/install b/scripts/install index 2cc6552..d395a84 100755 --- a/scripts/install +++ b/scripts/install @@ -72,10 +72,8 @@ exec_as_app console.php database:configure "$app" "$db_pwd" "$app" exec_as_app console.php database:install # Set default database directory -FGALDIR=/home/yunohost.app/$app 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 exec_as_app console.php installer:lock