aboutsummaryrefslogtreecommitdiffstats
path: root/framework/src/onos/tools/package/deb/postrm
diff options
context:
space:
mode:
Diffstat (limited to 'framework/src/onos/tools/package/deb/postrm')
-rwxr-xr-xframework/src/onos/tools/package/deb/postrm5
1 files changed, 5 insertions, 0 deletions
diff --git a/framework/src/onos/tools/package/deb/postrm b/framework/src/onos/tools/package/deb/postrm
new file mode 100755
index 00000000..90dd6164
--- /dev/null
+++ b/framework/src/onos/tools/package/deb/postrm
@@ -0,0 +1,5 @@
+#!/bin/bash
+
+# FIXME dpkg will remove /opt if it is empty after removing onos
+# We should recreate /opt if it was deleted.
+sudo mkdir -p /opt