Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

install.sh error: XDG_DATA_HOME: unbound variable #19

Open
paidhi opened this issue Aug 29, 2024 · 1 comment
Open

install.sh error: XDG_DATA_HOME: unbound variable #19

paidhi opened this issue Aug 29, 2024 · 1 comment

Comments

@paidhi
Copy link

paidhi commented Aug 29, 2024

The install.sh script is checking if the environment variable XDG_DATA_HOME is set:

if [ -z "$XDG_DATA_HOME" ]; then
  LOCAL_INSTALL_DIR=~/.local/share/konsole
else
  LOCAL_INSTALL_DIR="${XDG_DATA_HOME}/konsole"
fi

But the script also does set -o nounset. This seems to be mutually exclusive. The script does not run but displays an error:

$ ./install.sh
./install.sh: line 106: XDG_DATA_HOME: unbound variable

I guess the nounset options needs to be removed.

@joapuiib
Copy link

joapuiib commented Nov 6, 2024

Same problem here.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants