Re: Bug#398333: Automatic partition/disk selection
David Härdeman <david@hardeman.nu> writes:
> Index: init.d/initial_auto
> ===================================================================
> --- init.d/initial_auto (revision 42849)
> +++ init.d/initial_auto (working copy)
> @@ -38,6 +38,9 @@
> if db_get partman-auto/method && [ -n "$RET" ]; then
> method="$RET"
> fi
> +if [ -n "$method" ]; then
> + method="regular"
> +fi
>
> # See if any autopartition disks have been set
> disks=""
Can't it be done using an else block? Looks sanner to me.
--
O T A V I O S A L V A D O R
---------------------------------------------
E-mail: otavio@debian.org UIN: 5906116
GNU/Linux User: 239058 GPG ID: 49A5F855
Home Page: http://otavio.ossystems.com.br
---------------------------------------------
"Microsoft gives you Windows ... Linux gives
you the whole house."
Reply to: