From f658b20bba6a2adf28322f71fd79ef0fc9644d90 Mon Sep 17 00:00:00 2001 From: Ian Kelling Date: Mon, 21 Oct 2024 03:31:13 -0400 Subject: [PATCH] new useful function --- src/package-manager-abstractions | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/src/package-manager-abstractions b/src/package-manager-abstractions index aa14875..8b7989b 100644 --- a/src/package-manager-abstractions +++ b/src/package-manager-abstractions @@ -95,6 +95,11 @@ elif command -v apt-get &>/dev/null; then ;; esac } + pbuild-dep() { + local pkg="$1" + shift + p build-dep "$pkg"/$(debian-archive) "$@" + } pupdate() { local now t s f cachetime limittime; [[ $EUID != 0 ]] && s=sudo # update package list if its more than an 2 hours old -- 2.30.2