fix permissions for non-unraid users

This commit is contained in:
Sean Dion 2015-08-06 12:52:40 -05:00
parent c80cf36173
commit 4358bd67f2

View file

@ -1,5 +1,6 @@
#!/bin/bash #!/bin/bash
/sbin/setuser abc mkdir -p /app mkdir -p /app
chown abc:abc /app
if [ ! -d /app/headphones/.git ]; then if [ ! -d /app/headphones/.git ]; then
/sbin/setuser abc git clone https://github.com/rembo10/headphones.git /app/headphones /sbin/setuser abc git clone https://github.com/rembo10/headphones.git /app/headphones