From c084949ab35f8e231bc8341a4501d7ac7c1a57ef Mon Sep 17 00:00:00 2001 From: exu Date: Fri, 8 Dec 2023 20:00:19 +0100 Subject: [PATCH] Fix git clone --- arch-config/scripts/arch-config.sh | 6 +----- 1 file changed, 1 insertion(+), 5 deletions(-) diff --git a/arch-config/scripts/arch-config.sh b/arch-config/scripts/arch-config.sh index 91e019c5..90012700 100755 --- a/arch-config/scripts/arch-config.sh +++ b/arch-config/scripts/arch-config.sh @@ -65,12 +65,10 @@ scriptloc="$BASH_SOURCE" tempdir="$(mktemp -d)" #cd "$tempdir" -echo $tempdir - echo "Checking config file" #clone this repo -git clone -b temporary-dir https://gitea.exu.li/realstickman/configs.git &>/dev/null +git clone -b temporary-dir https://gitea.exu.li/realstickman/configs.git "$tempdir" &>/dev/null # check if the install scripts are the same # NOTE Arguments get passed automatically now @@ -79,8 +77,6 @@ if ! cmp --silent "$scriptloc" "$HOME/scripts/arch-config.sh"; then cp "$tempdir/configs/arch-config/scripts/arch-config.sh" "$HOME/scripts/" && bash ~/scripts/arch-config.sh "$@" fi -set -x - # if no seltheme file exists, ask to select a theme if [[ ! -f "$HOME/.seltheme" ]]; then func_seltheme