tenfourfox/tools/update-packaging/test/catmanifest.sh
Cameron Kaiser c9b2922b70 hello FPR
2017-04-19 00:56:45 -07:00

15 lines
293 B
Bash
Executable File

#!/bin/bash
# helper tool for testing. Cats the manifest out of a mar file
mar="$1"
workdir="/tmp/catmanifest"
rm -rf "$workdir"
mkdir -p "$workdir"
cp "$1" "$workdir"
cd "$workdir"
mar -x "$1"
mv updatev2.manifest updatev2.manifest.bz2
bzip2 -d updatev2.manifest.bz2
cat updatev2.manifest