[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Bug#219667: partconf: should be able to handle LVM



On Mon, Dec 22, 2003 at 08:08:47AM +0100, Martin Michlmayr wrote:
> lvmcfg installs the package this way:
> 
>     # install lvm-tools in /target if needed
>     set -- `vgdisplay -v | grep 'NOT active' | wc -l`
>     [ $1 -gt 0 ] && apt-install lvm10

Why all this set and wc stuff? The code should be something along the lines
of

  ( vgdisplay -v | grep -q ACTIVE ) && apt-install lvm10

AFAIK.

/* Steinar */
-- 
Homepage: http://www.sesse.net/



Reply to: