Hopefully this works

This commit is contained in:
RealStickman 2021-03-08 13:09:12 +01:00
parent 5efba5f456
commit 538d3cdf48

View File

@ -42,7 +42,7 @@ git clone https://gitlab.com/RealStickman-arch/config.git &&
# NOTE Arguments get passed automatically now
if ! cmp --silent "$HOME/scripts/arch-config.sh" "$HOME/config/scripts/arch-config.sh" ; then
echo Removed old config file and launched new one.
rm "$HOME/scripts/arch-config.sh" && cp "$HOME/config/scripts/arch-config.sh" "$HOME/scripts/" && 'bash ~/scripts/arch-config.sh "$@"'
rm "$HOME/scripts/arch-config.sh" && cp "$HOME/config/scripts/arch-config.sh" "$HOME/scripts/" && bash ~/scripts/arch-config.sh "$@"
fi
# if no seltheme file exists, ask to select a theme