Maybe like this

This commit is contained in:
RealStickman 2021-03-08 09:15:53 +01:00
parent 14b9164976
commit e36495929f

View File

@ -41,7 +41,7 @@ git clone https://gitlab.com/RealStickman-arch/config.git &&
# check if the install scripts are the same
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