diff options
author | Vincent Petithory <vincent.petithory@gmail.com> | 2013-01-20 23:22:56 +0100 |
---|---|---|
committer | Vincent Petithory <vincent.petithory@gmail.com> | 2013-01-20 23:22:56 +0100 |
commit | fa2192520e55ed384d838741697d1ee8ff571f52 (patch) | |
tree | 11dc118168dc4df428ce0af9af488b33fbd1328b /client/client-updates/src/client-updates-inspect | |
parent | 93b5fb8cd41c3330bad339129a330d1fa738019d (diff) | |
download | tools-fa2192520e55ed384d838741697d1ee8ff571f52.tar.gz tools-fa2192520e55ed384d838741697d1ee8ff571f52.tar.bz2 tools-fa2192520e55ed384d838741697d1ee8ff571f52.tar.xz tools-fa2192520e55ed384d838741697d1ee8ff571f52.zip |
Add Client updates tools to generate zip updates.
Diffstat (limited to 'client/client-updates/src/client-updates-inspect')
-rwxr-xr-x | client/client-updates/src/client-updates-inspect | 20 |
1 files changed, 20 insertions, 0 deletions
diff --git a/client/client-updates/src/client-updates-inspect b/client/client-updates/src/client-updates-inspect new file mode 100755 index 0000000..03ae2d6 --- /dev/null +++ b/client/client-updates/src/client-updates-inspect @@ -0,0 +1,20 @@ +#!/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" |