- absolute path for ocaml-md5sums
authorStefano Zacchiroli <zack@debian.org>
Fri, 12 Aug 2005 08:41:09 +0000 (08:41 +0000)
committerStefano Zacchiroli <zack@debian.org>
Fri, 12 Aug 2005 08:41:09 +0000 (08:41 +0000)
- avoid failure if ocaml-md5sums is not available (ocaml-base-nox may have been removed before current package)

postrm-ocaml

index e6db7e7ae5cad7c0961f0cf659f7f4defccbfbbd..30436a46cd37bf269325119fc9d951dba6f1da30 100644 (file)
@@ -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