diff --git a/bin/ADMIN_area_code_populate.pl b/bin/ADMIN_area_code_populate.pl index 7cd49567..3a260834 100644 --- a/bin/ADMIN_area_code_populate.pl +++ b/bin/ADMIN_area_code_populate.pl @@ -73,6 +73,13 @@ $slash_star = '\*'; #### download the latest phone code table #### chdir("$PATHhome"); +$wget = `which wget`; +print "$wget\n"; +if ( $wget eq "" ) { + print STDERR "Please install the wget command\n"; + exit(); +} + print STDERR "Downloading latest phone codes tables\n"; `wget $URL1`;