~singpolyma/soapbox-fly

e4962c2eb4a9c5bc2106c6926984b793edd2967d — Stephen Paul Weber 1 year, 1 month ago f68de53
Hide local timeline
1 files changed, 1 insertions(+), 0 deletions(-)

M entrypoint.sh
M entrypoint.sh => entrypoint.sh +1 -0
@@ 14,6 14,7 @@ export PATH="$PATH:/opt/pleroma/bin"
FLAGFILE="/opt/pleroma/instance/.soapbox_${SOAPBOX_FE_VERSION=latest}_ready"
if [ ! -f $FLAGFILE ]; then
	unzip -q -o /opt/pleroma/dist/soapbox-fe.zip -d /opt/pleroma/instance
	sed -i 's/<\/head>/<style>a[href="\/timeline\/local"] { display: none !important; }<\/style><\/head>/' /data/pleroma/static/index.html
	touch "$FLAGFILE"
	chown -R pleroma:pleroma /opt/pleroma/instance
fi