Merge pull request #84 from darealshinji/patch-1

remove all comments
This commit is contained in:
TheAssassin
2019-07-07 16:06:52 +02:00
committed by GitHub

View File

@@ -18,7 +18,7 @@ log_prefix="-- [$(basename $0)]"
echo "$log_prefix downloading excludelist from GitHub"
url="https://raw.githubusercontent.com/probonopd/AppImages/master/excludelist"
blacklisted=($(wget --quiet "$url" -O - | sort | uniq | grep -v "^#.*" | grep "[^-\s]"))
blacklisted=($(wget --quiet "$url" -O - | sed 's|#.*||g' | sort | uniq))
# sanity check
if [ "$blacklisted" == "" ]; then