From 707d4a1c72174e23f353477ee67012ddb34eb024 Mon Sep 17 00:00:00 2001 From: Bob Mottram Date: Sat, 11 Nov 2017 11:51:03 +0000 Subject: [PATCH] Try different path within emoji.txt --- src/freedombone-app-pleroma | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/freedombone-app-pleroma b/src/freedombone-app-pleroma index 557623bc..6db951b9 100755 --- a/src/freedombone-app-pleroma +++ b/src/freedombone-app-pleroma @@ -463,9 +463,9 @@ function pleroma_add_emoji { fi if ! grep -q "${shortcode}," $image_filename; then - echo "${shortcode}, ${image_filename}" >> $PLEROMA_DIR/config/emoji.txt + echo "${shortcode}, /custom_emoji/${shortcode}.${image_extension}" >> $PLEROMA_DIR/config/emoji.txt else - sed -i "s|${shortcode},.*|${shortcode}, ${image_filename}|g" $PLEROMA_DIR/config/emoji.txt + sed -i "s|${shortcode},.*|${shortcode}, /custom_emoji/${shortcode}.${image_extension}|g" $PLEROMA_DIR/config/emoji.txt fi chown -R pleroma:pleroma $PLEROMA_DIR