Git-Url: http://git.frugalware.org/gitweb/gitweb.cgi?p=frugalwareutils.git;a=commitdiff;h=055e7294877e67b868ed71ae9530af2a285aa586
commit 055e7294877e67b868ed71ae9530af2a285aa586 Author: James Buren <[email protected]> Date: Tue Jul 3 20:58:45 2012 -0500 grubconfig: remove only usage of those removed functions diff --git a/grubconfig/grubconfig.c b/grubconfig/grubconfig.c index 97e8b0a..5548493 100644 --- a/grubconfig/grubconfig.c +++ b/grubconfig/grubconfig.c @@ -60,7 +60,6 @@ int run(int argc, char **argv) { FILE *input = stdin, *fp; dialog_state.output = stderr; - int needrelease; struct stat buf; enum fwgrub_install_mode mode; @@ -86,11 +85,8 @@ int run(int argc, char **argv) if(mode!=-1) { dialog_msgbox(_("Please wait"), _("Attempting to install the GRUB bootloader..."), 0, 0, 0); - needrelease = fwutil_init(); - fwgrub_install(mode); + fwgrub_install("/",mode); fwgrub_make_config(); - if(needrelease) - fwutil_release(); } if(argv!=NULL) _______________________________________________ Frugalware-git mailing list [email protected] http://frugalware.org/mailman/listinfo/frugalware-git
