+
+ cpus = 0
+ for line in IO.readlines('/proc/cpuinfo') do
+ line =~ /^processor/ and cpus += 1
+ end
+
+ if $config['cpus'] && count_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 })
+ end
+ $config['cpus'] = cpus