Hi
On 2006-05-05 Daniel Leidert wrote:
> No. Seems, this is missed. I also tried a reinstall. Nothing changed. As
> far as I see, the relevant part is:
>
> > # recreate the credentials file
> > dc=$mysql_cfgdir/debian.cnf;
> > if [ -e "$dc" ]; then
> > pass="`sed -n 's/password *= *// p' $dc`"
> > else
> > pass=`perl -e 'print
> > map{("a".."z","A".."Z",0..9)[int(rand(62))]}(1..16)'`;
> > if [ ! -d "$mysql_cfgdir" ]; then install -o 0 -g 0 -m 0755 -d
> > $mysql_cfgdir; fi
> > cat /dev/null > $dc
> > echo "# Automatically generated for Debian scripts. DO NOT TOUCH!"
> > >>$dc
>
> Maybe I'm wrong. But if the config-file already exists, pass ist just
> given a value. But nothing else happens. Shouldn't it be:
>
> if [ -e "$dc" ]; then
> pass="`sed -n 's/password *= *// p' $dc`"
> else
> pass=`perl -e 'print
> map{("a".."z","A".."Z",0..9)[int(rand(62))]}(1..16)'`
> fi
> if [ ! -d "$mysql_cfgdir" ]; then install -o 0 -g 0 -m 0755 -d $mysql_cfgdir;
> fi
> cat /dev/null > $dc
> [..]
Oh well, indeed! Thanks for your help.
bye,
-christian-
--
To UNSUBSCRIBE, email to [EMAIL PROTECTED]
with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]