summarylogtreecommitdiffstats
diff options
context:
space:
mode:
authorabelian4242021-02-07 09:53:54 +0600
committerabelian4242021-02-07 09:53:54 +0600
commite1ced5a0b07ce2c3291564ac10210d46ebdc760a (patch)
tree6a1729b8f581e7f0c36a15d367e94e3b451effaa
parentb9f47539908a9aec21499dbf52837b275026c0a8 (diff)
downloadaur-e1ced5a0b07ce2c3291564ac10210d46ebdc760a.tar.gz
Readded lines for custom cfg, needed to apply desktop profiles
-rw-r--r--prepare5
1 files changed, 5 insertions, 0 deletions
diff --git a/prepare b/prepare
index 4905532474ba..a47dcefae8d7 100644
--- a/prepare
+++ b/prepare
@@ -9,6 +9,11 @@ ver511=rc6
_tkg_initscript() {
+ # Load external configuration file if present. Available variable values will overwrite customization.cfg ones.
+ if [ -e "$_EXT_CONFIG_PATH" ]; then
+ source "$_EXT_CONFIG_PATH" && msg2 "External configuration file $_EXT_CONFIG_PATH will be used to override customization.cfg values.\n"
+ fi
+
# Default to Arch
if [ -z "$_distro" ] || [ "$_ispkgbuild" = "true" ]; then
msg2 "Defaulting to Archlinux target\n"