summaryrefslogtreecommitdiff
path: root/automated/linux/lshw/lshw.sh
diff options
context:
space:
mode:
Diffstat (limited to 'automated/linux/lshw/lshw.sh')
-rwxr-xr-xautomated/linux/lshw/lshw.sh3
1 files changed, 1 insertions, 2 deletions
diff --git a/automated/linux/lshw/lshw.sh b/automated/linux/lshw/lshw.sh
index 4017488..dcc4114 100755
--- a/automated/linux/lshw/lshw.sh
+++ b/automated/linux/lshw/lshw.sh
@@ -26,8 +26,7 @@ while getopts ':s:c:' opt; do
done
! check_root && error_msg "lshw must be run as super user or it will only report partial information."
-[ -d "${OUTPUT}" ] && mv "${OUTPUT}" "${OUTPUT}_$(date +%Y%m%d%H%M%S)"
-mkdir -p "${OUTPUT}"
+create_out_dir "${OUTPUT}"
install_deps "lshw" "${SKIP_INSTALL}"