| Index: src/scripts/package_script_whitelist.sh
|
| diff --git a/src/scripts/package_script_whitelist.sh b/src/scripts/package_script_whitelist.sh
|
| index 2d23fe0755d18c0b5d2a24f015789e52dcaf1173..30b6f7aa610678c36fb273b51c78a508eebe1efa 100755
|
| --- a/src/scripts/package_script_whitelist.sh
|
| +++ b/src/scripts/package_script_whitelist.sh
|
| @@ -47,19 +47,6 @@ following commands:
|
| FLAGS "$@" || exit 1
|
| eval set -- "${FLAGS_ARGV}"
|
|
|
| -# Returns true if the input file is whitelisted.
|
| -#
|
| -# $1 - The file to check
|
| -is_whitelisted() {
|
| - local file=$1
|
| - local whitelist="$FLAGS_whitelist"
|
| - test -f "$whitelist" || return
|
| -
|
| - local checksum=$(md5sum "$file" | awk '{ print $1 }')
|
| - local count=$(grep -c "$checksum" "${whitelist}" || /bin/true)
|
| - test $count -ne 0
|
| -}
|
| -
|
| # Adds a the file at the given path to the whitelist.
|
| #
|
| # $1 - Path to file to add to whitelist.
|
|
|