[med-svn] [metaphlan2-data] 03/03: No full path in postinst scripts

Andreas Tille tille at debian.org
Wed Sep 7 15:06:19 UTC 2016


This is an automated email from the git hooks/post-receive script.

tille pushed a commit to branch master
in repository metaphlan2-data.

commit 399a82937a53936bb8468bc93e998a4d03535940
Author: Andreas Tille <tille at debian.org>
Date:   Wed Sep 7 17:06:00 2016 +0200

    No full path in postinst scripts
---
 debian/postinst | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)

diff --git a/debian/postinst b/debian/postinst
index 5e08fdf..b72e427 100755
--- a/debian/postinst
+++ b/debian/postinst
@@ -26,9 +26,9 @@ fi
 case "$1" in
     configure)
 	if [ "$CREATENOW" = "yes" ]; then
-	    /usr/sbin/metaphlan2-data-convert
+	    metaphlan2-data-convert
 	else
-            echo "Make sure you call '/usr/sbin/metaphlan2-data-convert' before using metaphlan2."
+            echo "Make sure you call metaphlan2-data-convert as root before using metaphlan2."
 	fi
 	;;
     *)

-- 
Alioth's /usr/local/bin/git-commit-notice on /srv/git.debian.org/git/debian-med/metaphlan2-data.git



More information about the debian-med-commit mailing list