Fix path
This commit is contained in:
parent
a39cb8d514
commit
b4bf75288b
|
@ -462,7 +462,7 @@ function pleroma_add_emoji {
|
|||
convert $image_filename -resize $emoji_resolution $image_filename
|
||||
fi
|
||||
|
||||
if ! grep -q "${shortcode}," $image_filename; then
|
||||
if ! grep -q "${shortcode}," $PLEROMA_DIR/config/emoji.txt; then
|
||||
echo "${shortcode}, /emoji/${shortcode}.${image_extension}" >> $PLEROMA_DIR/config/emoji.txt
|
||||
else
|
||||
sed -i "s|${shortcode},.*|${shortcode}, /emoji/${shortcode}.${image_extension}|g" $PLEROMA_DIR/config/emoji.txt
|
||||
|
|
Loading…
Reference in New Issue