telegram/openmamba_bot: added support for arch aarch64
This commit is contained in:
parent
a7cbefbe18
commit
f32788002f
@ -3,7 +3,7 @@
|
||||
#
|
||||
# openmamba bot for Telegram
|
||||
#
|
||||
# Copyright (C) 2016-2017 by Silvan Calarco <silvan.calarco@mambasoft.it>
|
||||
# Copyright (C) 2016-2022 by Silvan Calarco <silvan.calarco@mambasoft.it>
|
||||
#
|
||||
# GPL v3 license
|
||||
|
||||
@ -86,7 +86,7 @@ def details(update: Update, context: CallbackContext):
|
||||
'SELECT id,name,version,release,summary,url,description FROM sources where name="%s"' % (context.args[0]))
|
||||
for row in cursor:
|
||||
response += "<b>%s</b> %s-%s (devel)\n%s\n%s\n\n<i>%s</i>\n\n" % (row[1], row[2], row[3], row[4], row[5], row[6])
|
||||
for arch in [ 'x86_64', 'i586', 'arm' ]:
|
||||
for arch in [ 'x86_64', 'aarch64', 'i586', 'arm' ]:
|
||||
conn1 = sqlite3.connect('/var/webbuild/db/' + rep + '-' + arch + '.db', check_same_thread=False)
|
||||
cursor1 = conn1.cursor()
|
||||
cursor1.execute('SELECT id,name FROM packages where id_source=%s' % (row[0]))
|
||||
|
Loading…
Reference in New Issue
Block a user