diff options
| author | Hubert Plociniczak <hubert@lshift.net> | 2008-10-19 22:52:00 +0100 |
|---|---|---|
| committer | Hubert Plociniczak <hubert@lshift.net> | 2008-10-19 22:52:00 +0100 |
| commit | 96af7bf70232ddfa060f0e9767fa63cec20ae390 (patch) | |
| tree | 65c55719d315577976eca856111ce3d65990b681 /packaging/checks.sh | |
| parent | 57dee61bf77b4175cf0f26c89f0359c335dfbf45 (diff) | |
| download | rabbitmq-server-git-96af7bf70232ddfa060f0e9767fa63cec20ae390.tar.gz | |
Removed check_tools script since Build-Depends
will handle it itself.
Diffstat (limited to 'packaging/checks.sh')
| -rwxr-xr-x | packaging/checks.sh | 45 |
1 files changed, 0 insertions, 45 deletions
diff --git a/packaging/checks.sh b/packaging/checks.sh deleted file mode 100755 index 63e88701f3..0000000000 --- a/packaging/checks.sh +++ /dev/null @@ -1,45 +0,0 @@ -#! /bin/sh - -# We check for the presence of the tools necessary to build a release on a -# Debian based OS. - -TOOLS_STOP=0 - -checker () { - if [ ! `which $1` ] - then - echo "$1 is missing, please install it" - TOOLS_STOP=1 - NEW_NAME=`echo $1 | sed -e 's/-/_/g'` - eval "$NEW_NAME=1" - else - echo "$1 found" - fi -}; - -echo ~~~~~~~~~~~~ Looking for mandatory programs ~~~~~~~~~~~~ - -for i in cdbs-edit-patch reprepro rpm elinks wget zip gpg rsync -do - checker $i -done -echo ~~~~~~~~~~~~~~~~~~~~~~~~~~ DONE ~~~~~~~~~~~~~~~~~~~~~~~ - -if [ 1 = $TOOLS_STOP ] -then - [ $cdbs_edit_patch ] && cdbs_edit_patch="cdbs " - [ $reprepro ] && reprepro="reprepro " - [ $rpm ] && rpm="rpm " - [ $elinks ] && elinks="elinks " - [ $wget ] && wget="wget " - [ $zip ] && zip="zip " - [ $gpg ] && gpg="gpg " - [ $rsync ] && rsync="rsync " - - echo - echo We suggest you run the command - echo "apt-get install ${cdbs_edit_patch}${reprepro}${rpm}${elinks}${wget}${zip}${gpg}${rsync}" - echo -fi - -exit $TOOLS_STOP |
