blob: 4ee63ca3b07cd5adc8d8629f6ad0a7850a3fee2d [file] [log] [blame]
#!/bin/sh -e
if [ "$1" != "configure" ]; then
exit 0
fi
APP=ndncert
if [ ! -f /var/lib/ndn/$APP/.ndn/pib.db ]; then
sudo mkdir -p /var/lib/ndn/$APP/.ndn
sudo chown -R ndn:ndn /var/lib/ndn/$APP
fi
exit 0