Use bash for aur helper
This commit is contained in:
parent
32880e3fa1
commit
a013949534
1 changed files with 3 additions and 6 deletions
9
bin/aur
9
bin/aur
|
|
@ -1,8 +1,5 @@
|
|||
#!/usr/bin/env tako
|
||||
#!/usr/bin/env bash
|
||||
|
||||
import sys
|
||||
set -exuo pipefail
|
||||
|
||||
assert len(sys.argv) >= 2
|
||||
|
||||
fmt = 'https://aur.archlinux.org/cgit/aur.git/snapshot/{}.tar.gz'
|
||||
wget @(fmt.format(sys.argv[1]))
|
||||
wget "https://aur.archlinux.org/cgit/aur.git/snapshot/$1.tar.gz"
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue