From 6de7f99a62a353e0f5c36ebddfe8c9f6ded1d7b0 Mon Sep 17 00:00:00 2001 From: Boris Kolpackov Date: Thu, 29 Jun 2023 12:07:27 +0200 Subject: Add sudo to apt-get, dnf commands in bpkg-pkg-bindist(1) --- bpkg/pkg-bindist.cli | 10 +++++----- 1 file changed, 5 insertions(+), 5 deletions(-) diff --git a/bpkg/pkg-bindist.cli b/bpkg/pkg-bindist.cli index 1b86cbe..2f30f6c 100644 --- a/bpkg/pkg-bindist.cli +++ b/bpkg/pkg-bindist.cli @@ -224,8 +224,8 @@ namespace bpkg than a package name. For example: \ - apt-get install ./libhello_1.2.3-0~debian11_amd64.deb \ - ./libhello-dev_1.2.3-0~debian11_amd64.deb + sudo apt-get install ./libhello_1.2.3-0~debian11_amd64.deb \ + ./libhello-dev_1.2.3-0~debian11_amd64.deb \ See \l{bpkg#bindist-mapping-debian-produce Debian Package Mapping for @@ -391,8 +391,8 @@ namespace bpkg For example: \ - dnf install libhello-1.2.3-1.fc35.x86_64.rpm \ - libhello-devel-1.2.3-1.fc35.x86_64.rpm + sudo dnf install libhello-1.2.3-1.fc35.x86_64.rpm \ + libhello-devel-1.2.3-1.fc35.x86_64.rpm \ See \l{bpkg#bindist-mapping-fedora-produce Fedora Package Mapping for @@ -618,7 +618,7 @@ namespace bpkg \ sudo tar -xf libhello-1.2.3-x86_64-debian11-gcc12.tar.xz \ - -C / --strip-components=1 + -C / --strip-components=1 \ If you expect the binary package to be unpacked into a directory other -- cgit v1.1