From: Stefano Zacchiroli Date: Fri, 12 Aug 2005 08:41:09 +0000 (+0000) Subject: - absolute path for ocaml-md5sums X-Git-Tag: archive/raspbian/4.08.1-4+rpi1~3^2~608^2~5 X-Git-Url: https://dgit.raspbian.org/?a=commitdiff_plain;h=08ce8e451aab8af79c56431812f2ffcd1ef66811;p=ocaml.git - absolute path for ocaml-md5sums - avoid failure if ocaml-md5sums is not available (ocaml-base-nox may have been removed before current package) --- diff --git a/postrm-ocaml b/postrm-ocaml index e6db7e7a..30436a46 100644 --- a/postrm-ocaml +++ b/postrm-ocaml @@ -1,3 +1,5 @@ if [ "$1" = "remove" ]; then - ocaml-md5sums update + if [ -x /usr/bin/ocaml-md5sums ]; then + /usr/bin/ocaml-md5sums update + fi fi