SOURCES: pisg-FHS.patch (NEW)   - install program to	bindir
    glen 
    glen at pld-linux.org
       
    Thu Dec 18 22:51:14 CET 2008
    
    
  
Author: glen                         Date: Thu Dec 18 21:51:14 2008 GMT
Module: SOURCES                       Tag: HEAD
---- Log message:
- install program to bindir
---- Files affected:
SOURCES:
   pisg-FHS.patch (NONE -> 1.1)  (NEW)
---- Diffs:
================================================================
Index: SOURCES/pisg-FHS.patch
diff -u /dev/null SOURCES/pisg-FHS.patch:1.1
--- /dev/null	Thu Dec 18 22:51:14 2008
+++ SOURCES/pisg-FHS.patch	Thu Dec 18 22:51:08 2008
@@ -0,0 +1,20 @@
+--- pisg-0.72/pisg~	2008-02-13 22:40:25.000000000 +0200
++++ pisg-0.72/pisg	2008-12-18 23:49:05.560422441 +0200
+@@ -24,16 +24,7 @@
+ 
+ sub main
+ {
+-    my $script_dir = $0;
+-
+-    # If the script was executed as ./pisg - then we just remove
+-    # everything after the last slash, if it was executed as 'perl pisg'
+-    # we assume that we are executing in the current dir.
+-    if ($script_dir =~ m/\/[^\/]*$/) {
+-        $script_dir =~ s/\/[^\/]*$//;
+-    } else {
+-        $script_dir = ".";
+-    }
++    my $script_dir = '/usr/share/pisg';
+ 
+     if (!-t STDOUT) { # we are not writing to a terminal
+ 	push @ARGV, "--silent";
================================================================
    
    
More information about the pld-cvs-commit
mailing list