From ead32e1a99b2d4716f494553ff8546c68ff7a754 Mon Sep 17 00:00:00 2001 From: presl4y <66361649+presl4y@users.noreply.github.com> Date: Wed, 3 Jun 2020 10:00:34 +0000 Subject: [PATCH] Update autogen.sh Substitute GNUism --- autogen.sh | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/autogen.sh b/autogen.sh index aea4441..d2d6426 100755 --- a/autogen.sh +++ b/autogen.sh @@ -16,4 +16,4 @@ CONFIGDIR=$XDG_CONFIG_HOME/cava if [ -z "$XDG_CONFIG_HOME" ]; then CONFIGDIR=$HOME/.config/cava; fi mkdir -p "$CONFIGDIR" -cp -n example_files/config "$CONFIGDIR"/config +[ -f "$CONFIGDIR"/config ] || cp example_files/config "$CONFIGDIR"/config