From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mp1 ([2001:41d0:2:4a6f::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by ms0.migadu.com with LMTPS id MBAfD8cckmDLAwEAgWs5BA (envelope-from ) for ; Wed, 05 May 2021 06:19:19 +0200 Received: from aspmx1.migadu.com ([2001:41d0:2:4a6f::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by mp1 with LMTPS id wIiiCscckmDpdwAAbx9fmQ (envelope-from ) for ; Wed, 05 May 2021 04:19:19 +0000 Received: from lists.gnu.org (lists.gnu.org [209.51.188.17]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by aspmx1.migadu.com (Postfix) with ESMTPS id 9C2BB1FA92 for ; Wed, 5 May 2021 06:19:18 +0200 (CEST) Received: from localhost ([::1]:43468 helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1le90H-00057R-JU for larch@yhetil.org; Wed, 05 May 2021 00:19:17 -0400 Received: from eggs.gnu.org ([2001:470:142:3::10]:48862) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1le8z5-0003Un-HO for guix-patches@gnu.org; Wed, 05 May 2021 00:18:03 -0400 Received: from debbugs.gnu.org ([209.51.188.43]:45825) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1le8z4-00086r-2l for guix-patches@gnu.org; Wed, 05 May 2021 00:18:02 -0400 Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1le8z3-0006Zr-Ta for guix-patches@gnu.org; Wed, 05 May 2021 00:18:01 -0400 X-Loop: help-debbugs@gnu.org Subject: [bug#48233] [PATCH 0/3] Modest improvements to the guix-install.sh script. Resent-From: Maxim Cournoyer Original-Sender: "Debbugs-submit" Resent-CC: guix-patches@gnu.org Resent-Date: Wed, 05 May 2021 04:18:01 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: report 48233 X-GNU-PR-Package: guix-patches X-GNU-PR-Keywords: patch To: 48233@debbugs.gnu.org Cc: ludo@gnu.org X-Debbugs-Original-To: guix-patches Received: via spool by submit@debbugs.gnu.org id=B.162018826125268 (code B ref -1); Wed, 05 May 2021 04:18:01 +0000 Received: (at submit) by debbugs.gnu.org; 5 May 2021 04:17:41 +0000 Received: from localhost ([127.0.0.1]:57369 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1le8yj-0006ZU-MV for submit@debbugs.gnu.org; Wed, 05 May 2021 00:17:41 -0400 Received: from lists.gnu.org ([209.51.188.17]:39234) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1le8yg-0006ZN-1I for submit@debbugs.gnu.org; Wed, 05 May 2021 00:17:39 -0400 Received: from eggs.gnu.org ([2001:470:142:3::10]:48838) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1le8yf-0002lK-Q5 for guix-patches@gnu.org; Wed, 05 May 2021 00:17:37 -0400 Received: from mail-qk1-x734.google.com ([2607:f8b0:4864:20::734]:35355) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1le8ye-0007nH-6F; Wed, 05 May 2021 00:17:37 -0400 Received: by mail-qk1-x734.google.com with SMTP id x8so422230qkl.2; Tue, 04 May 2021 21:17:34 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20161025; h=from:to:cc:subject:date:message-id:mime-version; bh=ScWtvWHqL0iKOPcSp9QVM+UyhCGN1iWE1p4uaqJnr7E=; b=ZWT2FzUcGp+tUM2CtwPdwUHOcerkMggi3k562aiZlQ58zqv7/6MJwQH44mEDHzOds6 II8vVuD3pcBVO3jXM9zF6DyiRqBnkx+++cw83mgkp7zYXxyZOZTr9enEYGoeW8YFLyPD uAE/o32dN2wHaD4KRJTtMmhIABiridPDIyb3ba6sBcQz1lNqnKRFqE7/DyH5rugLvNlh EQC9lZrFTcPT0v76jHtrEIaA9791PlP4KZRCN90vIilZ0Hme3TZzBeC+KDQUIWD++kj8 dU3RQWRP2pTXKxFdw2cu+ZhnMhBy3flsygUgWQrz2RCB5jy/n3jPFXybtN+Foh6W0eJ0 ZLkQ== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:from:to:cc:subject:date:message-id:mime-version; bh=ScWtvWHqL0iKOPcSp9QVM+UyhCGN1iWE1p4uaqJnr7E=; b=aL7EqR/qwGPXTMbKe1S0CL/6mPtxX+/XTELgazbAgL7I/u3OpGyLJYGG2RxWk0lGxT rstYuY/f8XXyipyNtRA58OXXMGsotwbHiHqv3ZLSKwt5Qme6AGw3qnMBgb+qQPD9fqII YQn7JBuyQhqtcFLJJ3Q9eQjtDVhmG72U9MI8BMX58de0OVjOon873NJbGXjLF14YSg/h CUQ0eeM9YJ0W/r3hVkTKCqV9xky14AGI16AxfCnHSrTAfXUZdMOSYlw9AZsJ74spyou4 kJ0bnfWv5NUGeis4dT43uz/GT7Re2RAeHIPeLY5Mdn6Z7sGfmLjLVp6gwGg+N7+Br3ka Wh+Q== X-Gm-Message-State: AOAM531C3yJ7yJiSAtdVMITal9o4XTinP7d0YIE+sqxJYFOweuaCUhWo /pMqtC9G41qN3QC+g7mboMdj/7YyKU+SUzrR X-Google-Smtp-Source: ABdhPJw5glwb2UlR62ExWnNbxNwlWi1hS6cokAljT45BuoGFAh3gCjMCG6Eelo3BRD4I9vAEoQ3YhA== X-Received: by 2002:a37:7305:: with SMTP id o5mr28908101qkc.21.1620188254130; Tue, 04 May 2021 21:17:34 -0700 (PDT) Received: from hurd (mtl.savoirfairelinux.net. [208.88.110.46]) by smtp.gmail.com with ESMTPSA id p2sm12904069qkg.49.2021.05.04.21.17.33 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Tue, 04 May 2021 21:17:33 -0700 (PDT) From: Maxim Cournoyer Date: Wed, 5 May 2021 00:10:19 -0400 Message-ID: <87czu5lspv.fsf@gmail.com> MIME-Version: 1.0 Content-Type: text/plain Received-SPF: pass client-ip=2607:f8b0:4864:20::734; envelope-from=maxim.cournoyer@gmail.com; helo=mail-qk1-x734.google.com X-Spam_score_int: -20 X-Spam_score: -2.1 X-Spam_bar: -- X-Spam_report: (-2.1 / 5.0 requ) BAYES_00=-1.9, DKIM_SIGNED=0.1, DKIM_VALID=-0.1, DKIM_VALID_AU=-0.1, DKIM_VALID_EF=-0.1, FREEMAIL_FROM=0.001, RCVD_IN_DNSWL_NONE=-0.0001, SPF_HELO_NONE=0.001, SPF_PASS=-0.001 autolearn=ham autolearn_force=no X-Spam_action: no action X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list X-BeenThere: guix-patches@gnu.org List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: guix-patches-bounces+larch=yhetil.org@gnu.org Sender: "Guix-patches" X-Migadu-Flow: FLOW_IN ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=yhetil.org; s=key1; t=1620188359; h=from:from:sender:sender:reply-to:subject:subject:date:date: message-id:message-id:to:to:cc:cc:mime-version:mime-version: content-type:content-type:resent-cc:resent-from:resent-sender: resent-message-id:list-id:list-help:list-unsubscribe:list-subscribe: list-post:dkim-signature; bh=ScWtvWHqL0iKOPcSp9QVM+UyhCGN1iWE1p4uaqJnr7E=; b=oaFoc0t1tN61fAnsUm0A+LV9ML14GYgOpow1KotBqaFlJvQTI+qjibTptCA0QT054QfTpK ZL/tfh+1y+7y0Cz5QSTg/0lnUM2wn//tGcpkKtoIZo9ee7SBUJwu59oRvJGiv1WPmKPiAL iyNzJm6XkXbuvvg2pmbTUIElT8gVO7BdwdrBoA9kcGdtJmJtPaBMwYQJ5kU3MZ8l5yq96A gnRDr+u7pxGdUOeddEkubHP0MnKrYHp9C6rINOG1WIKgP/t0boqeydm08B9sq7g/whxCwc skzy364YWUA7eV83B1sU57AiN6oOnKdU1HpOXy9T3uuW8dY1vq9k18+mo0wZhg== ARC-Seal: i=1; s=key1; d=yhetil.org; t=1620188359; a=rsa-sha256; cv=none; b=KtCagZB7ODrcGKIuIZOJDzcMiJIsf4KRkL/jCPf9nrYX60JwJwD8oPlz1Ah+rBy5Qsi34N NhTy2ZvYvpliRqiPX8YU2iSybMa7PsCQ5AUIgtbbQXtrjmroEbNUbr6XSR+rbX+Hr4UYCE LXVJH/5IERtIvbs51i4PZrDnWMxZJUKK5BfdxYOFZ0r7E7XiBvovnKEHTAFWJttxDR5Vm0 7wv8UhXDN85HhGQBuAoFinNLQ/tX8IolqFbJ4QBa0lTYTlEonDT5PxERNHrpspZZWAZMww P+TSEYJEdhB2IayVuye9lXIzG8MV8pVxbhxmO74SFvTCqUKfdEP4kkmPU8yDTQ== ARC-Authentication-Results: i=1; aspmx1.migadu.com; dkim=fail ("headers rsa verify failed") header.d=gmail.com header.s=20161025 header.b=ZWT2FzUc; dmarc=fail reason="SPF not aligned (relaxed)" header.from=gmail.com (policy=none); spf=pass (aspmx1.migadu.com: domain of guix-patches-bounces@gnu.org designates 209.51.188.17 as permitted sender) smtp.mailfrom=guix-patches-bounces@gnu.org X-Migadu-Spam-Score: -1.36 Authentication-Results: aspmx1.migadu.com; dkim=fail ("headers rsa verify failed") header.d=gmail.com header.s=20161025 header.b=ZWT2FzUc; dmarc=fail reason="SPF not aligned (relaxed)" header.from=gmail.com (policy=none); spf=pass (aspmx1.migadu.com: domain of guix-patches-bounces@gnu.org designates 209.51.188.17 as permitted sender) smtp.mailfrom=guix-patches-bounces@gnu.org X-Migadu-Queue-Id: 9C2BB1FA92 X-Spam-Score: -1.36 X-Migadu-Scanner: scn0.migadu.com X-TUID: Hzp25gjKkppP Hello Guix! This is a cleanup + small improvement to the install script; it allows completing the installation in a completely automatic way via: # yes | ./guix-install.sh Before this change it was not possible due to the step fetching the OpenPGP keys being strictly manual. I've tested it in a VM; if it looks fine I'd like push it to the version-1.3.0 branch. Thanks, Maxim Maxim Cournoyer (3): guix-install.sh: Please the shellcheck linter. guix-install.sh: Propose automatically fetching OpenPGP keys. guix-install.sh: Exit early if Guix is already installed. etc/guix-install.sh | 133 ++++++++++++++++++++++++-------------------- 1 file changed, 72 insertions(+), 61 deletions(-) -- 2.31.1