Zhiyi Zhang | 4f1cfbc | 2018-01-17 16:38:40 -0800 | [diff] [blame] | 1 | #!/bin/sh -e |
2 | |||||
3 | if [ "$1" != "configure" ]; then | ||||
4 | exit 0 | ||||
5 | fi | ||||
6 | |||||
7 | APP=ndncert | ||||
8 | |||||
9 | if [ ! -f /var/lib/ndn/$APP/.ndn/pib.db ]; then | ||||
10 | sudo mkdir -p /var/lib/ndn/$APP/.ndn | ||||
11 | sudo chown -R ndn:ndn /var/lib/ndn/$APP | ||||
12 | fi | ||||
13 | |||||
14 | exit 0 |