File: fortune.pl.diff

package info (click to toggle)
irssi-scripts 20160301
  • links: PTS, VCS
  • area: main
  • in suites: stretch
  • size: 3,624 kB
  • ctags: 2,564
  • sloc: perl: 61,025; sh: 184; makefile: 6
file content (15 lines) | stat: -rw-r--r-- 442 bytes parent folder | download | duplicates (4)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
Description: fixed fortune.pl to call fortune instead of fortune.en
Forwarded: no
Author: Ryan Niebur <ryanryan52@gmail.com> 
Last-Update: 2009-05-10
--- a/scripts/fortune.pl
+++ b/scripts/fortune.pl
@@ -67,7 +67,7 @@
 
             } else {
 
-                $cookie = `fortune.en -a fortunes literature riddles`;
+                $cookie = `fortune -a fortunes literature riddles`;
             }
 
             $cookie =~ s/\s*\n\s*/ /g;