add .pem symlink if it not exists
This commit is contained in:
parent
2dc2bcc8a9
commit
12a8e86d2a
@ -116,6 +116,10 @@ do
|
|||||||
|
|
||||||
mv -f "$arg/tmp.crt" "$arg/$NAME.crt"
|
mv -f "$arg/tmp.crt" "$arg/$NAME.crt"
|
||||||
|
|
||||||
|
if [ ! -f "$NAME.pem" ]; then
|
||||||
|
ln -s "$NAME.crt" "$arg/$NAME.pem"
|
||||||
|
fi
|
||||||
|
|
||||||
echo "Certificate for \"$NAME\" successfully created!"
|
echo "Certificate for \"$NAME\" successfully created!"
|
||||||
counter=$((counter+1))
|
counter=$((counter+1))
|
||||||
|
|
||||||
|
Loading…
x
Reference in New Issue
Block a user