    # File lib/rubygems/package/tar_output.rb, line 121
      def add_signatures
        if @data_signature then
          @tar_writer.add_file 'data.tar.gz.sig', 0644 do |io|
            io.write @data_signature
          end
        end

        if @meta_signature then
          @tar_writer.add_file 'metadata.gz.sig', 0644 do |io|
            io.write @meta_signature
          end
        end
      end