13 lines
332 B
Bash
Executable File
13 lines
332 B
Bash
Executable File
#!/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
|