bug?


Forum: User Feedback
Topic: bug?
started by: friedgold

Posted by friedgold on May 12 2005,00:07
The following is taken from /usr/sbin/dsl-hdinstall in DSL 1.1

Code Sample
if [ "$INSTALLTYPE" == "e" ]; then
 echo "${YELLOW}Proceeding with Enhanced installation...${NORMAL}"


 SELMIR="http://ftp.belnet.be/packages/damnsmalllinux/mydsl/system/gnu-utils.dsl"    

 echo "${YELLOW}1${BLUE} - Ibiblio FTP (USA)"
 echo "${YELLOW}2${BLUE} - Ibiblio HTTP (USA)"
 echo "${YELLOW}3${BLUE} - The Geekery HTTP"
 echo "${YELLOW}4${BLUE} - Tuwein HTTP (Austria)"
 echo "${YELLOW}5${BLUE} - Gulus (Quebec, Canada)"
 echo "${YELLOW}6${BLUE} - Belnet HTTP (Belgium)"
 echo "${YELLOW}7${BLUE} - Belnet FTP (Belgium)"
 echo ""
 echo ""
 echo "${CYAN}You must select one of the above mirrors to grab the files required for the"
 echo "enhanced install.${NORMAL}"
 echo -n "${CYAN}Enter 1 - 7 (default is ${GREEN}Belnet FTP${CYAN}). ${NORMAL}"
 read MIRRORCHOICE

 if [ -z $MIRRORCHOICE ] || [ $MIRRORCHOICE -gt 7 ]; then
   echo "${CYAN}Using default mirror (${GREEN}Belnet FTP (Belgium){$CYAN})${NORMAL}"
 else
   if [ $MIRRORCHOICE == 1 ]; then
     SELMIR="ftp://ibiblio.org/pub/Linux/distributions/damnsmall/mydsl/system/gnu-utils.dsl"
     MIRRORNAME="Ibiblio FTP (USA)"
   fi

   if [ $MIRRORCHOICE == 2 ]; then
     SELMIR="http://ibiblio.org/pub/Linux/distributions/damnsmall/mydsl/system/gnu-utils.dsl"
     MIRRORNAME="Ibiblio HTTP (USA)"
   fi

   if [ $MIRRORCHOICE == 3 ]; then
     SELMIR="http://dsl.thegeekery.com/mydsl/system/gnu-utils.dsl"
     MIRRORNAME="The Geekery HTTP"
   fi

   if [ $MIRRORCHOICE == 4 ]; then
     SELMIR="http://gd.tuwien.ac.at/opsys/linux/damnsmall/mydsl/gnu-utils.dsl"
     MIRRORNAME="Tuwein HTTP (Austria)"
   fi

   if [ $MIRRORCHOICE == 5 ]; then
     SELMIR="http://gulus.usherbrooke.ca/pub/distro/DamnSmallLinux/mydsl/system/gnu-utils.dsl"
     MIRRORNAME="Gulus (Quebec, Canada)"
   fi

   if [ $MIRRORCHOICE == 6 ]; then
     SELMIR="http://ftp.belnet.be/packages/damnsmalllinux/mydsl/system/dsl-dpkg.dsl"
     MIRRORNAME="Belnet HTTP (Belgium)"
   fi

   if [ $MIRRORCHOICE == 7 ]; then
     SELMIR="ftp://ftp.belnet.be/packages/damnsmalllinux/mydsl/system/gnu-utils.dsl"
     MIRRORNAME="Belnet FTP (Belgium)"
   fi
 fi
 ...


Shouldn't the 6th mirror choice download link (Belnet HTTP) be

Code Sample
http://ftp.belnet.be/packages/damnsmalllinux/mydsl/system/gnu-utils.dsl


Also if the default is Belnet FTP (as the text suggests) then SELMIR should initially be set to

Code Sample
SELMIR="ftp://ftp.belnet.be/packages/damnsmalllinux/mydsl/system/gnu-utils.dsl"


instead of to Belnet HTTP as it currently is

Powered by Ikonboard 3.1.2a
Ikonboard © 2001 Jarvis Entertainment Group, Inc.