Project

General

Profile

Actions

Bug #7961

closed

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

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

Status:
Resolved
Priority:
Normal
Assigned To:
-
Category:
Deployment
Target version:
-
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

Actions

Also available in: Atom PDF