summarylogtreecommitdiffstats
path: root/renderide.install
blob: a8c6630e6ff9572e29648701ac3be94e84510efa (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
post_install() {
  # Setup symlink neccesary for launching on Linux. Normally Renderide
  # tries to create this in the same dir as the bin, but that is /usr/bin
  # in this case, so it will fail and not launch.
  ln -sf /usr/bin/renderide-renderer /usr/bin/Renderite.Renderer

  # Notify the user that Resonite is needed separately
  echo ""
  echo ">>    Renderide is a custom renderer for Resonite, which"
  echo ">>    is not included in this package. Resonite must be"
  echo ">>    installed via Steam in order for Renderide to work."
  echo ""
}

post_upgrade() {
  post_install
}

pre_remove() {
  rm /usr/bin/Renderite.Renderer
}