Skip to content

Commit

Permalink
fix: missing fi
Browse files Browse the repository at this point in the history
  • Loading branch information
WingLim committed May 15, 2021
1 parent d80e714 commit 387be1a
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions scripts/install.sh
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
#!/bin/sh
#!/bin/bash

# install.sh
# MicFix
Expand All @@ -16,15 +16,15 @@ function cleanUpOldInstall() {

# Function that exits with an error code and message
function abort() {
echo $1
echo "$1"
exit 1
}

# Get root permission
if [[ $EUID -ne 0 ]];
then
exec sudo /bin/bash "$0" "$@"
f
fi

echo "Removing old installs"
cleanUpOldInstall 2>/dev/null
Expand Down

0 comments on commit 387be1a

Please sign in to comment.