summarylogtreecommitdiffstats
path: root/.INSTALL
blob: 008defd2b43c2af666724763fbbbe1bd3fc34551 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15

## arg 1:  the new package version
post_install() {
    echo "Using the IBM i Access ODBC driver requires it to be registered."
    echo "To register IBM i Access ODBC driver, run as root:"
    echo "  odbcinst -i -d -f /opt/ibm/iaccess/unixodbcregistration"
}


## arg 1:  the old package version
pre_remove() {
    echo "To unregister IBM i Access ODBC driver, run following commands as root:"
    echo '  odbcinst -u -d -n "IBM i Access ODBC Driver"'
    echo '  odbcinst -u -d -n "IBM i Access ODBC Driver 64-bit"'
}