1
0
Fork 0
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:
Jimmy Monin 2018-05-24 22:22:52 +02:00
parent 1b277ad388
commit 6b9e9deaf3
2 changed files with 2 additions and 2 deletions

View file

@ -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
#================================================= #=================================================

View file

@ -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
#================================================= #=================================================