Skip to content

Commit f5283ef

Browse files
author
Alexandros Ioannides
authored
Minor bug fix in if statement
1 parent 77f1775 commit f5283ef

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

install/upgrade/versions/latest.sh

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -21,10 +21,10 @@ if [ "$WEB_SYSTEM" = "apache2" ] && [ ! -e "/etc/apt/sources.list.d/apache2.list
2121
if [ "$type" = "ubuntu" ]; then
2222
codename="$(lsb_release -s -c)"
2323
echo "deb http://ppa.launchpad.net/ondrej/apache2/ubuntu $codename main" > /etc/apt/sources.list.d/apache2.list
24-
elseif [ "$type" = "debian" ]; then
24+
elif [ "$type" = "debian" ]; then
2525
echo "deb https://packages.sury.org/php/ $(lsb_release -sc) main" > /etc/apt/sources.list.d/apache2.list
2626
wget --quiet https://packages.sury.org/apache2/apt.gpg -O /tmp/apache2_signing.key
2727
APT_KEY_DONT_WARN_ON_DANGEROUS_USAGE=1 apt-key add /tmp/apache2_signing.key > /dev/null 2>&1
2828
fi
2929
fi
30-
fi
30+
fi

0 commit comments

Comments
 (0)