summaryrefslogtreecommitdiff
path: root/automated/linux/lemp/lemp.sh
diff options
context:
space:
mode:
Diffstat (limited to 'automated/linux/lemp/lemp.sh')
-rwxr-xr-xautomated/linux/lemp/lemp.sh3
1 files changed, 1 insertions, 2 deletions
diff --git a/automated/linux/lemp/lemp.sh b/automated/linux/lemp/lemp.sh
index 06be62f..11d9840 100755
--- a/automated/linux/lemp/lemp.sh
+++ b/automated/linux/lemp/lemp.sh
@@ -10,8 +10,7 @@ TEST_LIST="test-nginx-server mysql-show-databases test-phpinfo
php-select-record php-delete-record"
! check_root && error_msg "This script must be run as root"
-[ -d "${OUTPUT}" ] && mv "${OUTPUT}" "${OUTPUT}_$(date +%Y%m%d%H%M%S)"
-mkdir -p "${OUTPUT}"
+create_out_dir "${OUTPUT}"
dist_name
# Install and configure LEMP.