blob: 065956a104cd8fa541accf1db549d571a7ea131d (
plain)
1
2
3
4
5
6
7
|
#!/bin/sh
if [ `id -u` -ne 0 ]
then
echo 'this script should be run as root' >&2
exit 1
fi
su - <%= build_login %> -c "iurt --chrooted-urpmi -m contrib/release main/release -- http://repository.mageia.org/mandriva/ -r mandriva2010.1 x86_64 $@"
|