2 # Walks through the package names in the argument-selected files of
3 # apt-mark/ and ensures the respective packages are installed.
5 # Ignores anything in an apt-mark/ file after the last newline.
8 config_tree_prefix="${HOME}/config/all_new_2018/apt-mark/"
10 for target in "$@"; do
11 path="${config_tree_prefix}${target}"
12 cat "${path}" | while read line; do
14 if [ ! $(echo "${line}" | cut -c1) = "#" ]; then
15 apt-get -y install "${line}"