mirror of
https://git.tt-rss.org/fox/ttrss-docker-compose
synced 2025-06-12 11:19:53 +02:00
remove useless code from app build script
This commit is contained in:
parent
f6f912c2b0
commit
6552ffd9dd
1 changed files with 3 additions and 17 deletions
|
@ -1,24 +1,10 @@
|
||||||
#!/bin/sh
|
#!/bin/sh
|
||||||
|
|
||||||
DST_DIR=/src/tt-rss
|
DST_DIR=/src/tt-rss
|
||||||
SRC_REPO=https://git.tt-rss.org/fox/tt-rss.git
|
|
||||||
|
|
||||||
if [ ! -d $DST_DIR ]; then
|
mkdir -p $DST_DIR
|
||||||
mkdir -p $DST_DIR
|
|
||||||
git clone $SRC_REPO $DST_DIR
|
|
||||||
else
|
|
||||||
cd $DST_DIR && \
|
|
||||||
git config core.filemode false && \
|
|
||||||
git pull origin master
|
|
||||||
fi
|
|
||||||
|
|
||||||
if [ ! -d $DST_DIR/plugins.local/nginx_xaccel ]; then
|
git clone https://git.tt-rss.org/fox/tt-rss.git $DST_DIR
|
||||||
git clone https://git.tt-rss.org/fox/ttrss-nginx-xaccel.git $DST_DIR/plugins.local/nginx_xaccel
|
git clone https://git.tt-rss.org/fox/ttrss-nginx-xaccel.git $DST_DIR/plugins.local/nginx_xaccel
|
||||||
else
|
|
||||||
cd $DST_DIR/plugins.local/nginx_xaccel && \
|
|
||||||
git config core.filemode false && \
|
|
||||||
git pull origin master
|
|
||||||
fi
|
|
||||||
|
|
||||||
mkdir -p /var/www
|
mkdir -p /var/www
|
||||||
|
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue