summarylogtreecommitdiffstats
path: root/openshift-source-to-image.install
blob: 96cd0fcced3048a153cda5081e6ad21426ebdcca (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27

pre_remove()
{
    echo "Running source-to-image pre_remove script..."

    rm /usr/bin/sti
    rm /usr/bin/s2i

}

pre_upgrade() {
    pre_remove
}

post_upgrade() {
    post_install
}

post_install() {

    echo "Running source-to-image post_install script..."

    ln -s /usr/bin/s2i        /usr/bin/sti

    s2i

}