13106: Ensure cache slot is reset on error
[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')
8         ;;
9     *)
10         echo >&2 "ERROR: $PACKAGE: pam_python.so dependency unavailable in $TARGET."
11         return 1
12         ;;
13 esac
14
15 case "$FORMAT" in
16     deb)
17         fpm_args+=('--deb-recommends=system-log-daemon')
18         ;;
19 esac