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/


-- 
To UNSUBSCRIBE, email to [EMAIL PROTECTED]
with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]

Reply via email to