From bd0e662ee8fad8f406a13c55dfb068c36c98b069 Mon Sep 17 00:00:00 2001
From: Britney Fransen <brfransen@gmail.com>
Date: Sat, 11 Feb 2023 14:25:02 -0500
Subject: linhes-dev: lh_setup_dev.sh: quiet ssh-add

---
 linhes/linhes-dev/PKGBUILD        | 4 ++--
 linhes/linhes-dev/lh_setup_dev.sh | 3 +--
 2 files changed, 3 insertions(+), 4 deletions(-)

diff --git a/linhes/linhes-dev/PKGBUILD b/linhes/linhes-dev/PKGBUILD
index ce1d3dc..4825a51 100644
--- a/linhes/linhes-dev/PKGBUILD
+++ b/linhes/linhes-dev/PKGBUILD
@@ -1,6 +1,6 @@
 pkgname=linhes-dev
 pkgver=9.0.0
-pkgrel=14
+pkgrel=15
 pkgdesc="Scripts to develop LinHES"
 arch=('x86_64')
 license=('GPL2')
@@ -11,7 +11,7 @@ source=('lh_sync.sh' 'chk_aur_pkg.py' 'mp.py' 'lh_setup_dev.sh' 'lh_update_db_re
 sha256sums=('3a64b4125b56c6f95cc9dc85ce58ebd1c0612b22fb27c3e76d4d9a5570f2d61e'
             '864192e9fe627c5a85d4c33ba30df7c870783a450f5fea7c550dd9490d48f2ab'
             '025776558632dc60da5a97cc66a4fb52b31882eff7aeaf5476a8e40107e39a87'
-            '8ee79d9c33b64063c06c1651bfca675ae8b691b74f724c2dfe5a4f9cee74411b'
+            '0b9d0bb16700a06f201bfc701ba94ec65045bac50c77a389dbbdf7543def5896'
             '86c9ebe77228f7e3cc07cb05f480e5584e0e3cad1b889b63a50821f7323bf449')
 
 package() {
diff --git a/linhes/linhes-dev/lh_setup_dev.sh b/linhes/linhes-dev/lh_setup_dev.sh
index 1e535a6..f0cc94c 100755
--- a/linhes/linhes-dev/lh_setup_dev.sh
+++ b/linhes/linhes-dev/lh_setup_dev.sh
@@ -45,12 +45,11 @@ if ! grep -q 'ssh-agent >' ~/.bashrc; then
 cat >> ~/.bashrc<<END
 if ! pgrep -u "\$USER" ssh-agent > /dev/null; then
     ssh-agent > "\$XDG_RUNTIME_DIR/ssh-agent.env"
-    ssh-add -q
 fi
 if [[ ! -f "\$SSH_AUTH_SOCK" ]]; then
     source "\$XDG_RUNTIME_DIR/ssh-agent.env" >/dev/null
 fi
-ssh-add
+ssh-add -q
 END
 fi
 
-- 
cgit v0.12

