home · contact · privacy
Fix scripts.
[config] / all_new_2018 / install_for_target.sh
index 9d2e1a688c7fbbe8ab81aa5e1adcbea92824e840..d12c36eb6bd17aee6eca77f77f8877818e4cd82c 100755 (executable)
@@ -7,7 +7,8 @@ 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
+    #for line in $(cat "${path}"); do
+    cat "${path}" | while read line; do
         if [ ! $(echo "${line}" | cut -c1) = "#" ]; then
             apt-get -y install "${line}"
         fi