]> git.pld-linux.org Git - packages/automsn.git/commitdiff
- build fixes
authorElan Ruusamäe <glen@pld-linux.org>
Tue, 21 Mar 2006 19:37:57 +0000 (19:37 +0000)
committercvs2git <feedback@pld-linux.org>
Sun, 24 Jun 2012 12:13:13 +0000 (12:13 +0000)
Changed files:
    automsn.patch -> 1.1

automsn.patch [new file with mode: 0644]

diff --git a/automsn.patch b/automsn.patch
new file mode 100644 (file)
index 0000000..5fedf42
--- /dev/null
@@ -0,0 +1,40 @@
+--- automsn-1.1.2/automsn      2006-03-21 21:29:41.000000000 +0200
++++ /tmp/automsn       2006-03-21 21:29:23.000000000 +0200
+@@ -6,6 +6,8 @@
+ use strict;
+ use IO::Socket;
++$| = 1;
++
+ print <<END;
+ $APP
+ $AUTH
+@@ -14,18 +16,20 @@
+ and sets them up for use in e.g. Kopete.
+ END
++my $destdir = shift || '';
+ my $ch = '';
+-print "Proceed? [Y/N] ";
+-do {
+-      chomp ($ch = <>);
+-      $ch = lc($ch);
+-} while($ch !~ /^[yn]$/);
++if (-t STDIN) {
++      print "Proceed? [Y/N] ";
++      do {
++              chomp ($ch = <>);
++              $ch = lc($ch);
++      } while($ch !~ /^[yn]$/);
+-if($ch ne 'y') {
+-      exit;
++      if ($ch ne 'y') {
++              exit;
++      }
+ }
+-my $destdir = shift || '';
+ my $default = "/share/emoticons/AutoMSN";
+ my $default33 = "/share/apps/kopete/pics/emoticons/AutoMSN";
This page took 0.051351 seconds and 4 git commands to generate.