Fix git clone
This commit is contained in:
parent
0aaa00b930
commit
c084949ab3
@ -65,12 +65,10 @@ scriptloc="$BASH_SOURCE"
|
|||||||
tempdir="$(mktemp -d)"
|
tempdir="$(mktemp -d)"
|
||||||
#cd "$tempdir"
|
#cd "$tempdir"
|
||||||
|
|
||||||
echo $tempdir
|
|
||||||
|
|
||||||
echo "Checking config file"
|
echo "Checking config file"
|
||||||
|
|
||||||
#clone this repo
|
#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
|
# check if the install scripts are the same
|
||||||
# NOTE Arguments get passed automatically now
|
# 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 "$@"
|
cp "$tempdir/configs/arch-config/scripts/arch-config.sh" "$HOME/scripts/" && bash ~/scripts/arch-config.sh "$@"
|
||||||
fi
|
fi
|
||||||
|
|
||||||
set -x
|
|
||||||
|
|
||||||
# if no seltheme file exists, ask to select a theme
|
# if no seltheme file exists, ask to select a theme
|
||||||
if [[ ! -f "$HOME/.seltheme" ]]; then
|
if [[ ! -f "$HOME/.seltheme" ]]; then
|
||||||
func_seltheme
|
func_seltheme
|
||||||
|
Loading…
Reference in New Issue
Block a user