File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change 22
33set -e
44
5- # download excludelist
6- blacklisted=($( wget --quiet https://raw.githubusercontent.com/probonopd/AppImages/master/excludelist -O - | sort | uniq | grep -v " ^#.*" | grep " [^-\s]" ) )
5+ # Download excludelist
6+ blacklisted=($( wget --quiet https://raw.githubusercontent.com/probonopd/AppImages/master/excludelist -O - | sort | uniq | cut -d ' # ' -f 1 | grep -v " ^#.*" | grep " [^-\s]" ) )
77
8- # sanity check
8+ # Sanity check
99if [ " $blacklisted " == " " ]; then
1010 exit 1;
1111fi
1212
13+ # If the linuxdeployqt source is not available locally, generate the file anyway
1314filename=$( readlink -f $( dirname " $0 " ) ) /linuxdeployqt/excludelist.h
15+ if [ ! -e " $filename " ] ; then
16+ filename=$( readlink -f $( dirname " $0 " ) ) /linuxdeployqt/excludelist.h
17+ fi
1418
15- # overwrite existing source file
19+ # Overwrite existing source file
1620cat > " $filename " << EOF
1721/*
1822 * List of libraries to exclude for different reasons.
You can’t perform that action at this time.
0 commit comments