summarylogtreecommitdiffstats
path: root/edis.install
blob: 27ea8d4237088bd6cda6904dc66058e6a22b631c (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
post_install() {
    update-desktop-database -q
}

post_upgrade() {
    newVersion=$1
    oldVersion=$2

    if [ $newVersion = 2.0 ]; then
        for user in /home/*; do
            edisDir=/home/${user}/.edis
            [ -d $edisDir ] && rm $edisDir
        done
    fi

    post_install
}

post_remove() {
    post_install
}