#!/bin/sh

# shellcheck disable=SC1090
# shellcheck disable=SC2034
# shellcheck disable=SC2154

# check_lslpp
#
# Check if an AIX package is installed, if so install_check will be be set with
# name of rpm, otherwise it will be empty
#.

check_lslpp () {
  package_name="${1}"
  print_function "check_lslpp"
  if [ "${os_name}" = "AIX" ]; then
    lslpp_check="lslpp -L |grep \"${package_name}\""
  fi
}
