mirror of
https://github.com/the-djmaze/snappymail.git
synced 2024-12-27 18:18:28 +08:00
#185 mkdir slash missing
This commit is contained in:
parent
096faae844
commit
b6495f3710
1 changed files with 1 additions and 1 deletions
|
@ -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));
|
||||
|
||||
|
|
Loading…
Reference in a new issue