aboutsummaryrefslogtreecommitdiff
path: root/install/conf.sh
diff options
context:
space:
mode:
authorTom Ryder <tom@sanctum.geek.nz>2018-11-30 14:52:22 +1300
committerTom Ryder <tom@sanctum.geek.nz>2018-11-30 14:52:22 +1300
commitc2372b7fd45ab87ef983ae5c847977b552f74ae4 (patch)
tree90a15ff901fbeed70aa5a52172e6c457db4e6d9e /install/conf.sh
parentMerge branch 'release/v2.5.0' into develop (diff)
downloaddotfiles-c2372b7fd45ab87ef983ae5c847977b552f74ae4.tar.gz
dotfiles-c2372b7fd45ab87ef983ae5c847977b552f74ae4.zip
Remove redundant element from install scripts path
Diffstat (limited to 'install/conf.sh')
-rw-r--r--install/conf.sh10
1 files changed, 10 insertions, 0 deletions
diff --git a/install/conf.sh b/install/conf.sh
new file mode 100644
index 00000000..f50cde73
--- /dev/null
+++ b/install/conf.sh
@@ -0,0 +1,10 @@
+# Read extra targets from an optional ~/.dotfiles.conf file
+if [ -e "$HOME"/.dotfiles.conf ] ; then
+ while read -r line ; do
+ case $line in
+ '#'*|'') ;;
+ *) set -- "$@" "$line" ;;
+ esac
+ done < "$HOME"/.dotfiles.conf
+fi
+make install "$@"