From 93d2daac6aa8f5cd5c4ad3fad2ca2ca6a100d40d Mon Sep 17 00:00:00 2001 From: Jyhem Date: Tue, 6 Jun 2023 21:31:30 +0200 Subject: [PATCH] [FIX] Fix bug in using sed in install script 2 --- scripts/install | 1 + 1 file changed, 1 insertion(+) diff --git a/scripts/install b/scripts/install index 03dcfe7..2cc6552 100755 --- a/scripts/install +++ b/scripts/install @@ -73,6 +73,7 @@ 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 # Lock installer