home

Unnamed repository; edit this file 'description' to name the repository.
Log | Files | Refs | README | LICENSE

commit 1d5ad154489f2d1d0c9cf5aff30740d1147887b3
parent 5da1da007e3026def7ec87b2b3462b6f18c66a98
Author: Vincent Demeester <vincent@sbr.pm>
Date:   Fri, 17 Jan 2020 16:02:58 +0100

chos4: fix the test for links

Signed-off-by: Vincent Demeester <vincent@sbr.pm>

Diffstat:
Mpkgs/scripts/bin/chos4 | 2+-
1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/pkgs/scripts/bin/chos4 b/pkgs/scripts/bin/chos4 @@ -9,7 +9,7 @@ curl -s "${BASE_URL}/vincent/webaccess.gpg"|gpg --decrypt > ~/sync/work/chos4/we curl -s "${BASE_URL}/vincent/kubeconfig.gpg"|gpg --decrypt > ~/sync/work/chos4/config.os4 && export KUBECONFIG=~/sync/work/chos4/config.os4 for file in kubeadmin.password.os4 webaccess.os4 config.os4; do - if test -d $HOME/.kube/$file; then + if ! test -f $HOME/.kube/$file; then ln -s $HOME/sync/work/chos4/$file ~/.kube/$file fi done