|
|
@ -13,13 +13,17 @@ if [ ! -d $DST_DIR ]; then
|
|
|
|
mkdir -p $DST_DIR
|
|
|
|
mkdir -p $DST_DIR
|
|
|
|
git clone $SRC_REPO $DST_DIR
|
|
|
|
git clone $SRC_REPO $DST_DIR
|
|
|
|
else
|
|
|
|
else
|
|
|
|
cd $DST_DIR && git pull origin master
|
|
|
|
cd $DST_DIR && \
|
|
|
|
|
|
|
|
git config core.filemode false && \
|
|
|
|
|
|
|
|
git pull origin master
|
|
|
|
fi
|
|
|
|
fi
|
|
|
|
|
|
|
|
|
|
|
|
if [ ! -d $DST_DIR/plugins.local/nginx_xaccel ]; then
|
|
|
|
if [ ! -d $DST_DIR/plugins.local/nginx_xaccel ]; then
|
|
|
|
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
|
|
|
|
else
|
|
|
|
cd $DST_DIR/plugins.local/nginx_xaccel && git pull origin master
|
|
|
|
cd $DST_DIR/plugins.local/nginx_xaccel && \
|
|
|
|
|
|
|
|
git config core.filemode false && \
|
|
|
|
|
|
|
|
git pull origin master
|
|
|
|
fi
|
|
|
|
fi
|
|
|
|
|
|
|
|
|
|
|
|
chown -R $OWNER_UID:$OWNER_GID $DST_DIR
|
|
|
|
chown -R $OWNER_UID:$OWNER_GID $DST_DIR
|
|
|
|