summarylogtreecommitdiffstats
path: root/openfoam-com.install
blob: 7b67673c0931a5e4f4df183808e63dfc0a6f1412 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
# arg 1:  the new package version
post_install() {
  echo -e ""
  echo -e "\e[1m\e[31mNOTE:"
  echo -e " "
  echo -e "This install of OpenFOAM does NOT include the ThirdParty libraries."
  echo -e "Known issue: paraview readers do not compile."
  echo -e ""
  echo -e "Please use \"of\" to load OpenFOAM."
  echo -e ""
  echo -e "paraFoam will automatically be called using the option \"-builtin\""
  echo -e "Attention: works only, if OpenFOAM has been loaded before!\e[0m"
  echo -e ""
}

# arg 1:  the new package version
# arg 2:  the old package version
post_upgrade() {
  post_install $1
}