Skip to content

Commit 4e34296

Browse files
committedMar 5, 2015
osgeo4w: also remove nightly shortcuts
(cherry picked from commit f40d547)
1 parent b2c8388 commit 4e34296

File tree

2 files changed

+12
-1
lines changed

2 files changed

+12
-1
lines changed
 

‎ms-windows/osgeo4w/package-nightly.cmd

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -211,7 +211,7 @@ echo PACKAGE: %DATE% %TIME%
211211
cd ..
212212
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
213213
if errorlevel 1 (echo creation of desktop postinstall failed & goto error)
214-
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
214+
sed -e 's/@package@/%PACKAGENAME%/g' -e 's/@version@/%VERSION%/g' -e 's/@grassversion@/%GRASS_VERSION%/g' preremove-dev.bat >%OSGEO4W_ROOT%\etc\preremove\%PACKAGENAME%.bat
215215
if errorlevel 1 (echo creation of desktop preremove failed & goto error)
216216
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
217217
if errorlevel 1 (echo creation of desktop template failed & goto error)

‎ms-windows/osgeo4w/preremove-dev.bat

Lines changed: 11 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,11 @@
1+
del "%OSGEO4W_STARTMENU%\QGIS Desktop @version@ (Nightly).lnk"
2+
del "%OSGEO4W_STARTMENU%\QGIS Browser @version@ (Nightly).lnk"
3+
del "%OSGEO4W_STARTMENU%\Qt Designer with QGIS @version@ custom widgets (Nightly).lnk"
4+
del "%ALLUSERSPROFILE%\Desktop\QGIS Desktop @version@ (Nightly).lnk"
5+
del "%ALLUSERSPROFILE%\Desktop\QGIS Browser @version@ (Nightly).lnk"
6+
del "%ALLUSERSPROFILE%\Desktop\Qt Designer with QGIS @version@ custom widgets (Nightly).lnk"
7+
del "%OSGEO4W_ROOT%"\bin\@package@.bat
8+
del "%OSGEO4W_ROOT%"\bin\@package@-browser.bat
9+
del "%OSGEO4W_ROOT%"\bin\designer-@package@.bat
10+
del "%OSGEO4W_ROOT%"\apps\@package@\python\qgis\qgisconfig.py
11+
del "%OSGEO4W_ROOT%"\apps\@package@\bin\qgis.reg

0 commit comments

Comments
 (0)
Please sign in to comment.