File: shell.rst

package info (click to toggle)
dose3 7.0.0-7
  • links: PTS, VCS
  • area: main
  • in suites: forky, sid
  • size: 4,276 kB
  • sloc: ml: 25,053; python: 605; perl: 391; sh: 347; makefile: 187
file content (16 lines) | stat: -rw-r--r-- 495 bytes parent folder | download | duplicates (4)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16

Shell tutorial
~~~~~~~~~~~~~~

Exit codes allow for a convenient integration of installation checks as
tests in shell scripts.

Example: Suppose that you want to check installability of all .deb files
in the current directory with respect to the repository
unstable.packages before uploading your package described in
mypackage.changes:

::

   find . -name "*.deb" -exec dpkg-deb --info ’{}’ control \; -exec echo ""\; | \
   dose-debcheck --bg unstable.packages && dput mypackage.changes