summarylogtreecommitdiffstats
path: root/etterna-git.install
blob: ecf11380b2dfdf90af399917b31df78e83f38add (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
function post_install {
    desktop-file-install "/usr/share/applications/etterna.desktop"

    chmod 777 -R /opt/etterna-git
    chown -R nobody:nobody /opt/etterna-git

    echo "All user data is stored in your home directory."
    echo "However, you should still keep a backup of the data in /opt/etterna if you reinstall/remove Etterna!"
}

function post_upgrade {s
    post_install
}

function post_remove { 
    echo "Etterna has been uninstalled - all data in /opt/etterna is gone forever!"
}