7961: SSO postinst script uses bash.
authorBrett Smith <brett@curoverse.com>
Thu, 10 Dec 2015 20:52:32 +0000 (15:52 -0500)
committerBrett Smith <brett@curoverse.com>
Thu, 10 Dec 2015 20:52:32 +0000 (15:52 -0500)
Closes #7961.

jenkins/arvados-sso-server-extras/arvados-sso-server.postinst
jenkins/run-build-packages-sso.sh

index d39cdd441bfbabb21e93f166ec2be94b626ae7a2..7423e5bd8e99a3648cf097b8fba5d1f56ae3f96e 100755 (executable)
@@ -1,4 +1,4 @@
-#!/bin/sh
+#!/bin/bash
 
 set -e
 
index 25501359684c2a882af3c51ffa5d8030d935c502..2cee17f74cdd2f0fb4712257353f72d095f27a31 100755 (executable)
@@ -215,7 +215,8 @@ fi
 # Append --depends X and other arguments specified by fpm-info.sh in
 # the package source dir. These are added last so they can override
 # the arguments added by this script.
-declare -a fpm_args=()
+# `--iteration 2` accommodates a postinst change on 2015-12-10.
+declare -a fpm_args=(--iteration 2)
 declare -a fpm_depends=()
 FPM_INFO="$WORKSPACE/fpm-info.sh"
 if [[ -e "$FPM_INFO" ]]; then