fix: noconfirm auto-selects first AUR match
This commit is contained in:
+10
@@ -0,0 +1,10 @@
|
||||
#!/usr/bin/env python3
|
||||
|
||||
import sys, os
|
||||
from glob import glob
|
||||
|
||||
files = glob(os.path.join(sys.argv[1], '*.tmp'))
|
||||
assert len(files) == 1
|
||||
|
||||
with open(files[0]) as ifile, open(sys.argv[2], 'w') as ofile:
|
||||
ofile.write(ifile.read())
|
||||
Reference in New Issue
Block a user