diff --git a/files/setup_init_script.sh b/files/setup_init_script.sh index 8758019..4c01e28 100644 --- a/files/setup_init_script.sh +++ b/files/setup_init_script.sh @@ -39,7 +39,7 @@ stdlib::setup_init_script() { esac done - init_script_dir="$(mktemp -d)" + init_script_dir="$(stdlib::mktemp -d)" stdlib::get_from_bucket -u "${url}" -f "${fname}" -d "${init_script_dir}" stdlib::cmd install -o 0 -g 0 -m 0755 "${init_script_dir}/${fname}" "/etc/init.d/${fname}" stdlib::info 'Installed init script'