add lxc-yaourt
This commit is contained in:
parent
e97f6f0517
commit
87828a1c22
12
lxc-yaourt
Executable file
12
lxc-yaourt
Executable file
@ -0,0 +1,12 @@
|
|||||||
|
#!/bin/bash
|
||||||
|
|
||||||
|
if [ $EUID -ne 0 ]; then
|
||||||
|
echo "Must be root!" >&2
|
||||||
|
exit 1
|
||||||
|
fi
|
||||||
|
|
||||||
|
cd "${DIR:-/}"
|
||||||
|
lxc-attach --name login -- sudo -u aurrepo -- aurrepo --sign --verbose
|
||||||
|
lxc-attach --name login -- sudo -u aurrepo -- yaourt "$@"
|
||||||
|
lxc-attach --name login -- sudo -u aurrepo -- aurrepo --sign --verbose
|
||||||
|
lxc-attach --name login -- pacman -Sy
|
Loading…
Reference in New Issue
Block a user