output
This commit is contained in:
parent
1d1d2b3c61
commit
46c07ff82f
|
@ -8627,7 +8627,7 @@ function install_gnu_social_theme {
|
||||||
# download a custom background image
|
# download a custom background image
|
||||||
if [ $MICROBLOG_BACKGROUND_IMAGE_URL ]; then
|
if [ $MICROBLOG_BACKGROUND_IMAGE_URL ]; then
|
||||||
MICROBLOG_BACKGROUND_IMAGE_URL_EXT=$(echo $MICROBLOG_BACKGROUND_IMAGE_URL | awk -F '.' '{print $2}')
|
MICROBLOG_BACKGROUND_IMAGE_URL_EXT=$(echo $MICROBLOG_BACKGROUND_IMAGE_URL | awk -F '.' '{print $2}')
|
||||||
wget $MICROBLOG_BACKGROUND_IMAGE_URL -o img/custom.${MICROBLOG_BACKGROUND_IMAGE_URL_EXT}
|
wget $MICROBLOG_BACKGROUND_IMAGE_URL -O img/custom.${MICROBLOG_BACKGROUND_IMAGE_URL_EXT}
|
||||||
if [ ! -f img/custom.${MICROBLOG_BACKGROUND_IMAGE_URL_EXT} ]; then
|
if [ ! -f img/custom.${MICROBLOG_BACKGROUND_IMAGE_URL_EXT} ]; then
|
||||||
echo "$MICROBLOG_BACKGROUND_IMAGE_URL"
|
echo "$MICROBLOG_BACKGROUND_IMAGE_URL"
|
||||||
echo $'Custom background image for microblog could not be downloaded'
|
echo $'Custom background image for microblog could not be downloaded'
|
||||||
|
|
Loading…
Reference in New Issue