summarylogtreecommitdiffstats
path: root/mpdcovergrabber-git.install
blob: 21d78fba9f6e5141c7f117b5cd846df8d6a97a0a (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
post_install() {
  echo "==> You do need a LastFM api key (it's free) to use this script."
  echo "==> You have to set these variables in your environment" 
  echo "==> I'd recommend ~/.config/environment.d/envvars.conf:"
  echo "==> LASTFM_API_KEY_PATH"
  echo "==> MUSIC_LIBRARY_PATH"
  echo "==> You can get an api key at https://www.last.fm/api/account/create"
  echo "==> To enable 'mpdcovergrabber' run the following command:"
  echo "systemctl --user enable --now mpdcovergrabber"
  
}

post_upgrade() {
  post_install
}

post_remove() {
    echo "mpdcovergrabber-git has been unninstalled."
}