1
0
mirror of https://github.com/SuperBFG7/ympd synced 2024-12-26 11:00:27 +00:00

Add contrib/crcert.sh to mkrelease.sh

This commit is contained in:
jcorporation 2018-07-10 23:09:17 +01:00
parent c19161752c
commit 8f3122588b
2 changed files with 8 additions and 1 deletions

View File

@ -1,6 +1,11 @@
#!/bin/sh
[ -d /etc/mympd/ssl ] && rm -r /etc/mympd/ssl
if [ -d /etc/mympd/ssl ]
then
echo "SSL directory exists, to recreate certificates: \"rm -r /etc/mympd/ssl\""
exit 1
fi
mkdir -p /etc/mympd/ssl/ca/certs
cd /etc/mympd/ssl/ca

View File

@ -39,5 +39,7 @@ sudo chown nobody /var/lib/mympd
[ -d /etc/default ] && \
sudo cp -v contrib/mympd.default /etc/default/mympd
[ -d /etc/mympd/ssl ] || contrib/crcert.sh
echo "myMPD installed"