Open maphew opened 9 years ago
...inspecting the qgis-dev.bat
reveals the error message is reporting a bug in that file. The comparison fails, if not %OSGEO4W_MENU_LINKS%==0 mkdir "%OSGEO4W_STARTMENU%"
becomes if not ==0
which is invalid. It needs to be quoted, if not "%OSGEO4W_MENU_LINKS%"==0
.
However the issue in apt remains, because we don't know about _LINKS we always create the shortcuts (for packages which aren't subject to the bug above), which disrespects those users who don't want them.
So the .bat bug revealed an apt bug, and for that I'm grateful. :)
Apt doesn't know about the
%OSGEO4W_MENU_LINKS%
and%OSGEO4W_DESKTOP_LINKS%
variables introduced in setup.exe v1.0.6-5.With the qgis-dev package this manifests with a
mkdir was unexpected at this time.
error message at the console during postinstall phase, consequently the Start Menu and Desktop shortcuts are not created, nor are the relevant registry entries created/updated.http://trac.osgeo.org/osgeo4w/ticket/300