Fix "WARNING: case statement without a default case on line ..."

This commit is contained in:
Raoul Bhatia 2014-10-24 12:59:15 +02:00
parent fb9b9185e4
commit 15fad7ec11

View file

@ -25,15 +25,15 @@ define apt::force(
}
case $cfg_files {
'new': { $config_files = '-o Dpkg::Options::="--force-confnew"' }
'old': { $config_files = '-o Dpkg::Options::="--force-confold"' }
'unchanged': { $config_files = '-o Dpkg::Options::="--force-confdef"' }
'none': { $config_files = '' }
'new': { $config_files = '-o Dpkg::Options::="--force-confnew"' }
'old': { $config_files = '-o Dpkg::Options::="--force-confold"' }
'unchanged': { $config_files = '-o Dpkg::Options::="--force-confdef"' }
'none', default: { $config_files = '' }
}
case $cfg_missing {
true: { $config_missing = '-o Dpkg::Options::="--force-confmiss"' }
false: { $config_missing = '' }
true: { $config_missing = '-o Dpkg::Options::="--force-confmiss"' }
false, default: { $config_missing = '' }
}
if $version == false {