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