From 6b9e9deaf3ddc786d81111895c6ce034e26dc0a6 Mon Sep 17 00:00:00 2001 From: Jimmy Monin Date: Thu, 24 May 2018 22:22:52 +0200 Subject: [PATCH] Avoid error if temporary directory already exists --- scripts/install | 2 +- scripts/upgrade | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/scripts/install b/scripts/install index e9aacbb..b99c3a3 100644 --- a/scripts/install +++ b/scripts/install @@ -136,7 +136,7 @@ chown -R root: $final_path chown root:$app $final_path/config.inc.php chmod 640 $final_path/config.inc.php # Setup phpMyAdmin temporary folder -mkdir $final_path/tmp +mkdir -p $final_path/tmp chown $app: $final_path/tmp #================================================= diff --git a/scripts/upgrade b/scripts/upgrade index 8eb660c..c02a29e 100644 --- a/scripts/upgrade +++ b/scripts/upgrade @@ -152,7 +152,7 @@ chown -R root: $final_path chown root:$app $final_path/config.inc.php chmod 640 $final_path/config.inc.php # Setup phpMyAdmin temporary folder -mkdir $final_path/tmp +mkdir -p $final_path/tmp chown $app: $final_path/tmp #=================================================