case "$TARGET" in
    debian* | ubuntu*)
        fpm_depends+=('postgresql' 'libpq-dev' 'nginx | apache2')
        ;;
esac

# Exclude all files and directories matched by .gitignore
for i in `git status --ignored --porcelain |grep '^!!' |sed -e 's/^!! //' |grep -v git-commit.version |grep -v vendor/bundle`; do
  fpm_args+=("--exclude=var/www/arvados-sso/current/$i")
done

case "$TARGET" in
    debian* | ubuntu*)
        fpm_depends+=('postgresql' 'libpq-dev' 'nginx | apache2')
        ;;
    centos*)
        fpm_depends+=('postgresql-server' 'postgresql-devel' 'httpd')
        ;;
esac

# Exclude all files and directories matched by .gitignore
for i in `git status --ignored --porcelain |grep '^!!' |sed -e 's/^!! //' |grep -v git-commit.version |grep -v vendor/bundle`; do
  fpm_args+=("--exclude=var/www/arvados-sso/current/$i")
done

Add package dependencies for CentOS.
Add package dependencies for CentOS.

refs #7330
