Skip to content
Browse files

osgeo4w: ignore if there are no pyc to cleanup in postinstall

(cherry picked from commit af4cbe2)
  • Loading branch information
jef-n committed Feb 24, 2018
1 parent 065dd1c commit f97d9dc1a45f0a7e93c2b453e86a9ca9c340fe32
@@ -21,3 +21,4 @@ set OSGEO4W_ROOT=%OSGEO4W_ROOT:\=\\%
textreplace -std -t "%O4W_ROOT%\apps\@package@\bin\qgis.reg"
nircmd elevate "%WINDIR%\regedit" /s "%O4W_ROOT%\apps\@package@\bin\qgis.reg"
del /s /q "%OSGEO4W_ROOT%\apps\@package@\python\*.pyc"
exit /b 0
@@ -34,3 +34,4 @@ set QGIS_PREFIX_PATH=%OSGEO4W_ROOT:\=/%/apps/@package@

del /s /q "%OSGEO4W_ROOT%\apps\@package@\*.pyc"
exit /b 0
@@ -1 +1,2 @@
del /s /q "%OSGEO4W_ROOT%\apps\@package@\grass\*.pyc"
exit /b 0

0 comments on commit f97d9dc

Please sign in to comment.
You can’t perform that action at this time.