mirror of
https://git.yoctoproject.org/git/opkg-utils
synced 2026-03-21 17:21:28 +01:00
14 lines
196 B
Python
Executable File
14 lines
196 B
Python
Executable File
#!/usr/bin/env python
|
|
|
|
import sys, opkg
|
|
|
|
def usage():
|
|
sys.stderr.write("%s opk\n" % (sys.argv[0],))
|
|
sys.exit(-1)
|
|
|
|
if (len(sys.argv) < 2):
|
|
usage()
|
|
|
|
print(opkg.Package(sys.argv[1]))
|
|
|