deps.sh revision ac9c3ad8228000140d80f91d4c5492d89d6e79f6
8c294c1cd4d721818a59684cf7f2b36123f79163Stephen Gallagher# Dependency management.
8c294c1cd4d721818a59684cf7f2b36123f79163Stephen Gallagher# Copyright (C) 2014 Red Hat
c252d148fa8ab50aaaa8bbae7beb4d208025171dNikolai Kondrashov# This program is free software; you can redistribute it and/or modify
9542512d7be40f2000298c86d3d2b728f4f0f65aStephen Gallagher# it under the terms of the GNU General Public License as published by
9542512d7be40f2000298c86d3d2b728f4f0f65aStephen Gallagher# the Free Software Foundation; either version 3 of the License, or
9542512d7be40f2000298c86d3d2b728f4f0f65aStephen Gallagher# (at your option) any later version.
c6e39e15178675d0779e0ae855245774a09b4eb5Nikolai Kondrashov# This program is distributed in the hope that it will be useful,
c6e39e15178675d0779e0ae855245774a09b4eb5Nikolai Kondrashov# but WITHOUT ANY WARRANTY; without even the implied warranty of
c6e39e15178675d0779e0ae855245774a09b4eb5Nikolai Kondrashov# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
c6e39e15178675d0779e0ae855245774a09b4eb5Nikolai Kondrashov# GNU General Public License for more details.
29c5542feb4c45865ea61be97e0e84a1d1f04918Jakub Hrozek# You should have received a copy of the GNU General Public License
fd5a4eacd56700ffb08a73121aeacdc806cb0132Sumit Bose# along with this program. If not, see <http://www.gnu.org/licenses/>.
8b1f525acd20f36c836e827de3c251088961c5d9Stephen Gallagherif [ -z ${_DEPS_SH+set} ]; then
9d453f1e8b28983b363b44c49b7cd701a994fd97Nikolai Kondrashov# Dependency list
551aa6c36797ed720487f5974dcadabf19e6ff9fStephen Gallagher# "Integration tests dependencies satisfied" flag
551aa6c36797ed720487f5974dcadabf19e6ff9fStephen Gallagherif [[ "$DISTRO_BRANCH" == -redhat-* ]]; then
2a552e43581c74f51205c7141ec9f6e9542509f8Stephen Gallagher -e 's/@PRERELEASE_VERSION@//g' contrib/sssd.spec.in |
41291f19dbc5bf14f20729959b852fa605fcc02dJakub Hrozek readarray -t -O "${#DEPS_LIST[@]}" DEPS_LIST <<<"$_DEPS_LIST_SPEC"
6ea6ec5cb7d9985e2730fb9d4657624d10aed4d8Nick Guay# Install dependencies.
551aa6c36797ed720487f5974dcadabf19e6ff9fStephen Gallagher# Remove dependencies.
1746e8b8399da2a7a8da4aace186f66055ccfec1Jakub Hrozekfi # _DEPS_SH