summaryrefslogtreecommitdiff
path: root/automated/linux/openssh/openssh-debian.sh
diff options
context:
space:
mode:
Diffstat (limited to 'automated/linux/openssh/openssh-debian.sh')
-rwxr-xr-xautomated/linux/openssh/openssh-debian.sh3
1 files changed, 1 insertions, 2 deletions
diff --git a/automated/linux/openssh/openssh-debian.sh b/automated/linux/openssh/openssh-debian.sh
index 8a031ec..0053118 100755
--- a/automated/linux/openssh/openssh-debian.sh
+++ b/automated/linux/openssh/openssh-debian.sh
@@ -28,8 +28,7 @@ done
# Test run.
! 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}"
pkgs="build-essential"
install_deps "${pkgs}" "${SKIP_INSTALL}"