update_miniflux.sh 275 B

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