2007-08-03 04:29:18 -07:00
|
|
|
#!/usr/bin/python
|
2007-08-22 14:09:05 -07:00
|
|
|
#
|
|
|
|
# Copyright (C) 2007 Richard Hughes <richard@hughsie.com>
|
2007-08-22 14:26:52 -07:00
|
|
|
# Copyright (C) 2007 Red Hat Inc, Seth Vidal <skvidal@fedoraproject.org>
|
2007-08-22 14:09:05 -07:00
|
|
|
#
|
|
|
|
# Licensed under the GNU General Public License Version 2
|
|
|
|
#
|
|
|
|
# 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
|
|
|
|
# the Free Software Foundation; either version 2 of the License, or
|
|
|
|
# (at your option) any later version.
|
2007-08-03 04:29:18 -07:00
|
|
|
|
|
|
|
import sys
|
|
|
|
|
2007-08-19 13:31:36 -07:00
|
|
|
options = sys.argv[1]
|
|
|
|
searchterms = sys.argv[2]
|
2007-08-03 04:29:18 -07:00
|
|
|
|
2007-08-24 03:21:27 -07:00
|
|
|
from yumBackend import PackageKitYumBackend
|
2007-08-19 13:31:36 -07:00
|
|
|
|
2007-08-24 03:21:27 -07:00
|
|
|
backend = PackageKitYumBackend(sys.argv[1:])
|
|
|
|
backend.search_details(options,searchterms)
|
|
|
|
sys.exit(1)
|
2007-08-03 04:29:18 -07:00
|
|
|
|