deps.sh revision db0982c52294ee5ea08ed242d27660783fde29cd
#
# Dependency management.
#
# Copyright (C) 2014 Red Hat
#
# it under the terms of the GNU General Public License as published by
# the Free Software Foundation; either version 3 of the License, or
# (at your option) any later version.
#
# This program is distributed in the hope that it will be useful,
# but WITHOUT ANY WARRANTY; without even the implied warranty of
# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
# GNU General Public License for more details.
#
# You should have received a copy of the GNU General Public License
# along with this program. If not, see <http://www.gnu.org/licenses/>.
if [ -z ${_DEPS_SH+set} ]; then
# Dependency list
)
# "Integration tests dependencies satisfied" flag
if [[ "$DISTRO_BRANCH" == -redhat-* ]]; then
DEPS_LIST+=(
)
-e 's/@PACKAGE_NAME@/package-name/g' \
fi
if [[ "$DISTRO_BRANCH" == -debian-* ]]; then
DEPS_LIST+=(
)
fi
# Install dependencies.
function deps_install()
{
distro_pkg_install "${DEPS_LIST[@]}"
}
# Remove dependencies.
function deps_remove()
{
distro_pkg_remove "${DEPS_LIST[@]}"
}
fi # _DEPS_SH