Replace pike symlink
This patch fix upgrade if files/pike is symlink.
Related-Prod: PROD-17540
Change-Id: Ic8ea27ad5bd62fa61d4dfb639e83784bd2eabc08
diff --git a/debian/salt-formula-barbican.postrm b/debian/salt-formula-barbican.postrm
new file mode 100644
index 0000000..7759173
--- /dev/null
+++ b/debian/salt-formula-barbican.postrm
@@ -0,0 +1,10 @@
+#!/bin/sh
+
+set -e
+
+dpkg-maintscript-helper symlink_to_dir \
+ /usr/share/salt-formulas/env/barbican/files/pike /usr/share/salt-formulas/env/barbican/files/ocata salt-formula-barbican -- "$@"
+
+#DEBHELPER#
+
+exit 0