rewrite man page in rst

Only minimal changes needed.

This was done to satisfy darko-poljak's request here:
https://github.com/ungleich/cdist/pull/354#issuecomment-263492801
This commit is contained in:
tpo 2016-12-01 09:09:57 +01:00
parent 44941137d6
commit 8e3281aa7c

View file

@ -1,7 +1,5 @@
cdist-type__package_dpkg(7) cdist-type__package_dpkg(7)
========================== ==========================
Tomas Pospisek <tpo_deb--@--sourcepole.ch>
NAME NAME
---- ----
@ -18,27 +16,29 @@ The object given to __package_dpkg must be the name of the deb package.
REQUIRED PARAMETERS REQUIRED PARAMETERS
------------------- -------------------
source:: source
path to the *.deb package path to the *.deb package
EXAMPLES EXAMPLES
-------- --------
-------------------------------------------------------------------------------- .. code-block:: sh
# Install foo and bar packages # Install foo and bar packages
__package_dpkg --source /tmp/foo_0.1_all.deb foo_0.1_all.deb __package_dpkg --source /tmp/foo_0.1_all.deb foo_0.1_all.deb
__package_dpkg --source $__type/files/bar_1.4.deb bar_1.4.deb __package_dpkg --source $__type/files/bar_1.4.deb bar_1.4.deb
--------------------------------------------------------------------------------
SEE ALSO SEE ALSO
-------- --------
- cdist-type(7) :strong:`cdist-type`\ (7), :strong:`cdist-type__package`\ (7)
- cdist-type__package(7)
AUTHORS
-------
Tomas Pospisek <tpo_deb--@--sourcepole.ch>
COPYING COPYING
------- -------
Copyright \(C) 2013 Tomas Pospisek. Free use of this software is Copyright \(C) 2013 Tomas Pospisek. Free use of this software is
granted under the terms of the GNU General Public License version 3 (GPLv3). granted under the terms of the GNU General Public License version 3 (GPLv3).
This type is based on __package_apt This type is based on __package_apt.