summary |
shortlog |
log |
commit | commitdiff |
tree
raw |
patch |
inline | side by side (from parent 1:
1c3adb8)
$OptUpdate is undefined when not upgrading, so don't
prepare an upgrade notice to avoid calling an
undefined variable.
Signed-off-by: Thomas Hochstein <thh@inter.net>
-thh <thh\@inter.net>
INSTALL
-thh <thh\@inter.net>
INSTALL
-my $Upgrade = <<UPGRADE;
+my $Upgrade ='';
+if ($OptUpdate) {
+ $Upgrade = <<UPGRADE;
----------
Your installation was upgraded from $OptUpdate to $PackageVersion.
----------
Your installation was upgraded from $OptUpdate to $PackageVersion.
(or whatever you called your feed).
UPGRADE
(or whatever you called your feed).
UPGRADE
##### --------------------------- End of definitions ---------------------------
##### --------------------------- End of definitions ---------------------------