if [ $DISTRO = "REDHAT"] || [ $DISTRO = "FEDORA"]; then
if ! rpm -qa | grep -q glibc-static; then
$BIN_ECHO -e " Package [glibc-static] not found. Installing.. "
yum install glibc-static
elif
$BIN_ECHO -e " All required packages installed.. "
fi
elif [ $DISTRO = "DEBIAN"]; then
if ! dpkg-query -l glibc; then
$BIN_ECHO -e " Package [glibc] not found. Installing.. "
apt-get install glibc
elif
$BIN_ECHO -e " All required packages installed.. "
fi
fi
156 行目: 予期しないトークン `fi' 付近の構文エラー
2 つのステートメントをまとめるにはどうすればよいですか?