Removes some unneeded lines from an early version
This commit is contained in:
parent
0ac730ca3c
commit
34d0a6bf19
1 changed files with 0 additions and 14 deletions
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…
Add table
Add a link
Reference in a new issue