}
}
+if ($arg eq "-svnupdate") {
+ system("svn update");
+ system("perl configure -update");
+ if ($ARGV[1] eq "rebuild") {
+ system("make install");
+ }
+ exit;
+}
+
if ($arg eq "-modupdate") {
# Does the cache file exist?
if (!getcache()) {
chomp(my $incos = `uname -n -s -r`);
chomp(my $version = `sh ./src/version.sh`);
chomp(my $revision = `./src/svn-rev.sh`);
- $version = "$version (r$revision)";
+ $version = "$version(r$revision)";
chomp(my $revision2 = `./src/svn-rev.sh`);
open(FILEHANDLE, ">include/inspircd_config.h");
my $NL = $config{NICK_LENGT}+1;
# End Write Entry to the MakeFile
###
}
- print FILEHANDLE "modinst:\n echo \"*** Installing InspIRCd\"\n" . $crud;
+ print FILEHANDLE "modinst:\n \@echo \"Installing modules...\"\n" . $crud;
}