Brian O'Connor dd7a2795e8 Adding deb/postrm to recreate /opt if it is removed by dpkg
Change-Id: Ic52fd90ab4726c88e395da3621f392d5155866d8
2015-09-18 14:54:43 -07:00

6 lines
148 B
Bash
Executable File

#!/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