10 lines
229 B
Bash
Executable file
10 lines
229 B
Bash
Executable file
#!/bin/bash
|
|
mkdir -p /app
|
|
chown abc:abc /app
|
|
|
|
if [ ! -d /app/headphones/.git ]; then
|
|
/sbin/setuser abc git clone https://github.com/rembo10/headphones.git /app/headphones
|
|
else
|
|
cd /app/headphones
|
|
/sbin/setuser abc git pull
|
|
fi
|