summarylogtreecommitdiffstats
path: root/flume-ng-rabbitmq.install
blob: 1a4f39040b5d8da083b1efb47e7b0efe34459317 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
post_install() {
  if [ -d /usr/lib/apache-flume-ng/lib ]; then
    ln -s /usr/share/java/flume-ng-rabbitmq.jar /usr/lib/apache-flume-ng/lib/flume-ng-rabbitmq.jar
  fi
}

post_upgrade() {
  post_install
}

post_remove() {
  rm -f /usr/lib/apache-flume-ng/lib/flume-ng-rabbitmq.jar
}