Skip to content

Commit

Permalink
Browse files Browse the repository at this point in the history
Install parent dirs with desktop menus, so it doesn't fatal() out if …
…nothing

 else had made them earlier...
  • Loading branch information
icculus committed Feb 15, 2008
1 parent 8550c99 commit 7cdc68a
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions scripts/mojosetup_mainline.lua
Expand Up @@ -1054,6 +1054,7 @@ local function install_freedesktop_menuitem(pkg, idx, item) -- only for Unix.
--MojoSetup.logdebug("Install FreeDesktop file")
--MojoSetup.logdebug(fname)
--MojoSetup.logdebug(str)
install_parent_dirs(fname, key)
install_file_from_string(fname, str, perms, desc, key)
if not MojoSetup.platform.installdesktopmenuitem(fname) then
MojoSetup.fatal(_("Failed to install desktop menu item"))
Expand Down

0 comments on commit 7cdc68a

Please sign in to comment.