From 6a30f4a87ae981e48b51d5bd652af746805c24bf Mon Sep 17 00:00:00 2001 From: Jonas Gunz Date: Thu, 28 Jul 2022 17:20:26 +0200 Subject: fix settings --- bash/board.bash | 2 +- bash/ssh-agent.bash | 2 +- bash/ssh-agent.profile | 2 +- 3 files changed, 3 insertions(+), 3 deletions(-) (limited to 'bash') diff --git a/bash/board.bash b/bash/board.bash index 4df9f2a..5c5ac32 100644 --- a/bash/board.bash +++ b/bash/board.bash @@ -2,7 +2,7 @@ # config in ~/.files.config -if [ "$BB_ENABLE"="yes" ]; then +if [ ! "$BB_ENABLE" = "yes" ]; then return fi diff --git a/bash/ssh-agent.bash b/bash/ssh-agent.bash index 2f3040b..401564b 100644 --- a/bash/ssh-agent.bash +++ b/bash/ssh-agent.bash @@ -9,7 +9,7 @@ # $ flatpak override org.keepassxc.KeePassXC --user --filesystem=/run/user/$UID/ssh-agent.sock # Caution: /var/run symlinks to /run. Flatpak for some reason does not resolve symlinks. -if [ "$SA_SSH_AGENT_STATIC"="yes" ]; then +if [ "$SA_SSH_AGENT_STATIC" = "yes" ]; then AGENT_PID='' if [ -e "$SA_SSH_PIDFILE" ]; then AGENT_PID=$(cat $SA_SSH_PIDFILE) diff --git a/bash/ssh-agent.profile b/bash/ssh-agent.profile index efa3724..0fc4082 100644 --- a/bash/ssh-agent.profile +++ b/bash/ssh-agent.profile @@ -4,6 +4,6 @@ #SA_SSH_SOCKET="/var/run/user/$UID/ssh-agent.sock" #SA_SSH_PIDFILE="/var/run/user/$UID/ssh-agent.pid" -if [ ! "$SA_SSH_AGENT_STATIC"="yes" ]; then +if [ ! "$SA_SSH_AGENT_STATIC" = "yes" ]; then [ -z $SSH_AUTH_SOCK ] && eval `ssh-agent` fi -- cgit v1.2.3