Description: Patch to set proper (non-local) data paths
 By default mricron wants all data to be relavtive to its install directory.
 On Debian systems, however, it is located in /usr/share/mricron.
Forwarded: not-needed
Author: Michael Hanke <michael.hanke@gmail.com>

--- a/nifti_img_view.pas
+++ b/nifti_img_view.pas
@@ -1934,7 +1934,9 @@ begin
 	 LoadMonochromeLUT(lInc,gBGImg,gMRIcroOverlay[kVOIOverlayNum]);
 	 SetBGImgDefaults(gBGImg);
 	 CloseImagesClick(nil);
-         gColorSchemeDir := extractfilepath(paramstr(0))+'Resources'+pathdelim+'lut';
+         // Fixed path on Debian
+         //gColorSchemeDir := extractfilepath(paramstr(0))+'Resources'+pathdelim+'lut';
+	 gColorSchemeDir := '/usr/share/mricron/lut';
 	 if not direxists(gColorSchemeDir) then
             gColorSchemeDir := extractfilepath(paramstr(0))+'lut';
          {$IFDEF Darwin}
@@ -1960,7 +1962,9 @@ begin
          YokeMenu.visible := false;
          {$ENDIF}
 {$ENDIF}
-     gTemplateDir := extractfilepath(paramstr(0))+'Resources'+pathdelim+'templates';
+     // Fixed path on Debian
+     //gTemplateDir := extractfilepath(paramstr(0))+'Resources'+pathdelim+'templates';
+     gTemplateDir := '/usr/share/mricron/templates';
 	 if not direxists(gTemplateDir) then
             gTemplateDir := extractfilepath(paramstr(0))+'templates';
          {$IFDEF Darwin}
