Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Menu and Desktop links variable not used #16

Open
maphew opened this issue Nov 22, 2014 · 1 comment
Open

Menu and Desktop links variable not used #16

maphew opened this issue Nov 22, 2014 · 1 comment

Comments

@maphew
Copy link
Owner

maphew commented Nov 22, 2014

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

@maphew maphew changed the title %OSGEO4W_MENU_LINKS% and %OSGEO4W_DESKTOP_LINKS% not used Menu and Desktop links variable not used Nov 22, 2014
@maphew
Copy link
Owner Author

maphew commented Nov 22, 2014

...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. :)

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

1 participant