This commit is contained in:
Bob Mottram 2016-02-04 16:05:03 +00:00
parent 1d1d2b3c61
commit 46c07ff82f
1 changed files with 1 additions and 1 deletions

View File

@ -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'