File tree Expand file tree Collapse file tree 2 files changed +22
-2
lines changed Expand file tree Collapse file tree 2 files changed +22
-2
lines changed Original file line number Diff line number Diff line change @@ -143,8 +143,8 @@ if errorlevel 1 goto error
143
143
echo PACKAGE: %DATE% %TIME% >> %LOG% 2 >& 1
144
144
145
145
cd ..
146
- sed -e 's/@ package@ /%PACKAGENAME% /g' -e 's/@ version@ /%VERSION% /g' -e 's/@ grassversion@ /%GRASS_VERSION% /g' postinstall.bat > %OSGEO4W_ROOT% \etc\postinstall\%PACKAGENAME% .bat
147
- sed -e 's/@ package@ /%PACKAGENAME% /g' -e 's/@ version@ /%VERSION% /g' -e 's/@ grassversion@ /%GRASS_VERSION% /g' preremove.bat > %OSGEO4W_ROOT% \etc\preremove\%PACKAGENAME% .bat
146
+ sed -e 's/@ package@ /%PACKAGENAME% /g' -e 's/@ version@ /%VERSION% /g' -e 's/@ grassversion@ /%GRASS_VERSION% /g' postinstall-dev .bat > %OSGEO4W_ROOT% \etc\postinstall\%PACKAGENAME% .bat
147
+ sed -e 's/@ package@ /%PACKAGENAME% /g' -e 's/@ version@ /%VERSION% /g' -e 's/@ grassversion@ /%GRASS_VERSION% /g' preremove-desktop .bat > %OSGEO4W_ROOT% \etc\preremove\%PACKAGENAME% .bat
148
148
sed -e 's/@ package@ /%PACKAGENAME% /g' -e 's/@ version@ /%VERSION% /g' -e 's/@ grassversion@ /%GRASS_VERSION% /g' qgis.bat.tmpl > %OSGEO4W_ROOT% \bin\%PACKAGENAME% .bat.tmpl
149
149
sed -e 's/@ package@ /%PACKAGENAME% /g' -e 's/@ version@ /%VERSION% /g' -e 's/@ grassversion@ /%GRASS_VERSION% /g' browser.bat.tmpl > %OSGEO4W_ROOT% \bin\%PACKAGENAME% -browser.bat.tmpl
150
150
sed -e 's/@ package@ /%PACKAGENAME% /g' -e 's/@ version@ /%VERSION% /g' -e 's/@ grassversion@ /%GRASS_VERSION% /g' qgis.reg.tmpl > %OSGEO4W_ROOT% \apps\%PACKAGENAME% \bin\qgis.reg.tmpl
Original file line number Diff line number Diff line change
1
+ textreplace -std -t bin\@ package@ .bat
2
+ textreplace -std -t bin\@ package@ -browser.bat
3
+
4
+ mkdir " %OSGEO4W_STARTMENU% "
5
+ xxmklink " %OSGEO4W_STARTMENU% \Quantum GIS Desktop (@version@).lnk" " %OSGEO4W_ROOT% \bin\@package@.bat" " " \ " Quantum GIS - Desktop GIS (@version@)" 1 " %OSGEO4W_ROOT% \apps\@package@\icons\QGIS.ico"
6
+ xxmklink " %ALLUSERSPROFILE% \Desktop\Quantum GIS Desktop (@version@).lnk" " %OSGEO4W_ROOT% \bin\@package@.bat" " " \ " Quantum GIS - Desktop GIS (@version@)" 1 " %OSGEO4W_ROOT% \apps\@package@\icons\QGIS.ico"
7
+ xxmklink " %OSGEO4W_STARTMENU% \Quantum GIS Browser (@version@).lnk" " %OSGEO4W_ROOT% \bin\@package@-browser.bat" " " \ " Quantum GIS - Desktop GIS (@version@)" 1 " %OSGEO4W_ROOT% \apps\@package@\icons\QGIS.ico"
8
+ xxmklink " %ALLUSERSPROFILE% \Desktop\Quantum GIS Browser (@version@).lnk" " %OSGEO4W_ROOT% \bin\@package@-browser.bat" " " \ " Quantum GIS - Desktop GIS (@version@)" 1 " %OSGEO4W_ROOT% \apps\@package@\icons\QGIS.ico"
9
+
10
+ set O4W_ROOT = %OSGEO4W_ROOT%
11
+ set OSGEO4W_ROOT = %OSGEO4W_ROOT:\ =\\ %
12
+ textreplace -std -t " %O4W_ROOT% \apps\@package@\bin\qgis.reg"
13
+ set OSGEO4W_ROOT = %O4W_ROOT%
14
+
15
+ " %WINDIR% \regedit" /s " %O4W_ROOT% \apps\@package@\bin\qgis.reg"
16
+
17
+ call " %OSGEO4W_ROOT% " \bin\o4w_env.bat
18
+ path %PATH% ;%OSGEO4W_ROOT% \apps\@ package@ \bin
19
+ set QGIS_PREFIX_PATH = %OSGEO4W_ROOT% \apps\@package@
20
+ %OSGEO4W_ROOT% \apps\@ package@ \crssync
You can’t perform that action at this time.
0 commit comments