aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--TODO1
-rw-r--r--basic.sh3
-rw-r--r--general-config.sh (renamed from config.default.sh)9
-rw-r--r--user-config.default.sh9
4 files changed, 15 insertions, 7 deletions
diff --git a/TODO b/TODO
index 84528b1..712ff59 100644
--- a/TODO
+++ b/TODO
@@ -14,6 +14,7 @@ TODO file for aur-fd-scripts
* Set up directory structure if not existing.
* [consider] Notify on checksum change (should not happen unless version
numbers change).
+* Add $basedir in user-config.default.sh
[NON-FUNCTIONAL]
* Be consistent in quoting.
diff --git a/basic.sh b/basic.sh
index 91c49cd..5dc475f 100644
--- a/basic.sh
+++ b/basic.sh
@@ -29,7 +29,8 @@
script_path="$(realpath "$0")"
script_dir="${script_path%/*}"
-. "${script_dir}/config.sh" || exit 1
+. "${script_dir}/general-config.sh" || exit 1
+. "${script_dir}/user-config.sh" || exit 1
function init
diff --git a/config.default.sh b/general-config.sh
index 276f912..43b10b3 100644
--- a/config.default.sh
+++ b/general-config.sh
@@ -2,8 +2,7 @@
#
# Copyright 2018 Einhard Leichtfuß
#
-# config.default.sh - default configuration options;
-# copy this file to config.sh and modify to your liking.
+# general-config.sh - general configuration options
#
# This file is part of aur-fd-scripts
#
@@ -22,10 +21,6 @@
#
-# The maintainer to be listed in the PKGBUILD.
-maintainer="Your Name <your@email-address.tld>"
-
-
# Dictionaries in the VCS tree, GPL2 assumed.
typeset -a vcs_langs
vcs_langs=(
@@ -34,6 +29,8 @@ vcs_langs=(
spa-eng eng-spa
)
+# Dictionaries imported from WikDict, hence Wiktionary.
+# Dual licensed: CC-BY-SA, GNU FDL (1.1 or later).
typeset -a wikdict_langs
wikdict_langs=(
fra-deu deu-fra
diff --git a/user-config.default.sh b/user-config.default.sh
new file mode 100644
index 0000000..4675afb
--- /dev/null
+++ b/user-config.default.sh
@@ -0,0 +1,9 @@
+#!/usr/bin/env bash
+#
+# user-config.default.sh - user configuration options;
+# copy this file to user-config.sh and modify to
+# your liking.
+#
+
+# The maintainer to be listed in the PKGBUILD.
+maintainer="Your Name <your@email-address.tld>"