[Pkg-xfce-devel] /usr/bin/startxfce4 requires #!/bin/bash (vs #!/bin/sh) or modification(s) to the script to work with /bin/sh

Zenaan Harkness zen at freedbms.net
Fri Mar 25 03:10:16 UTC 2016


When startxfce4 begins with #!/bin/sh:

$ startxfce4 --help 2>&1 | less
/usr/bin/startxfce4: 27: test: x--help: unexpected operator
/usr/bin/startxfce4: 40: test: x--help: unexpected operator


When startxfce4 begins with #!/bin/bash:
$ startxfce4 --help 2>&1 | less
Usage:
  startxfce4 [OPTIONS...]

Options:
  --help                   Show help options
  --with-ck-launch         Start xfce4-session inside a
                           ConsoleKit session


Regards,
Zenaan



More information about the Pkg-xfce-devel mailing list