Removes some unneeded lines from an early version

master
Jonathan Hodgson 4 years ago
parent 0ac730ca3c
commit 34d0a6bf19
  1. 14
      kb

14
kb

@ -473,14 +473,6 @@ args+=("$@")
# ############# ############# #############
# ## TIME TO RUN THE SCRIPT ##
# ## ##
# ## You shouldn't need to edit anything ##
# ## beneath this line ##
# ## ##
# ############# ############# #############
# Exit on error. Append '||true' when you run the script if you expect an error. # Exit on error. Append '||true' when you run the script if you expect an error.
set -o errexit set -o errexit
@ -502,9 +494,3 @@ mainScript
safeExit # Exit cleanly safeExit # Exit cleanly
[ -n "$KB_DIR" ] && dataDir="$KB_DIR" ||
dataDir="${XDG_DATA_HOME:=$HOME/.local/share}/kb/"
mkdir -p "$dataDir"

Loading…
Cancel
Save