system("mkdir ~/.booh")
end
if $config['mproc'].nil?
- if count_cpus > 1
+ cpus = count_cpus
+ if cpus > 1
$config['mproc'] = cpus
end
end
cpus = count_cpus
- if $config['cpus'] && count_cpus > $config['cpus'].to_i
+ if $config['cpus'] && cpus > $config['cpus'].to_i
show_popup($main_window, utf8(_("It seems you now have more CPUs available than last time booh was run.
You should probably increase the amount of CPUs configured in Edit/Preferences,
so that web-albums are generated as fast as possible on this computer.")), { :pos_centered => true, :not_transient => true })