SHA256
remove unnecessary creation of temp dir
This commit is contained in:
@@ -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
|
||||||
|
|||||||
Reference in New Issue
Block a user