mirror of
https://github.com/YunoHost-Apps/phpmyadmin_ynh.git
synced 2024-09-03 19:56:46 +02:00
Avoid error if temporary directory already exists
This commit is contained in:
parent
1b277ad388
commit
6b9e9deaf3
2 changed files with 2 additions and 2 deletions
|
@ -136,7 +136,7 @@ chown -R root: $final_path
|
||||||
chown root:$app $final_path/config.inc.php
|
chown root:$app $final_path/config.inc.php
|
||||||
chmod 640 $final_path/config.inc.php
|
chmod 640 $final_path/config.inc.php
|
||||||
# Setup phpMyAdmin temporary folder
|
# Setup phpMyAdmin temporary folder
|
||||||
mkdir $final_path/tmp
|
mkdir -p $final_path/tmp
|
||||||
chown $app: $final_path/tmp
|
chown $app: $final_path/tmp
|
||||||
|
|
||||||
#=================================================
|
#=================================================
|
||||||
|
|
|
@ -152,7 +152,7 @@ chown -R root: $final_path
|
||||||
chown root:$app $final_path/config.inc.php
|
chown root:$app $final_path/config.inc.php
|
||||||
chmod 640 $final_path/config.inc.php
|
chmod 640 $final_path/config.inc.php
|
||||||
# Setup phpMyAdmin temporary folder
|
# Setup phpMyAdmin temporary folder
|
||||||
mkdir $final_path/tmp
|
mkdir -p $final_path/tmp
|
||||||
chown $app: $final_path/tmp
|
chown $app: $final_path/tmp
|
||||||
|
|
||||||
#=================================================
|
#=================================================
|
||||||
|
|
Loading…
Reference in a new issue