File: 00-fix_paths

package info (click to toggle)
cowsay 3.03%2Bdfsg2-8
  • links: PTS, VCS
  • area: main
  • in suites: bookworm, bullseye, forky, sid, trixie
  • size: 520 kB
  • sloc: perl: 169; sh: 68; python: 16; makefile: 10
file content (23 lines) | stat: -rw-r--r-- 558 bytes parent folder | download | duplicates (6)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
Description: Fix some paths for Debian
Forwarded: not-needed
Origin: vendor, included in the first Debian upload
Bug-Debian: http://bugs.debian.org/75450
Author: Michael D. Ivey <ivey@debian.org>

--- cowsay-3.03.orig/cowsay
+++ cowsay-3.03/cowsay
@@ -1,4 +1,4 @@
-#%BANGPERL%
+#!/usr/bin/perl
 
 ##
 ## Cowsay 3.03
@@ -16,7 +16,7 @@ $version = "3.03";
 $progname = basename($0);
 $eyes = "oo";
 $tongue = "  ";
-$cowpath = $ENV{'COWPATH'} || '%PREFIX%/share/cows';
+$cowpath = $ENV{'COWPATH'} || '/usr/share/cowsay/cows';
 @message = ();
 $thoughts = "";