Fixed syntax error

This commit is contained in:
Kurtis Andrews
2024-06-29 16:33:27 +10:00
parent 7b30bcfa5c
commit ebe875f36c

View File

@@ -60,12 +60,12 @@ doBuild () {
logo
# Upgrading os if old version
CURVER=$(cat /etc/os-release | grep VERSION_ID | cut -d'"' -f 2)
if [$CURVER == "23.11"]
if [ $CURVER == "23.11" ]
then
echo Found that you are running 22.11, upgrading to 24.05
nix-channel --add https://channels.nixos.org/nixos-24.05 nixos
fi
if [$CURVER == "24.05"]
if [ $CURVER == "24.05" ]
then
echo Running 24.05. Awesome!
fi