We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 4c61555 commit ba3495bCopy full SHA for ba3495b
tools/excludelist.sh
@@ -1,12 +1,9 @@
1
#!/bin/bash
2
3
+set -e
4
+
5
# Download excludelist
6
blacklisted=($(wget --quiet https://raw.githubusercontent.com/probonopd/AppImages/master/excludelist -O - | sort | uniq | grep -v "^#.*" | grep "[^-\s]"))
-if [ -z $blacklisted ]; then
- # Return nothing if no output from command
7
- echo ""
8
- exit
9
-fi
10
11
# Create array
12
for item in ${blacklisted[@]:0:${#blacklisted[@]}-1}; do
0 commit comments