Update the script to use Jessie by default and document where is the default obtained from

parent dd6b75a4
......@@ -26,12 +26,13 @@ usage () {
echo "$0 [mirror-directory] [arquitecture] [release]"
echo "Prints the Debian package count for a given arquitecture in a given release."
echo "Defaults to using the i386 arquitecture in the current published release."
echo "The release is determined by processing the faqstatic.ent file"
}
if [ -n "$1" ] ; then
mirror=$1
else
mirror="/home/mirrors/debian/debian.org/"
mirror="/home/ftp/mirror/debian/"
fi
if [ -n "$2" ] ; then
ARCH=$2
......@@ -50,7 +51,7 @@ if [ -z "$RELEASE" ] && [ -r faqstatic.ent ] ; then
RELEASE=`grep "entity releasename" faqstatic.ent | sed -e 's/^.*"\(.*\)".*$/\1/'`
fi
if [ -z "$RELEASE" ] ; then
RELEASE="wheezy"
RELEASE="jessie"
echo "WARN: Cannot obtain the release information from 'faqstatic.ent', using $RELEASE instead." >&2
fi
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment