Compare commits

...

2 Commits

Author SHA1 Message Date
pedro 005a3eb1db Update man.rst 2021-10-25 22:37:36 +02:00
pedro c97b05500e __package_dpkg: add an example using dpkg-deb 2021-10-25 22:35:50 +02:00
1 changed files with 5 additions and 0 deletions

View File

@ -71,6 +71,11 @@ EXAMPLES
--source $__type/files/baz_1.4_amd64.deb \
--purge-if-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