Bug #7961

Debian package "arvados-sso-server" has Bash dialet in post-installation script

Added by Chen Chen over 6 years ago. Updated over 6 years ago.

Status:
Resolved
Priority:
Normal
Assigned To:
-
Category:
Deployment
Target version:
-
Start date:
12/08/2015
Due date:
% Done:

100%

Estimated time:
Story points:
-

Description

When installing sso on Debian Jessie,
/var/lib/dpkg/info/arvados-sso-server.postinst: 132: /var/lib/dpkg/info/arvados-sso-server.postinst: [[: not found

The Debian's /bin/sh links to dash, and it doesn't know bash dialet.
Either using POSIX shell syntax or changing to "#!/bin/bash" can solve this.

root@auth:~# apt-cache policy arvados-sso-server
arvados-sso-server:
Installed: 0.1.20151104191237.6a47c7d

Associated revisions

Revision 6db0d028 (diff)
Added by Brett Smith over 6 years ago

7961: SSO postinst script uses bash.

Closes #7961.

Revision 6db0d028 (diff)
Added by Brett Smith over 6 years ago

7961: SSO postinst script uses bash.

Closes #7961.

History

#1 Updated by Brett Smith over 6 years ago

  • Status changed from New to Resolved
  • % Done changed from 0 to 100

Applied in changeset arvados-dev|commit:6db0d02823e4721272a9492c2a03bb16afb56469.

Also available in: Atom PDF