Correctly launch new config
This commit is contained in:
parent
9f0fbac8cf
commit
2ee39a346c
@ -74,9 +74,9 @@ git clone -b temporary-dir https://gitea.exu.li/realstickman/configs.git &>/dev/
|
|||||||
|
|
||||||
# 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
|
||||||
if ! cmp --silent "$scriptloc" "$HOME/configs/arch-config/scripts/arch-config.sh"; then
|
if ! cmp --silent "$scriptloc" "$HOME/scripts/arch-config.sh"; then
|
||||||
echo Removed old config file and launched new one.
|
echo Removed old config file and launched new one.
|
||||||
rm "$scriptloc" && cp "$HOME/configs/arch-config/scripts/arch-config.sh" "$HOME/scripts/" && bash ~/scripts/arch-config.sh "$@"
|
rm "$scriptloc" && cp "$tempdir/configs/arch-config/scripts/arch-config.sh" "$HOME/scripts/" && bash ~/scripts/arch-config.sh "$@"
|
||||||
fi
|
fi
|
||||||
|
|
||||||
# if no seltheme file exists, ask to select a theme
|
# if no seltheme file exists, ask to select a theme
|
||||||
|
Loading…
Reference in New Issue
Block a user