]> git.ipfire.org Git - ipfire-2.x.git/commitdiff
Revert "installer: Import the Pakfire key at install time"
authorMichael Tremer <michael.tremer@ipfire.org>
Mon, 19 Mar 2018 19:45:24 +0000 (19:45 +0000)
committerMichael Tremer <michael.tremer@ipfire.org>
Mon, 19 Mar 2018 19:45:24 +0000 (19:45 +0000)
This reverts commit 7d995c9f56055f39e559bd6e355a9a1689585c6d.

Signed-off-by: Michael Tremer <michael.tremer@ipfire.org>
src/installer/main.c

index e154fb93516f8095d82d65430327b10765fd0969..a3642551d69ec4fa7609dba3cb57b799e4206b71 100644 (file)
@@ -879,13 +879,6 @@ 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),