#!/bin/bash -e
gpg --always-trust --decrypt $1 > $1.mangled
echo test
echo x-modified: modified to fix orig tarball conflict | cat - $1.mangled | sponge $1.mangled
sed -i s/4fbd2c241f5d7075b115dfba1b130bfa/24c489d3ea9479077ae77c58ab46a3ed/ $1.mangled
sed -i s/997fd2158cd14bd29a5598a81c780db34f7173f7/424cd3c838a27951baaa5fc8c16b70c09de99947/ $1.mangled
sed -i s/20714525a688eadd649e2e497b4cd300870445867e1f8b3305b49da5ca55b50d/d906a9d626d1b925084d19a2df39d0a46b996b2d935c6a06268710e526ea51de/ $1.mangled
sed -i s/3214412/3216788/ $1.mangled
dscverify -u $1.mangled
mv $1.mangled $1
