#!/bin/bash

if [ "$1" = "upgrade" ] || [ "$1" -eq 1 ]; then
  # This is an upgrade, let the package upgrading do the work
  exit 0
fi

rm -f /etc/filebeat/conf.d/shipper.yml
