Gitlab EE has bad PATH in /etc/profile.d/github-desktop.sh

In the debian version the file /etc/profile.d/github-desktop.sh there is bad format for PATH

It contains export PATH="/opt/GitHub Desktop:$PATH"

Dash(sh) throws a error -sh: 3: export: Desktop:/usr/local/bin:/usr/bin:/bin:/usr/local/games:/usr/games:/snap/bin:/usr/lib/jvm/java-11-oracle/bin:/usr/lib/jvm/java-11-oracle/db/bin: bad variable name

Desktop:$PATH is NOT valid variable and I had to edit that file to correct it. All debian users will have errors install deb packages because of this error and dpkg will fail.

Correct path export PATH="/opt/GitHub:$PATH"

Edited Dec 14, 2019 by Scott Grayban
Assignee Loading
Time tracking Loading