Public bug reported:

If dpkg-dev is not installed, then errors are produced, despite the
script running successfully.

redirecting stderr should fix it:

if (type dpkg-vendor >/dev/null); then echo y;fi
bash: type: dpkg-vendor: not found

** Affects: sks (Ubuntu)
     Importance: Undecided
         Status: New

-- 
You received this bug notification because you are a member of Debian
OCaml Maintainers, which is subscribed to sks in Ubuntu.
https://bugs.launchpad.net/bugs/1100449

Title:
  postinst outputs errors if dpkg-dev is not installed

Status in “sks” package in Ubuntu:
  New

Bug description:
  If dpkg-dev is not installed, then errors are produced, despite the
  script running successfully.

  redirecting stderr should fix it:

  if (type dpkg-vendor >/dev/null); then echo y;fi
  bash: type: dpkg-vendor: not found

To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/sks/+bug/1100449/+subscriptions

_______________________________________________
Mailing list: https://launchpad.net/~ocaml-maint
Post to     : [email protected]
Unsubscribe : https://launchpad.net/~ocaml-maint
More help   : https://help.launchpad.net/ListHelp

Reply via email to