2015-07-15 11:10:00 -05:00
|
|
|
#!/bin/bash
|
2015-08-04 19:43:37 -05:00
|
|
|
/sbin/setuser abc mkdir -p /app
|
|
|
|
|
|
|
|
if [ ! -d /app/headphones/.git ]; then
|
|
|
|
/sbin/setuser abc git clone https://github.com/rembo10/headphones.git /app/headphones
|
2015-07-15 11:10:00 -05:00
|
|
|
else
|
2015-08-04 19:43:37 -05:00
|
|
|
cd /app/headphones
|
|
|
|
/sbin/setuser abc git pull
|
2015-07-15 11:10:00 -05:00
|
|
|
fi
|