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