From b6495f371064974a308c41e85127d81085504e8d Mon Sep 17 00:00:00 2001 From: the-djmaze <> Date: Wed, 2 Mar 2022 09:47:11 +0100 Subject: [PATCH] #185 mkdir slash missing --- build/deb.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/build/deb.php b/build/deb.php index 4f328edb0..18407faf8 100755 --- a/build/deb.php +++ b/build/deb.php @@ -40,7 +40,7 @@ $data = file_get_contents('index.php'); file_put_contents("{$dir}/index.php", str_replace('0.0.0', $package->version, $data)); $data = file_get_contents('_include.php'); -file_put_contents("{$dir}/include.php", preg_replace('@(external-snappymail-data-folder/\'\);)@', "\$1\ndefine('APP_DATA_FOLDER_PATH', '/var/lib/snappymail');", $data)); +file_put_contents("{$dir}/include.php", preg_replace('@(external-snappymail-data-folder/\'\);)@', "\$1\ndefine('APP_DATA_FOLDER_PATH', '/var/lib/snappymail/');", $data)); passthru('dpkg --build '.escapeshellarg(DEB_DEST_DIR));