2007-08-23 09:36:26 -07:00
|
|
|
#!/usr/bin/python
|
|
|
|
#
|
|
|
|
# Copyright (C) 2007 Ken VanDine <ken@vandine.org>
|
|
|
|
#
|
|
|
|
# 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.
|
|
|
|
|
|
|
|
import sys
|
|
|
|
|
|
|
|
options = sys.argv[1]
|
2007-08-27 04:42:06 -07:00
|
|
|
searchlist = sys.argv[2]
|
2007-08-24 10:49:58 -07:00
|
|
|
|
2007-08-27 04:42:06 -07:00
|
|
|
from conaryBackend import PackageKitConaryBackend
|
2007-08-24 10:49:58 -07:00
|
|
|
|
2007-08-27 04:42:06 -07:00
|
|
|
backend = PackageKitConaryBackend(sys.argv[1:])
|
|
|
|
backend.search_name(options,searchlist)
|
2007-08-30 11:26:48 -07:00
|
|
|
sys.exit(0)
|