mirror of
https://github.com/vincentmli/bpfire.git
synced 2026-04-27 03:07:43 +02:00
installer: Import the Pakfire key at install time
Signed-off-by: Michael Tremer <michael.tremer@ipfire.org>
This commit is contained in:
@@ -879,6 +879,13 @@ int main(int argc, char *argv[]) {
|
||||
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),
|
||||
|
||||
Reference in New Issue
Block a user