Skip to content

Commit 387be1a

Browse files
author
WingLim
committed
fix: missing fi
1 parent d80e714 commit 387be1a

File tree

1 file changed

+3
-3
lines changed

1 file changed

+3
-3
lines changed

scripts/install.sh

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
#!/bin/sh
1+
#!/bin/bash
22

33
# install.sh
44
# MicFix
@@ -16,15 +16,15 @@ function cleanUpOldInstall() {
1616

1717
# Function that exits with an error code and message
1818
function abort() {
19-
echo $1
19+
echo "$1"
2020
exit 1
2121
}
2222

2323
# Get root permission
2424
if [[ $EUID -ne 0 ]];
2525
then
2626
exec sudo /bin/bash "$0" "$@"
27-
f
27+
fi
2828

2929
echo "Removing old installs"
3030
cleanUpOldInstall 2>/dev/null

0 commit comments

Comments
 (0)