remove unnecessary creation of temp dir

This commit is contained in:
2026-08-21 23:45:48 +02:00
parent 8a993673b0
commit 2140cb688c
-3
View File
@@ -336,9 +336,6 @@ case "$action" in
[ "$(whoami)" != "root" ] && echo "Error: installation only works as root!" >&2 && exit 1 [ "$(whoami)" != "root" ] && echo "Error: installation only works as root!" >&2 && exit 1
tmpdir=$(mktemp -d)
trap cleanup_tmpdir EXIT
install_proxmox_backup_client "$update" || exit $? install_proxmox_backup_client "$update" || exit $?
if dpkg -s jq &>/dev/null; then if dpkg -s jq &>/dev/null; then