home
·
contact
·
privacy
projects
/
config
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
Add /etc/hosts and hostname and FQDN setting.
[config]
/
all_new_2018
/
install_for_target.sh
diff --git
a/all_new_2018/install_for_target.sh
b/all_new_2018/install_for_target.sh
index 9d2e1a688c7fbbe8ab81aa5e1adcbea92824e840..7693a0530174eb1aaa148e205d52e923a49aa097 100755
(executable)
--- a/
all_new_2018/install_for_target.sh
+++ b/
all_new_2018/install_for_target.sh
@@
-7,7
+7,7
@@
config_tree_prefix="${HOME}/config/all_new_2018/apt-mark/"
for target in "$@"; do
path="${config_tree_prefix}${target}"
-
for line in $(cat "${path}")
; do
+
cat "${path}" | while read line
; do
if [ ! $(echo "${line}" | cut -c1) = "#" ]; then
apt-get -y install "${line}"
fi