summarylogtreecommitdiffstats
path: root/mariadb-epglv.install
blob: 780652a55649c1538d7bd899209c33d5fff2697e (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
post_install() {
    if [ -e /usr/lib/mysql/plugin/mysqlepglv.so.pacnew ]; then
      echo "stop mysql before replacing /usr/lib/mysql/plugin/mysqlepglv.so"
    fi
  }
post_upgrade() {
    if [ -e /usr/lib/mysql/plugin/mysqlepglv.so.pacnew ]; then
      echo "stop mysql before replacing /usr/lib/mysql/plugin/mysqlepglv.so"
    fi
  }
post_remove() {
   if [ -e /usr/lib/mysql/plugin/mysqlepglv.so.pacsave ] && [ ! -e /usr/lib/mysql/plugin/mysqlepglv.so ]; then
     mv /usr/lib/mysql/plugin/mysqlepglv.so.pacsave /usr/lib/mysql/plugin/mysqlepglv.so
     echo "remove all related functions from your database before deleting /usr/lib/mysql/plugin/mysqlepglv.so"
   fi
}