Pass all arguments given to next script

This commit is contained in:
RealStickman 2021-03-08 09:13:47 +01:00
parent 4965db0254
commit 14b9164976

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