diff options
author | David Smith <dsmith@redhat.com> | 2008-11-04 13:37:19 -0600 |
---|---|---|
committer | David Smith <dsmith@redhat.com> | 2008-11-04 13:37:19 -0600 |
commit | 32d90014f31354a1c384a00905fa62cfd4b5dfe8 (patch) | |
tree | 2d41ae6e561d2b88b7cb5c805d0c1bc219c1ee78 /doc/SystemTap_Beginners_Guide/en-US | |
parent | 32f1f1a7b640cb110982b9ec364034645c0b0734 (diff) | |
parent | a6d742cb49a4e1408c9071a1e6338aeb0f152fbe (diff) | |
download | systemtap-steved-32d90014f31354a1c384a00905fa62cfd4b5dfe8.tar.gz systemtap-steved-32d90014f31354a1c384a00905fa62cfd4b5dfe8.tar.xz systemtap-steved-32d90014f31354a1c384a00905fa62cfd4b5dfe8.zip |
Merge branch 'master' of ssh://sources.redhat.com/git/systemtap
Diffstat (limited to 'doc/SystemTap_Beginners_Guide/en-US')
-rwxr-xr-x[-rw-r--r--] | doc/SystemTap_Beginners_Guide/en-US/extras/stapprep.sh | 3 |
1 files changed, 1 insertions, 2 deletions
diff --git a/doc/SystemTap_Beginners_Guide/en-US/extras/stapprep.sh b/doc/SystemTap_Beginners_Guide/en-US/extras/stapprep.sh index ba909994..1b2d3f14 100644..100755 --- a/doc/SystemTap_Beginners_Guide/en-US/extras/stapprep.sh +++ b/doc/SystemTap_Beginners_Guide/en-US/extras/stapprep.sh @@ -1,6 +1,5 @@ #! /bin/bash check_error() { if test $1 != 0; then echo $2; exit $1; fi } -DEBUGINFOREPO="rhel-debuginfo" if [ "$#" -lt 1 ]; then UNAME=`uname -r` # determine the kernel running on the machine @@ -26,7 +25,7 @@ if [ "$NEEDED" != "" ]; then echo -e "Need to install the following packages:\n$NEEDED" if [ `id -u` = "0" ]; then #attempt download and install DIR=`mktemp -d` || exit 1 - yumdownloader --enablerepo=$DEBUGINFOREPO $NEEDED --destdir=$DIR + yumdownloader --enablerepo="*debuginfo*" $NEEDED --destdir=$DIR check_error $? "problem downloading rpm(s) $NEEDED" rpm --force -ivh $DIR/*.rpm check_error $? "problem installing rpm(s) $NEEDED" |