summarylogtreecommitdiffstats
path: root/bazarr.install
blob: 47c4b157fa19e4a408a1659ee625321ab2d0a5ce (plain)
1
2
3
4
5
6
post_upgrade() {
  if [[ -d /usr/lib/bazarr/data ]] && [[ ! -d /var/lib/bazarr/config ]]; then
    echo "Moving old /usr/lib/bazarr/data/* to new /var/lib/bazarr..."
    mv /usr/lib/bazarr/data/* /var/lib/bazarr/ && rmdir /usr/lib/bazarr/data
  fi
}