From 49be860e845a8135cdb9b99f38e0637ab1124cc3 Mon Sep 17 00:00:00 2001 From: terminalforlife Date: Wed, 18 Nov 2020 12:39:22 +0000 Subject: [PATCH] Fix line length of dpkg-deb & add header stuff --- sheets/dpkg-deb | 12 ++++++++---- 1 file changed, 8 insertions(+), 4 deletions(-) diff --git a/sheets/dpkg-deb b/sheets/dpkg-deb index e9cf435..19718e1 100644 --- a/sheets/dpkg-deb +++ b/sheets/dpkg-deb @@ -1,13 +1,17 @@ +# dpkg-deb +# Debian package archive (.deb) manipulation tool + # Build a DEB package using the provided directory. dpkg-deb -b /path/to/directory # List out the contents of an existing DEB package. dpkg-deb -c /path/to/package.deb -# Extract the contents of an existing DEB package. If no destination is provided -# for the extracted files, then they will be extracted to the CWD. Will also create -# the specified directory if it's not found, but it won't create its parents. +# Extract the contents of an existing DEB package. If no destination is +# provided for the extracted files, then they will be extracted to the CWD. +# Will also create the specified directory if it's not found, but it won't +# create its parents. dpkg-deb -x /path/to/package.deb /path/to/destination/ -# Output a (unique) list of available sections under which to create a DEB package. +# Output (unique) list of available sections under which to create DEB package. awk '!A[$1]++{print($1)}' <<< "$(dpkg-query --show -f='${Section}\n')"