Don't need to rm
This commit is contained in:
parent
2ee39a346c
commit
1432f707ea
2
arch-config/scripts/arch-config.sh
Executable file → Normal file
2
arch-config/scripts/arch-config.sh
Executable file → Normal file
@ -76,7 +76,7 @@ git clone -b temporary-dir https://gitea.exu.li/realstickman/configs.git &>/dev/
|
|||||||
# NOTE Arguments get passed automatically now
|
# NOTE Arguments get passed automatically now
|
||||||
if ! cmp --silent "$scriptloc" "$HOME/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 "$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
|
||||||
|
|
||||||
# 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