Bug#611462: apt-dater-host config/postinst broken

2011-01-29 Thread Stefan Bühler
Package: apt-dater-host
Version: 0.8.4-3

Hi, the line

  sed s/^\$ASSUMEYES=.*/\$ASSUMEYES=${ASSUME_YES}/ -i 
/etc/apt-dater-host.conf

in the .postinst script is broken; it deletes the ; at the end of the line,
which is needed as the config file is evald in the perl script.

this should work i guess:

  sed s/^\$ASSUMEYES=.*/\$ASSUMEYES=${ASSUME_YES};/ -i 
/etc/apt-dater-host.conf

- stefan



-- 
To UNSUBSCRIBE, email to debian-bugs-dist-requ...@lists.debian.org
with a subject of unsubscribe. Trouble? Contact listmas...@lists.debian.org



Bug#611462: apt-dater-host config/postinst broken

2011-01-29 Thread Patrick Matthäi
severity #611462 critical
thanks

Am 29.01.2011 18:02, schrieb Stefan Bühler:
 Package: apt-dater-host
 Version: 0.8.4-3
 
 Hi, the line
 
   sed s/^\$ASSUMEYES=.*/\$ASSUMEYES=${ASSUME_YES}/ -i 
 /etc/apt-dater-host.conf
 
 in the .postinst script is broken; it deletes the ; at the end of the line,
 which is needed as the config file is evald in the perl script.
 
 this should work i guess:
 
   sed s/^\$ASSUMEYES=.*/\$ASSUMEYES=${ASSUME_YES};/ -i 
 /etc/apt-dater-host.conf

Args, again a critical one :(
Oops, I did it again .

Thanks for your patch!

-- 
/*
Mit freundlichem Gruß / With kind regards,
 Patrick Matthäi
 GNU/Linux Debian Developer

E-Mail: pmatth...@debian.org
patr...@linux-dev.org

Comment:
Always if we think we are right,
we were maybe wrong.
*/



signature.asc
Description: OpenPGP digital signature