Conditions not needed
This commit is contained in:
parent
d415be01c3
commit
1cbdebed65
|
@ -107,15 +107,11 @@ function pleroma_custom_logo {
|
|||
if [ -f "$basedir/priv/static/static/logo.png" ]; then
|
||||
if [ -f "$HOME/${PROJECT_NAME}/img/logo_fbone3.png" ]; then
|
||||
cp "$HOME/${PROJECT_NAME}/img/logo_fbone3.png" "$basedir/static/logo.png"
|
||||
if [ -d "$basedir/priv/static/static" ]; then
|
||||
cp "$HOME/${PROJECT_NAME}/img/logo_fbone3.png" "$basedir/priv/static/static/logo.png"
|
||||
fi
|
||||
cp "$HOME/${PROJECT_NAME}/img/logo_fbone3.png" "$basedir/priv/static/static/logo.png"
|
||||
else
|
||||
if [ -f "/home/$MY_USERNAME/${PROJECT_NAME}/img/logo_fbone3.png" ]; then
|
||||
cp "/home/$MY_USERNAME/${PROJECT_NAME}/img/logo_fbone3.png" "$basedir/static/logo.png"
|
||||
if [ -d "$basedir/priv/static/static" ]; then
|
||||
cp "/home/$MY_USERNAME/${PROJECT_NAME}/img/logo_fbone3.png" "$basedir/priv/static/static/logo.png"
|
||||
fi
|
||||
cp "/home/$MY_USERNAME/${PROJECT_NAME}/img/logo_fbone3.png" "$basedir/priv/static/static/logo.png"
|
||||
fi
|
||||
fi
|
||||
fi
|
||||
|
|
Loading…
Reference in New Issue