Signed-off-by: Michael Tremer <michael.tremer@ipfire.org>
free(backup_file);
}
+ /* Import Pakfire key */
+ snprintf(commandstring, STRING_SIZE, "/usr/sbin/chroot /harddisk /usr/bin/gpg --import /opt/pakfire/pakfire.key");
+ if (runcommandwithstatus(commandstring, title, _("Setting up package management system..."), logfile)) {
+ errorbox(_("Could not import the Pakfire key."));
+ goto EXIT;
+ }
+
// Download and execute the postinstall script
if (*config.postinstall) {
snprintf(commandstring, sizeof(commandstring),