packagekit/backends/yum/helpers/update-system.py

21 lines
590 B
Python
Raw Normal View History

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