use dpkg-deb /dev/stdin instead of arpy
parent
bc9771e7d1
commit
d492cd51c7
@ -1,11 +0,0 @@
|
||||
#!/usr/bin/env python3
|
||||
|
||||
import arpy
|
||||
import sys
|
||||
|
||||
ar=arpy.Archive(fileobj=sys.stdin.buffer)
|
||||
|
||||
for f in ar:
|
||||
if f.header.name == b"control.tar.gz":
|
||||
sys.stdout.buffer.write(f.read())
|
||||
break
|
Loading…
Reference in New Issue