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:
parent
c19161752c
commit
8f3122588b
@ -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
|
||||
|
||||
|
@ -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"
|
||||
|
Loading…
Reference in New Issue
Block a user