11 lines
194 B
Python
Executable File
11 lines
194 B
Python
Executable File
#! /usr/bin/python
|
|
# -*-coding:utf-8-*-
|
|
|
|
from pamac import transaction
|
|
|
|
print('check_updates')
|
|
transaction.get_handle()
|
|
transaction.Refresh()
|
|
transaction.CheckUpdates()
|
|
transaction.StopDaemon()
|