summarylogtreecommitdiffstats
path: root/j9-git.install
blob: 454c05ceb2759f3ced1a43f32e6cb15fba01a299 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
## arg 1:  the new package version
## arg 2:  the old package version

post_install() {
  mkdir -p usr/lib/j9/tools/regex
  ln -s /usr/lib/libpcre2-posix.so usr/lib/j9/tools/regex/libjpcre2.so
}

pre_remove() {
  rm usr/lib/j9/tools/regex/libjpcre2.so
  rmdir usr/lib/j9/tools/regex usr/lib/j9/tools
}