packagekit/backends/yum/helpers/get-updates.py

18 lines
524 B
Python
Raw Normal View History

2007-08-22 14:29:27 -07:00
#!/usr/bin/python
#
# Copyright (C) 2007 Richard Hughes <richard@hughsie.com>
#
# 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
2007-08-28 09:39:51 -07:00
from yumBackend import PackageKitYumBackend
2007-08-22 14:29:27 -07:00
2007-08-28 09:39:51 -07:00
backend = PackageKitYumBackend(sys.argv[1:])
backend.get_updates()
sys.exit(0)