konsole
konsole copied to clipboard
install.sh error: XDG_DATA_HOME: unbound variable
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.