diff -x igal2.pl -rup igal2-2.0/igal2 igal2-2.0-patch/igal2 --- igal2-2.0/igal2 2008-11-16 22:00:00.000000000 +0100 +++ igal2-2.0-patch/igal2 2010-11-02 15:03:57.000000000 +0100 @@ -1,11 +1,11 @@ -: magical incantation finds Perl as long as it's in the user's path +#!/usr/bin/perl eval 'exec perl -wS $0 ${1+"$@"}' if 0; ############################################################################ # Please change this accordingly if you change the DESTDIR in the tarball # distribution Makefile or the --prefix of the RPM installation -$LIBDIR = "/usr/local/lib/igal2"; +$LIBDIR = "/usr/lib/igal2"; # for example if you make DESTDIR=/usr then $LIBDIR="/usr/lib/igal2" ############################################################################ # @@ -198,7 +198,7 @@ $opt_o = "$opt_o/" if ( $opt_o ); $opt_d =~ s/\/$//; # let users store their templates in a $HOME/.igal directory, if it exists, -# instead of the site-wide /usr/local/lib/igal (from line 8 up top) +# instead of the site-wide /usr/lib/igal (from line 8 up top) $LIBDIR = $userigaldir if ((-r $userigaldir) && (-d $userigaldir)); # load up image files from $opt_d into array @imgfiles diff -x igal2.pl -rup igal2-2.0/igal2.1 igal2-2.0-patch/igal2.1 --- igal2-2.0/igal2.1 2008-11-16 22:00:00.000000000 +0100 +++ igal2-2.0-patch/igal2.1 2010-07-01 03:17:52.000000000 +0200 @@ -28,7 +28,7 @@ also checks for the existence of a .I "$HOME/.igal2" directory where users can store their own templates, overriding the site-wide -.IR "/usr/local/lib/igal2" . +.IR "/usr/lib/igal2" . .BR igal2 " needs " Perl to run and it also relies on a few other programs that come standard @@ -261,23 +261,23 @@ Note: igal2 will not work recursively, i found directories. .SH FILES -.I /usr/local/lib/igal2/indextemplate2.html +.I /usr/lib/igal2/indextemplate2.html .RS The default index template file. .RE -.I /usr/local/lib/igal2/slidetemplate2.html +.I /usr/lib/igal2/slidetemplate2.html .RS The default file used to generate slides. .RE -.I /usr/local/lib/igal2/igal2.css +.I /usr/lib/igal2/igal2.css .RS The default style sheet template. .RE -.I /usr/local/lib/igal2/tile.png +.I /usr/lib/igal2/tile.png .RS The tiled image used for the "film reel" effect. .RE -.I /usr/local/lib/igal2/directoryline2.html +.I /usr/lib/igal2/directoryline2.html .RS The default file used to generate directory links in index.html. If this file is changed, the index.html has to be regenerated by running @@ -294,7 +294,7 @@ also checks for the existence of a .I "$HOME/.igal2" directory where users can store their own templates, overriding the site-wide -.IR "/usr/local/lib/igal2" . +.IR "/usr/lib/igal2" . .SH EXAMPLES Run .B igal2 diff -x igal2.pl -rup igal2-2.0/Makefile igal2-2.0-patch/Makefile --- igal2-2.0/Makefile 2008-11-16 22:00:00.000000000 +0100 +++ igal2-2.0-patch/Makefile 2010-07-01 04:43:22.000000000 +0200 @@ -1,6 +1,6 @@ ############################################################################ # if you change this, please also modify the value at the top of igal code -DESTDIR=/usr/local +DESTDIR=/usr ############################################################################ BINDIR=$(DESTDIR)/bin diff -x igal2.pl -rup igal2-2.0/utilities/igal2-cron1.sh igal2-2.0-patch/utilities/igal2-cron1.sh --- igal2-2.0/utilities/igal2-cron1.sh 2008-11-16 21:07:23.000000000 +0100 +++ igal2-2.0-patch/utilities/igal2-cron1.sh 2010-07-01 03:07:28.000000000 +0200 @@ -1,5 +1,5 @@ # -SCRIPTPATH="/usr/local/bin"; +SCRIPTPATH="/usr/bin"; # echo "Examing $1"; FOUND=`find "$1/" -iname "*.jpg" -maxdepth 1`; if [ \( ! -f "$1/index.html" \) -a -n "$FOUND" ]; diff -x igal2.pl -rup igal2-2.0/utilities/igal2-cron.sh igal2-2.0-patch/utilities/igal2-cron.sh --- igal2-2.0/utilities/igal2-cron.sh 2008-11-16 21:07:25.000000000 +0100 +++ igal2-2.0-patch/utilities/igal2-cron.sh 2010-07-01 03:07:18.000000000 +0200 @@ -1,3 +1,3 @@ # -SCRIPTPATH="/usr/local/bin"; +SCRIPTPATH="/usr/bin"; find $1 -type d -xdev ! -name "\.igal" -exec $SCRIPTPATH/igal2-cron1.sh "{}" \; diff -x igal2.pl -rup igal2-2.0/utilities/igal2.sh igal2-2.0-patch/utilities/igal2.sh --- igal2-2.0/utilities/igal2.sh 2008-11-16 21:07:38.000000000 +0100 +++ igal2-2.0-patch/utilities/igal2.sh 2010-11-02 15:03:20.000000000 +0100 @@ -1,3 +1,3 @@ +#!/bin/sh # -# -/usr/local/bin/igal2 -n --bigy 510 -y 140 --dest ".igal" --AddSubdir -u -www -pagination 50 -d "$1" +/usr/bin/igal2 -n --bigy 510 -y 140 --dest ".igal" --AddSubdir -u -www -pagination 50 -d "$1"