Compare commits

...

2 commits

Author SHA1 Message Date
005a3eb1db Update man.rst 2021-10-25 22:37:36 +02:00
c97b05500e __package_dpkg: add an example using dpkg-deb 2021-10-25 22:35:50 +02:00

View file

@ -71,6 +71,11 @@ EXAMPLES
--source $__type/files/baz_1.4_amd64.deb \ --source $__type/files/baz_1.4_amd64.deb \
--purge-if-absent \ --purge-if-absent \
--state "absent" --state "absent"
# if dpkg-deb is available and your local package does not have (or can't have) the Debian naming conventions, you can do it this way:
__package_dpkg "$(dpkg-deb --show --showformat='${binary:Package}_${Version}_${Architecture}.deb\n' baz.deb)" \
--source $__type/files/baz.deb \
--state "absent"
SEE ALSO SEE ALSO