Added check to see if they have wget installed
git-svn-id: svn://192.168.202.10@837 3d104415-ff17-0410-8863-d5cf3c621b8a
This commit is contained in:
@@ -73,6 +73,13 @@ $slash_star = '\*';
|
|||||||
#### download the latest phone code table ####
|
#### download the latest phone code table ####
|
||||||
chdir("$PATHhome");
|
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";
|
print STDERR "Downloading latest phone codes tables\n";
|
||||||
|
|
||||||
`wget $URL1`;
|
`wget $URL1`;
|
||||||
|
|||||||
Reference in New Issue
Block a user