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

Re: swap not enabled if raid devices not in sync when booting



>>>>> "Miquel" == Miquel van Smoorenburg <miquels@traveler.cistron-office.nl> writes:
]
    Miquel> Or perhaps: if dpkg --compare-versions `uname -r` lt 2.4.0
    Miquel> ....

This won't work properly for versions like 2.4.0-test10 :-(

snoopy:~# dpkg --compare-versions 2.4.0-test10 lt 2.4.0 || echo false
false
-- 
Brian May <bam@debian.org>



Reply to: