packagekit/helpers/yum-update-system.py
Tim Lauridsen f12c5c4cb1 Added packagekit.py with a PackageKitBaseBackend there implemtent a the signals the diffent backend helper types can send.
It also contains virtual methods for all the diffent helper action, that can be implemented in subclass for each type of package system there have a python helpers.
Added a PackageKitYumBacked subclass skelton to implement the yum helper actions
2007-08-24 09:46:56 +01:00

21 lines
601 B
Python
Executable File

#!/usr/bin/python
#
# Copyright (C) 2007 Richard Hughes <richard@hughsie.com>
# Copyright (C) 2007 Tim Lauridsen <timlau@fedoraproject.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
from yumBackend import PackageKitYumBackend
backend = PackageKitYumBackend(sys.argv[1:])
backend.update_system(sys.argv[1])
sys.exit(1)