# Mark Huang <mlhuang@cs.princeton.edu>
# Copyright (C) 2004-2006 The Trustees of Princeton University
#
-# $Id: system-packages.sh,v 1.3 2006/07/01 18:13:31 mlhuang Exp $
+# $Id: system-packages.sh,v 1.5 2007/08/24 06:06:04 mef Exp $
#
export PATH=/sbin:/bin:/usr/sbin:/usr/bin
# downloading it from one of the common
# subdirectories.
echo "* $vref: $repository $package-$version.$arch.rpm"
- for subdirectory in "" Fedora/RPMS $arch ; do
+ for subdirectory in "" Fedora/RPMS Fedora $arch ; do
if curl --fail --silent --max-time 60 $baseurl/$subdirectory/$package-$version.$arch.rpm \
>$rpms/$package-$version.$arch.rpm ; then
break
# Assert that we got it successfully
if [ ! -f $rpms/$package-$version.$arch.rpm ] ; then
- echo "Failed to fetch $package-$version.$arch.rpm from $repository" >&2
+ echo "Failed to fetch $package-$version.$arch.rpm from $repository ($baseurl/$subdirectory)" >&2
false
fi