X-Git-Url: https://plomlompom.com/repos/foo.html?a=blobdiff_plain;ds=inline;f=all_new_2018%2Fpurge_nonrequireds.sh;h=5b63ddf2b23c3e961ddee4f5b2889179b89068ec;hb=f516b485b15409f3550c25e5c92723d8a24c2e8a;hp=993a7181f14b122ff6f2b4b79644a644b208a633;hpb=8bbfcc3c6a262a74d66ac84a25c7775029f4e53f;p=config
diff --git a/all_new_2018/purge_nonrequireds.sh b/all_new_2018/purge_nonrequireds.sh
index 993a718..5b63ddf 100755
--- a/all_new_2018/purge_nonrequireds.sh
+++ b/all_new_2018/purge_nonrequireds.sh
@@ -9,7 +9,6 @@ config_tree_prefix="${HOME}/config/all_new_2018/apt-mark/"
dpkg-query -Wf '${Package} ${Priority}\n' | grep ' required' | sed 's/ required//' > /tmp/list_white_unsorted
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
echo "${line}" >> /tmp/list_white_unsorted