1 diff -u scripts.orig/Makefile.am scripts/Makefile.am
2 --- scripts.orig/Makefile.am 2008-06-24 17:48:59.000000000 +0200
3 +++ scripts/Makefile.am 2008-08-16 07:47:00.000000000 +0200
23 diff -u scripts.orig/coord-convert.pl scripts/coord-convert.pl
24 --- scripts.orig/coord-convert.pl 2002-08-26 23:52:03.000000000 +0200
25 +++ scripts/coord-convert.pl 2008-08-16 07:47:00.000000000 +0200
30 -use lib "/usr/local/lib";
32 use Coordinate; # WE7U's Coordinate.pm module
35 diff -u scripts.orig/get-NWSdata scripts/get-NWSdata
36 --- scripts.orig/get-NWSdata 2008-07-18 17:26:39.000000000 +0200
37 +++ scripts/get-NWSdata 2008-08-16 07:47:00.000000000 +0200
39 FILE6="fz25jn08" # NWSM Libraries: Fire Weather Zone Boundaries
40 FILE7="c_11mr07" # County Libraries: AWIPS Counties
42 -cd /usr/local/share/xastir/Counties
43 +cd /usr/share/xastir/Counties
46 # Remove any old zip files hanging around in this directory
47 diff -u scripts.orig/get-fcc-rac.pl scripts/get-fcc-rac.pl
48 --- scripts.orig/get-fcc-rac.pl 2008-06-24 17:48:59.000000000 +0200
49 +++ scripts/get-fcc-rac.pl 2008-08-16 08:07:57.000000000 +0200
52 # Note: Run this script as root in order to write the files into the
53 # destination directory listed below, or change directory write access.
54 -my $XASTIR_BASE="/usr/local/share/xastir";
55 +my $XASTIR_BASE="/usr/share/xastir";
58 # This script uses temporary storage space in /var/tmp to do its work.
59 diff -u scripts.orig/get-gnis scripts/get-gnis
60 --- scripts.orig/get-gnis 2008-07-01 03:47:48.000000000 +0200
61 +++ scripts/get-gnis 2008-08-16 08:07:12.000000000 +0200
64 if ( [ -f ${MYSTATE}_DECI.txt ] )
66 - printf "File successfully downloaded. Moving to /usr/local/share/xastir/GNIS\n"
67 - sudo mv ${MYSTATE}_DECI.txt /usr/local/share/xastir/GNIS/${MYSTATE}.gnis
68 + printf "File successfully downloaded. Moving to /usr/share/xastir/GNIS\n"
69 + sudo mv ${MYSTATE}_DECI.txt /usr/share/xastir/GNIS/${MYSTATE}.gnis
71 printf "File for %s not successfully downloaded.\n" ${MYSTATE}
73 diff -u scripts.orig/get-maptools.sh scripts/get-maptools.sh
74 --- scripts.orig/get-maptools.sh 2008-01-16 20:33:59.000000000 +0100
75 +++ scripts/get-maptools.sh 2008-08-16 07:47:00.000000000 +0200
80 - if touch -a /usr/local/lib
81 + if touch -a /usr/lib
83 - printf "We can modify /usr/local/lib\n"
84 + printf "We can modify /usr/lib\n"
86 - printf "ERROR: We cannot modify /usr/local/lib - aborting\n"
87 + printf "ERROR: We cannot modify /usr/lib - aborting\n"
92 sudo touch $LDCONF_FILE
95 - if (! grep /usr/local/lib $LDCONF_FILE 2>&1 > /dev/null)
96 + if (! grep /usr/lib $LDCONF_FILE 2>&1 > /dev/null)
98 - printf "Warning: /usr/local/lib not in %s - adding it\n" $LDCONF_FILE
99 + printf "Warning: /usr/lib not in %s - adding it\n" $LDCONF_FILE
100 if [ -f $LDCONF_FILE ]
102 cp $LDCONF_FILE /tmp/ldconfig.tmp
103 $SUDO cp $LDCONF_FILE $LDCONF_FILE.orig.$$
105 - printf "/usr/local/lib\n" >> /tmp/ldconf.tmp
106 + printf "/usr/lib\n" >> /tmp/ldconf.tmp
107 $SUDO cp /tmp/ldconf.tmp $LDCONF_FILE
111 - if (! grep /usr/local/lib $LDCONF_FILE 2>&1 > /dev/null)
112 + if (! grep /usr/lib $LDCONF_FILE 2>&1 > /dev/null)
114 - printf "ERROR: could not add /usr/local/lib to %s - aborting\n " $LDCONFIG_FILE
115 + printf "ERROR: could not add /usr/lib to %s - aborting\n " $LDCONFIG_FILE
119 diff -u scripts.orig/icontable.pl scripts/icontable.pl
120 --- scripts.orig/icontable.pl 2003-07-07 19:17:54.000000000 +0200
121 +++ scripts/icontable.pl 2008-08-16 07:47:00.000000000 +0200
123 #--------------------------------------------------------------------------
125 # symbols file from XASTIR V2.1, change the path for your environment
126 -$SYMBFILE = "/usr/local/share/xastir/symbols/symbols.dat";
127 +$SYMBFILE = "/usr/share/xastir/symbols/symbols.dat";
129 #--------------------------------------------------------------------------
131 diff -u scripts.orig/permutations.pl scripts/permutations.pl
132 --- scripts.orig/permutations.pl 2005-03-25 21:53:04.000000000 +0100
133 +++ scripts/permutations.pl 2008-08-16 07:47:00.000000000 +0200
138 -use lib "/usr/local/lib";
140 use Coordinate; # WE7U's Coordinate.pm module
143 diff -u scripts.orig/test_coord.pl scripts/test_coord.pl
144 --- scripts.orig/test_coord.pl 2003-01-06 23:42:17.000000000 +0100
145 +++ scripts/test_coord.pl 2008-08-16 07:47:00.000000000 +0200
148 #------------------------------------------------------------------------------------------------
150 -use lib "/usr/local/lib";
152 use Coordinate; # Snag WE7U's Coordinate module
155 diff -u scripts.orig/toporama250k.pl scripts/toporama250k.pl
156 --- scripts.orig/toporama250k.pl 2008-08-16 07:42:13.000000000 +0200
157 +++ scripts/toporama250k.pl 2008-08-16 08:03:08.000000000 +0200
159 # map files for the whole of Canada!
162 -# - "cd /usr/local/share/xastir/maps"
163 +# - "cd /usr/share/xastir/maps"
165 # - Assure you have write privileges in the directory above either
166 # by becoming root using the "su" command, using "sudo", or
167 # temporarily changing ownership and/or privileges on the
170 -# - "/usr/local/lib/xastir/toporama250k.pl"
171 +# - "/usr/lib/xastir/toporama250k.pl"
173 # - The script will create/populate this directory heirarchy:
174 # .../maps/toporama/images/
175 diff -u scripts.orig/toporama50k.pl scripts/toporama50k.pl
176 --- scripts.orig/toporama50k.pl 2008-08-16 07:42:13.000000000 +0200
177 +++ scripts/toporama50k.pl 2008-08-16 08:02:48.000000000 +0200
179 # map files for the whole of Canada!
182 -# - "cd /usr/local/share/xastir/maps"
183 +# - "cd /usr/share/xastir/maps"
185 # - Assure you have write privileges in the directory above either
186 # by becoming root using the "su" command, using "sudo", or
187 # temporarily changing ownership and/or privileges on the
190 -# - "/usr/local/lib/xastir/toporama50k.pl"
191 +# - "/usr/lib/xastir/toporama50k.pl"
193 # - The script will create/populate this directory heirarchy:
194 # .../maps/toporama/images/