summarylogtreecommitdiffstats
path: root/mpv-mpris.install
blob: 6d00fa6cec1e4c31628430c6be4070272a603981 (plain)
1
2
3
4
5
6
7
8
9
10
post_install() {
  mkdir /etc/mpv/scripts
  ln -s /usr/lib/mpv/mpris.so /etc/mpv/scripts/mpris.so
  echo ">>> If you don't want this plugin to autoload, delete the symlink at /etc/mpv/scripts/mpris.so."
}

post_upgrade() {
  # respect the user's choice and don't create the symlink again
  true
}