Skip to content

Commit

Permalink
osgeo4w: ignore if there are no pyc to cleanup in postinstall
Browse files Browse the repository at this point in the history
(cherry picked from commit af4cbe2)
  • Loading branch information
jef-n committed Feb 24, 2018
1 parent 065dd1c commit f97d9dc
Show file tree
Hide file tree
Showing 3 changed files with 3 additions and 0 deletions.
1 change: 1 addition & 0 deletions ms-windows/osgeo4w/postinstall-desktop.bat
Expand Up @@ -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
1 change: 1 addition & 0 deletions ms-windows/osgeo4w/postinstall-dev.bat
Expand Up @@ -34,3 +34,4 @@ set QGIS_PREFIX_PATH=%OSGEO4W_ROOT:\=/%/apps/@package@
"%OSGEO4W_ROOT%\apps\@package@\crssync"

del /s /q "%OSGEO4W_ROOT%\apps\@package@\*.pyc"
exit /b 0
1 change: 1 addition & 0 deletions ms-windows/osgeo4w/postinstall-grass-plugin-common.bat
@@ -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.