doPatch() exits if it patched some files. It also tells the user to run tr_install.pl again to finish the installation.

This commit is contained in:
ghendricks%novell.com 2006-10-12 18:54:58 +00:00
Родитель f16f92f4ff
Коммит 9804701e60
1 изменённых файлов: 5 добавлений и 6 удалений

Просмотреть файл

@ -128,7 +128,7 @@ sub doPatch {
} else {
# Guess the patch file to use:
print "\nNo patch file especified, trying to determine the right one to use ...\n\n";
print "\nNo patch file specified, trying to determine the right one to use ...\n\n";
print "Bugzilla version ".$Bugzilla::Config::VERSION." detected.\n";
@ -241,12 +241,11 @@ sub doPatch {
print MYOUTPUTFILE $VERSION;
close(MYOUTPUTFILE);
print "\n";
print "Congratulations, patch worked flawless!\n";
print "\n";
print "\nCongratulations, patch worked flawlessly!\n\n";
print "A backup copy of the modified files has been saved with the .orig sufix.\n";
1;
print "\nBecause tr_install has patched some Bugzilla files, please run tr_install\n";
print "again to finish the installation.\n";
exit 0;
}
sub isWindows {