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.
10 path="${aptmark_dir}/${target}"
11 # TODO: continue if file at $path not found, to get rid of dummy files
12 cat "${path}" | while read line; do
14 if [ ! $(echo "${line}" | cut -c1) = "#" ]; then
15 DEBIAN_FRONTEND=noninteractive apt-get -y -o Dpkg::Options::=--force-confold install "${line}"