Fixed syntax error
This commit is contained in:
@@ -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
|
||||
|
||||
Reference in New Issue
Block a user