mirror of
https://github.com/linuxserver/docker-htpcmanager.git
synced 2026-04-06 00:01:54 +08:00
9 lines
183 B
Bash
9 lines
183 B
Bash
#!/bin/bash
|
|
|
|
if [ ! -d "/app/htpcmanager/.git" ]; then
|
|
/sbin/setuser abc git clone https://github.com/Hellowlol/HTPC-Manager.git /app/htpcmanager
|
|
else
|
|
cd /app/htpcmanager
|
|
git pull
|
|
fi
|