Patchwork [19/22] dependencies: add details about which distro package to install

login
register
mail settings
Submitter Thomas Petazzoni
Date March 24, 2013, 8:26 a.m.
Message ID <1364113606-20836-20-git-send-email-thomas.petazzoni@free-electrons.com>
Download mbox | patch
Permalink /patch/230397/
State Accepted
Commit b2406e4a7852cadb5cfb5af59fd6a437bdc3b0eb
Headers show

Comments

Thomas Petazzoni - March 24, 2013, 8:26 a.m.
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
---
 support/dependencies/dependencies.sh |    8 +++++++-
 1 file changed, 7 insertions(+), 1 deletion(-)
Peter Korsgaard - March 24, 2013, 12:56 p.m.
>>>>> "Thomas" == Thomas Petazzoni <thomas.petazzoni@free-electrons.com> writes:

 Thomas> Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
 Thomas> ---
 Thomas>  support/dependencies/dependencies.sh |    8 +++++++-
 Thomas>  1 file changed, 7 insertions(+), 1 deletion(-)

 Thomas> diff --git a/support/dependencies/dependencies.sh b/support/dependencies/dependencies.sh
 Thomas> index 9d06a0d..ab7f4a4 100755
 Thomas> --- a/support/dependencies/dependencies.sh
 Thomas> +++ b/support/dependencies/dependencies.sh
 Thomas> @@ -135,7 +135,13 @@ for prog in patch perl tar wget cpio python unzip rsync ${DL_TOOLS} ; do
 Thomas>      if ! which $prog > /dev/null ; then
 Thomas>  	/bin/echo -e "You must install '$prog' on your build machine";
 Thomas>  	if test $prog = "svn" ; then
 Thomas> -	    /bin/echo -e "svn is usually part of the subversion package in your distribution"
 Thomas> +	    /bin/echo -e "  svn is usually part of the subversion package in your distribution"

I'm not sure I like the indentation, but ok - Committed, thanks.

Patch

diff --git a/support/dependencies/dependencies.sh b/support/dependencies/dependencies.sh
index 9d06a0d..ab7f4a4 100755
--- a/support/dependencies/dependencies.sh
+++ b/support/dependencies/dependencies.sh
@@ -135,7 +135,13 @@  for prog in patch perl tar wget cpio python unzip rsync ${DL_TOOLS} ; do
     if ! which $prog > /dev/null ; then
 	/bin/echo -e "You must install '$prog' on your build machine";
 	if test $prog = "svn" ; then
-	    /bin/echo -e "svn is usually part of the subversion package in your distribution"
+	    /bin/echo -e "  svn is usually part of the subversion package in your distribution"
+	elif test $prog = "hg" ; then
+            /bin/echo -e "  hg is usually part of the mercurial package in your distribution"
+	elif test $prog = "zcat" ; then
+            /bin/echo -e "  zcat is usually part of the gzip package in your distribution"
+	elif test $prog = "bzcat" ; then
+            /bin/echo -e "  bzcat is usually part of the bzip2 package in your distribution"
 	fi
 	exit 1;
     fi