github.com/palisadeinc/bor@v0.0.0-20230615125219-ab7196213d15/packaging/templates/package_scripts/postinst.profile (about) 1 #!/bin/bash 2 # This is a postinstallation script so the service can be configured and started when requested 3 # 4 if [ -d "/var/lib/bor" ] 5 then 6 echo "Directory /var/lib/bor exists." 7 else 8 mkdir -p /var/lib/bor 9 sudo chown -R bor /var/lib/bor 10 fi 11 sudo systemctl daemon-reload