summarylogtreecommitdiffstats
path: root/spotify-backup-git.install
blob: a2e646df842b005f30696dc23783c2ad82c356fe (plain)
1
2
3
4
5
6
7
8
9
post_install() {
    # Create the spotify-backup.conf file if it doesn't exist
    sudo spotify-backup -c /var/lib/spotify-backup/spotify-backup.conf /dev/null &> /dev/null

    echo "You will probably need to create a spotify application and add its client_id and client_secret to /var/lib/spotify-backup/spotify-backup.conf"
    echo "You will then need to run spotify-backup once manually to set the access and refresh tokens:"
    echo "# spotify-backup -c /var/lib/spotify-backup/spotify-backup.conf /dev/null"
}