Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with
or
.
Download ZIP
Branch: master
Fetching contributors…

Cannot retrieve contributors at this time

executable file 17 lines (12 sloc) 0.261 kB
#!/bin/bash
LOGIN=$1
M2=/etc/pair.io/.m2
if [ ! "$LOGIN" ]; then
echo "Usage: instance-user LOGIN"
exit 1
fi
if [ -d "$M2" ]; then
echo "Seeding $LOGIN's .m2"
cp -R /etc/pair.io/.m2 /home/$LOGIN/.m2
chown -R $LOGIN:$LOGIN /home/$LOGIN/.m2
fi
Jump to Line
Something went wrong with that request. Please try again.