Browse Source

get rid of xcowsay dependency

Brennen Bearnes 2 years ago
parent
commit
c077f03824
2 changed files with 4 additions and 5 deletions
  1. 0
    1
      README.md
  2. 4
    4
      snowday.pl

+ 0
- 1
README.md View File

@@ -8,6 +8,5 @@ synopsis
8 8
 --------
9 9
 
10 10
 ```sh
11
-sudo apt-get install xcowsay
12 11
 ./snowday.pl
13 12
 ```

+ 4
- 4
snowday.pl View File

@@ -2,9 +2,9 @@
2 2
 use LWP::Simple;
3 3
 $page = get('http://www.bvsd.org/');
4 4
 if ($page =~ /troublebutton/m) {
5
-  # print "yes.\n";
6
-  `xcowsay "SNOW DAY"`;
5
+  print "yes.\n";
6
+  # `cowsay "SNOW DAY"`;
7 7
 } else {
8
-  # print "sorry.\n";
9
-  `xcowsay "sorry. :("`;
8
+  print "sorry.\n";
9
+  # `cowsay "sorry. :("`;
10 10
 }