You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
12 lines
346 B
12 lines
346 B
#!/bin/bash
|
|
|
|
set -e
|
|
|
|
# Download excludelist
|
|
blacklisted=($(wget --quiet https://raw.githubusercontent.com/probonopd/AppImages/master/excludelist -O - | sort | uniq | grep -v "^#.*" | grep "[^-\s]"))
|
|
|
|
# Create array
|
|
for item in ${blacklisted[@]:0:${#blacklisted[@]}-1}; do
|
|
echo -ne '\\"'$item'\\" << '
|
|
done
|
|
echo -ne '\\"'${blacklisted[-1]}'\\"'
|
|
|