#!/bin/bash export DATABASE_URL="" ./miniflux -flush-sessions wget `curl -s https://api.github.com/repos/miniflux/v2/releases/latest | grep 'browser_download_url.*miniflux-linux-amd64' | cut -d '"' -f 4` mv miniflux-linux-amd64 miniflux chmod +x miniflux ./miniflux -migrate