From 9836842c68ae05279c71b6b6f69b774e25ba3258 Mon Sep 17 00:00:00 2001 From: CyberLeo Date: Fri, 13 Jul 2012 10:31:59 -0500 Subject: [PATCH] j/seeds/rvm: chroot isn't always very featureful --- seeds/rvm.sh | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/seeds/rvm.sh b/seeds/rvm.sh index 2740242..3dc7065 100644 --- a/seeds/rvm.sh +++ b/seeds/rvm.sh @@ -7,4 +7,4 @@ include=curl,file,less,locales,sudo,vim,whois,htop,openssh-client,rsync,git-core . "${jseed}/debian.sh" echo "Installing RVM" -chroot --userspec=$(id -u "${ORIG_USER}"):$(id -g "${ORIG_USER}") "${jroot}" env -i ${jenv} HOME=/home/${ORIG_USER} sh -lc 'cd; curl -L http://get.rvm.io/ | bash -s stable' +env -i ${jenv} ${chroot} ${jroot} /bin/su "${ORIG_USER}" -c "curl -L http://get.rvm.io/ | bash -s stable" -- 2.42.0