Version: 0.7.22.1 On Thu, Aug 06, 2009 at 08:26:37AM +0200, Yves-Alexis Perez wrote: > Hey, > seems that apt has a bashism in /etc/cron.daily/apt, by using $RANDOM which > doesn't exist on dash: > > cor...@hidalgo: checkbashisms /etc/cron.daily/apt > possible bashism in /etc/cron.daily/apt line 297 ($RANDOM): > if [ -z "$RANDOM" ] ; then Just look two lines below.
> possible bashism in /etc/cron.daily/apt line 301 ($RANDOM): > TIME=$(($RANDOM % $RandomSleep)) Just look two lines above. > random="$(dd if=/dev/urandom count=1 2> /dev/null | cksum | cut -f1 -d" ")" Have you read line 299? -- Julian Andres Klode - Free Software Developer Debian Developer - Contributing Member of SPI Ubuntu Member - Fellow of FSFE Website: http://jak-linux.org/ XMPP: [email protected] Debian: http://www.debian.org/ SPI: http://www.spi-inc.org/ Ubuntu: http://www.ubuntu.com/ FSFE: http://www.fsfe.org/ -- To UNSUBSCRIBE, email to [email protected] with a subject of "unsubscribe". Trouble? Contact [email protected]

