Permalink
Browse files

Check fink-bld for every operation but "fink configure"

  • Loading branch information...
1 parent 2518399 commit 1050c5dfff126c0d258214043fcb39ba95a4de6c @akhansen akhansen committed May 23, 2012
Showing with 4 additions and 1 deletion.
  1. +4 −1 perlmod/Fink/Engine.pm
View
@@ -29,7 +29,7 @@ use Fink::Services qw(&latest_version &sort_versions
&count_files
&call_queue_clear &call_queue_add
&dpkg_lockwait &aptget_lockwait &store_rename &get_options
- $VALIDATE_HELP &apt_available);
+ $VALIDATE_HELP &apt_available &ensure_fink_bld);
use Fink::CLI qw(&print_breaking &print_breaking_stderr
&prompt_boolean &prompt_selection
&get_term_width &die_breaking);
@@ -237,6 +237,9 @@ sub process {
}
}
+ # update fink-bld if required
+ my $status=&ensure_fink_bld() if $cmd ne "configure";
+
# Warn about Spotlight
if (&spotlight_warning()) {
$self->{config}->save;

0 comments on commit 1050c5d

Please sign in to comment.