Package: adanaxisgpl / 1.2.5.dfsg.1-6

10_try_more_cache_paths.diff Patch series | download
1
2
3
4
5
6
7
8
9
10
11
12
13
14
Try additional paths to find cache.

diff -urN adanaxisgpl-1.2.4.orig/data-adanaxis/system/start.txt adanaxisgpl-1.2.4/data-adanaxis/system/start.txt
--- adanaxisgpl-1.2.4.orig/data-adanaxis/system/start.txt	2007-09-06 09:07:11.000000000 -0400
+++ adanaxisgpl-1.2.4/data-adanaxis/system/start.txt	2008-02-05 16:06:07.000000000 -0500
@@ -157,7 +157,7 @@
 
 # Find somewhere to save our files.  Directory name first, then paths to check
 setsavepath(".adanaxis", $HOME, $SYSTEM_PATH, "/tmp")
-setcachepath("mushware-cache", $RESOURCES_PATH, $HOME+"/.adanaxis", $HOME, $SYSTEM_PATH, "/tmp")
+setcachepath("mushware-cache", $HOME+"/.adanaxis", "/tmp", $HOME, $SYSTEM_PATH, $RESOURCES_PATH)
 
 # Set registration code file path
 configset("REG_FILENAME", $GLOBAL_SAVE_PATH+"/reg.xml")