summarylogtreecommitdiffstats
path: root/ramroot.install
blob: 0788732189ade97408737e037347db2b60932c98 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
#!/bin/bash

post_install() {
    /usr/bin/ramroot -CEY
}

post_upgrade() {
    if [[ "$2" =~ ^1.* ]]; then
        /usr/bin/ramroot -CEY
    fi
}

pre_remove() {
    /usr/bin/ramroot -D
}