]> git.pld-linux.org Git - packages/pisg.git/commitdiff
- install program to bindir
authorElan Ruusamäe <glen@pld-linux.org>
Thu, 18 Dec 2008 21:51:08 +0000 (21:51 +0000)
committercvs2git <feedback@pld-linux.org>
Sun, 24 Jun 2012 12:13:13 +0000 (12:13 +0000)
Changed files:
    pisg-FHS.patch -> 1.1

pisg-FHS.patch [new file with mode: 0644]

diff --git a/pisg-FHS.patch b/pisg-FHS.patch
new file mode 100644 (file)
index 0000000..d279132
--- /dev/null
@@ -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";
This page took 0.031035 seconds and 4 git commands to generate.