aboutsummaryrefslogtreecommitdiff
path: root/trunk/mkbuild/kde4.mkSlackBuild
diff options
context:
space:
mode:
authorrhatto <rhatto@04377dda-e619-0410-9926-eae83683ac58>2009-01-22 01:55:26 +0000
committerrhatto <rhatto@04377dda-e619-0410-9926-eae83683ac58>2009-01-22 01:55:26 +0000
commit9bdbd82aa16d3ff0b4cd2828adde49a73c3f1c9b (patch)
tree3a47075c2e259da6176bd05c75362f25e48e28de /trunk/mkbuild/kde4.mkSlackBuild
parentc46804a91d09ae9d737715dfb14019458bceefa1 (diff)
downloadsimplepkg-9bdbd82aa16d3ff0b4cd2828adde49a73c3f1c9b.tar.gz
simplepkg-9bdbd82aa16d3ff0b4cd2828adde49a73c3f1c9b.tar.bz2
more changes towards #41 completion
git-svn-id: svn+slack://slack.fluxo.info/var/svn/simplepkg@766 04377dda-e619-0410-9926-eae83683ac58
Diffstat (limited to 'trunk/mkbuild/kde4.mkSlackBuild')
-rw-r--r--trunk/mkbuild/kde4.mkSlackBuild9
1 files changed, 9 insertions, 0 deletions
diff --git a/trunk/mkbuild/kde4.mkSlackBuild b/trunk/mkbuild/kde4.mkSlackBuild
index 0e34547..7ca8989 100644
--- a/trunk/mkbuild/kde4.mkSlackBuild
+++ b/trunk/mkbuild/kde4.mkSlackBuild
@@ -226,6 +226,15 @@ echo Success.
# Check Manifest file
if [ -e "$CWD/Manifest" ]; then
+ # Manifest signature checking
+ if grep -q -- "-----BEGIN PGP SIGNED MESSAGE-----" $CWD/Manifest; then
+ echo "Checking Manifest signature..."
+ gpg --verify $CWD/Manifest
+ if [ "$?" != "0" ]; then
+ exit $ERROR_MANIFEST
+ fi
+ fi
+
MANIFEST_LINES="`grep -E -v "^(MKBUILD|SLACKBUILD)" $CWD/Manifest | wc -l`"
for ((MANIFEST_COUNT=1; MANIFEST_COUNT <= $MANIFEST_LINES; MANIFEST_COUNT++)); do