gnucash/gnucash-cpan-warning.patch
Stephan Kulow f6e9422aaf Accepting request 163115 from GNOME:Apps
Update to 2.4.12 - Did you see? So far openSUSE:12.3 does not have any gnucash bugs! That's a first (forwarded request 162660 from Zaitor)

OBS-URL: https://build.opensuse.org/request/show/163115
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/gnucash?expand=0&rev=47
2013-04-08 12:50:59 +00:00

38 lines
1.1 KiB
Diff

Index: src/quotes/gnc-fq-update.in
===================================================================
--- src/quotes/gnc-fq-update.in.orig
+++ src/quotes/gnc-fq-update.in
@@ -36,6 +36,32 @@ if ($( != 0) {
exit 0 if ($input ne "y");
}
+print "\n";
+print "WARNING: This program updates several Perl packages to untested latest\n";
+print "versions from CPAN. It could potentially cause unexpected failures\n";
+print "in any program or future upgrade problems.\n";
+print "\n";
+print "It is strongly recommended NOT TO USE this program and report possible\n";
+print "problems with parsing of stock quotes to http://bugzilla.novell.com/\n";
+print "\n\n";
+
+print "Do you want to continue? (y/n) ";
+
+my $input = <STDIN>;
+chomp ($input);
+
+exit 0 if ($input ne "y");
+
+print "\n\n";
+print "It invalidates your system certification!\n";
+print "\n";
+print "Are you absolutely sure? Do you prefer to abort now? (y/n) ";
+
+my $input = <STDIN>;
+chomp ($input);
+
+exit 0 if ($input ne "n");
+
CPAN::Shell->install('LWP');
CPAN::Shell->install('Date::Manip');
CPAN::Shell->install('Mozilla::CA');