home
·
contact
·
privacy
projects
/
config
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
2004b04
)
Improve symlink script.
author
Christian Heller
<c.heller@plomlompom.de>
Tue, 13 Nov 2018 22:06:12 +0000
(23:06 +0100)
committer
Christian Heller
<c.heller@plomlompom.de>
Tue, 13 Nov 2018 22:06:12 +0000
(23:06 +0100)
all_new_2018/symlink_etc.sh
patch
|
blob
|
history
diff --git
a/all_new_2018/symlink_etc.sh
b/all_new_2018/symlink_etc.sh
index 16edd24e6e56949b0f6fa328b3fd80e90f465a81..f1f97af1a557a27b5a5d51fdce500cda02c7cd23 100755
(executable)
--- a/
all_new_2018/symlink_etc.sh
+++ b/
all_new_2018/symlink_etc.sh
@@
-6,6
+6,11
@@
set -e
target="$1"
+if [ ! "${target}" = "all" ] && [ ! "$target}" = "server" ]; then
+ echo "Need proper target."
+ false
+fi
+
config_tree_prefix="${HOME}/config/all_new_2018/linkable_etc_files/"
cd "${config_tree_prefix}""${target}"
for path in $(find . -type f); do