summarylogtreecommitdiffstats
path: root/freesurfer.install
blob: 658abc6e26495c26027adc1a7ac43ab5137bd961 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
post_install () {
    if [ ! -f '/opt/freesurfer/license.txt' ] ; then
        echo ""
        echo "Looks like you do not have a registered license file."
        echo "You can register for one at the link below:"
        echo "    https://surfer.nmr.mgh.harvard.edu/registration.html"
        echo "Once received, copy it over as /opt/freesurfer/license.txt"
        echo ""
    fi
}

post_upgrade () {
    post_install
}