Merge branch '15003-preprocess-config'
[arvados.git] / sdk / pam / fpm-info.sh
1 # Copyright (C) The Arvados Authors. All rights reserved.
2 #
3 # SPDX-License-Identifier: Apache-2.0
4
5 case "$TARGET" in
6     debian* | ubuntu*)
7         fpm_depends+=('libpam-python' 'libcurl3-gnutls')
8         ;;
9     centos*)
10         fpm_depends+=('python-pam')
11         ;;
12     *)
13         echo >&2 "ERROR: $PACKAGE: pam_python.so dependency unavailable in $TARGET."
14         return 1
15         ;;
16 esac
17
18 case "$FORMAT" in
19     deb)
20         fpm_args+=('--deb-recommends=system-log-daemon')
21         ;;
22 esac