__package_dpkg: add an example using dpkg-deb
This commit is contained in:
parent
560374a686
commit
c97b05500e
1 changed files with 5 additions and 0 deletions
|
@ -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
|
||||
|
|
Loading…
Reference in a new issue