Skip to content

Commit 3ef5e82

Browse files
committed
Fix if else condition.
1 parent ce8ffa4 commit 3ef5e82

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

install/upgrade/manual/upgrade_mariadb.sh

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -20,7 +20,7 @@ fi
2020
# Detect operating system and load codename
2121
if [ "$ID" = "ubuntu" ]; then
2222
codename="$(lsb_release -s -c)"
23-
else if [ "$ID" = "debian" ]; then
23+
elseif [ "$ID" = "debian" ]; then
2424
codename="$(cat /etc/os-release |grep VERSION= |cut -f 2 -d \(|cut -f 1 -d \))"
2525
else
2626
echo "Can't detect the os version, cancelling."

0 commit comments

Comments
 (0)