update_miniflux.sh 265 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.*linux-amd64' | cut -d '"' -f 4`
  5. mv miniflux-linux-amd64 miniflux
  6. chmod +x miniflux
  7. ./miniflux -migrate