17 lines
No EOL
353 B
Bash
Executable file
17 lines
No EOL
353 B
Bash
Executable file
#! /bin/sh
|
|
QUAYPATH=${QUAYPATH:-"."}
|
|
QUAYCONF=${QUAYCONF:-"$QUAYPATH/conf"}
|
|
|
|
cd ${QUAYDIR:-"/"}
|
|
|
|
ln -s /conf/stack/* -t $QUAYCONF/stack
|
|
|
|
if [ -e $QUAYCONF/stack/robots.txt ]
|
|
then
|
|
cp $QUAYCONF/stack/robots.txt $QUAYPATH/templates/robots.txt
|
|
fi
|
|
|
|
if [ -e $QUAYCONF/stack/favicon.ico ]
|
|
then
|
|
cp $QUAYCONF/stack/favicon.ico $QUAYPATH/static/favicon.ico
|
|
fi |