[Fai-commit] r3040 - trunk/debian
Holger Levsen
debian at layer-acht.org
Thu Nov 17 19:56:15 CET 2005
Hi,
On Friday 11 November 2005 14:47, fai-repository at svn.debian.org wrote:
> Author: lange
> Date: 2005-11-11 13:47:19 +0000 (Fri, 11 Nov 2005)
> New Revision: 3040
>
> Modified:
> trunk/debian/fai-quickstart.prerm
> Log:
> add question before removing $FAI_CONFIGDIR
>
>
> Modified: trunk/debian/fai-quickstart.prerm
> ===================================================================
> --- trunk/debian/fai-quickstart.prerm 2005-11-11 13:39:06 UTC (rev 3039)
> +++ trunk/debian/fai-quickstart.prerm 2005-11-11 13:47:19 UTC (rev 3040)
> @@ -8,7 +8,13 @@
> if [ -z "$FAI_CONFIGDIR" ]; then
> echo "\$FAI_CONFIGDIR is not defined. Can't remove it."
> else
> - rm -rf $FAI_CONFIGDIR
> + echo -n "Shall I do rm -rf $FAI_CONFIGDIR? " ; read answer
> + case $answer in
> + y*|Y*)
> + rm -rf $FAI_CONFIGDIR ;;
> + *)
> + echo "$FAI_CONFIGDIR left untouched." ;;
> + esac
> fi
> ;;
according to latest version of debian-policy prompting for user-input without
debconf is deprecated. (And we fai-users know exactly why :-)
See
file:/usr/share/doc/debian-policy/policy.html/ch-binary.html#s-maintscriptprompt
As this violates "should use debconf" this is a bug of severity "normal".
regards,
Holger
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 189 bytes
Desc: not available
Url : http://lists.uni-koeln.de/pipermail/linux-fai-devel/attachments/20051117/4978b2a5/attachment.bin
More information about the linux-fai-devel
mailing list