summaryrefslogblamecommitdiff
path: root/client/client-updates/src/client-updates-inspect
blob: 03ae2d659d1d143e312588702132d52b89aeaa99 (plain) (tree)



















                                             
#!/bin/sh

#config
SRC=$(dirname $(readlink -f "$0"))

. ${SRC}/client-updates.conf

DIRECTORY="${UPDATES_DIR}/release"
listing=$(mktemp)
IFS='
'
for f in $(tac $DIRECTORY/resources2.txt); do
    file=$(awk '{ print $1; }' <<< $f)
    unzip -l "$DIRECTORY/$file" >> $listing
done

if [ -f "$listing" ]; then
    less "$listing"
fi
rm -f "$listing"