Handle undefined previous version when installing.
[usenet/newsstats.git] / install / install.pl
index 61e8ef1..8ab7798 100755 (executable)
@@ -134,7 +134,9 @@ Enjoy!
 -thh <thh\@inter.net>
 INSTALL
 
-my $Upgrade = <<UPGRADE;
+my $Upgrade ='';
+if ($OptUpdate) {
+ $Upgrade = <<UPGRADE;
 ----------
 Your installation was upgraded from $OptUpdate to $PackageVersion.
 
@@ -144,6 +146,7 @@ Don't forget to restart your INN feed so that it can pick up the new version:
 
 (or whatever you called your feed).
 UPGRADE
+}
 
 ##### --------------------------- End of definitions ---------------------------
 
This page took 0.010591 seconds and 4 git commands to generate.