X-Git-Url: https://git.decadent.org.uk/gitweb/?a=blobdiff_plain;f=ziyi;h=ebbf7b35eab454cc8cfc24ba044c73a9910c8450;hb=ccc8127b612d886ccfdc26366313f985393c18af;hp=95eb1fd64532952b0779d63e27f03f7ee5c20265;hpb=f2133a20db5d8e8a2bda5c9635c65275a40578f9;p=dak.git diff --git a/ziyi b/ziyi index 95eb1fd6..ebbf7b35 100755 --- a/ziyi +++ b/ziyi @@ -3,7 +3,7 @@ # Create all the Release files # Copyright (C) 2001 Anthony Towns -# $Id: ziyi,v 1.1 2001-03-02 02:25:15 troup Exp $ +# $Id: ziyi,v 1.3 2001-03-08 05:24:57 ajt Exp $ # This program is free software; you can redistribute it and/or modify # it under the terms of the GNU General Public License as published by @@ -176,6 +176,12 @@ def main (): else: print "ALERT: no tree/bindirectory for %s" % (tree) + out.close() + if Cnf.has_key("Dinstall::SigningKeyring"): + os.system("gpg --secret-keyring \"%s\" --no-options --batch --no-tty --armour --detach-sign <%s --output=%s" % (Cnf["Dinstall::SigningKeyring"], + Cnf["Dir::RootDir"] + tree + "/Release", + Cnf["Dir::RootDir"] + tree + "/Release.gpg")) + ####################################################################################### if __name__ == '__main__':