Skip to content

Commit f97d9dc

Browse files
committed
osgeo4w: ignore if there are no pyc to cleanup in postinstall
(cherry picked from commit af4cbe2)
1 parent 065dd1c commit f97d9dc

File tree

3 files changed

+3
-0
lines changed

3 files changed

+3
-0
lines changed

ms-windows/osgeo4w/postinstall-desktop.bat

+1
Original file line numberDiff line numberDiff line change
@@ -21,3 +21,4 @@ set OSGEO4W_ROOT=%OSGEO4W_ROOT:\=\\%
2121
textreplace -std -t "%O4W_ROOT%\apps\@package@\bin\qgis.reg"
2222
nircmd elevate "%WINDIR%\regedit" /s "%O4W_ROOT%\apps\@package@\bin\qgis.reg"
2323
del /s /q "%OSGEO4W_ROOT%\apps\@package@\python\*.pyc"
24+
exit /b 0

ms-windows/osgeo4w/postinstall-dev.bat

+1
Original file line numberDiff line numberDiff line change
@@ -34,3 +34,4 @@ set QGIS_PREFIX_PATH=%OSGEO4W_ROOT:\=/%/apps/@package@
3434
"%OSGEO4W_ROOT%\apps\@package@\crssync"
3535

3636
del /s /q "%OSGEO4W_ROOT%\apps\@package@\*.pyc"
37+
exit /b 0
Original file line numberDiff line numberDiff line change
@@ -1 +1,2 @@
11
del /s /q "%OSGEO4W_ROOT%\apps\@package@\grass\*.pyc"
2+
exit /b 0

0 commit comments

Comments
 (0)