packagekit/helpers/conary-refresh-cache.py
2007-08-30 14:26:48 -04:00

18 lines
528 B
Python
Executable File

#!/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
from conaryBackend import PackageKitConaryBackend
backend = PackageKitConaryBackend(sys.argv[1:])
backend.refresh_cache()
sys.exit(0)