delete_package (RubyForge)

    # File lib/rubyforge.rb, line 238
      def delete_package(group_id, package_id)
        page = "/frs/admin/index.php"

        group_id = lookup "group", group_id
        package_id = lookup "package", package_id

        form = {
          "func"        => "delete_package",
          "group_id"    => group_id,
          "package_id"  => package_id,
          "sure"        => "1",
          "really_sure" => "1",
          "submit"      => "Delete",
        }

        package_name = @autoconfig["package_ids"].invert[package_id]
        @autoconfig["package_ids"].delete package_name
        @autoconfig["release_ids"].delete package_name
        save_autoconfig

        run page, form
      end