add .pem symlink if it not exists
This commit is contained in:
@ -116,6 +116,10 @@ do
|
||||
|
||||
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!"
|
||||
counter=$((counter+1))
|
||||
|
||||
|
Reference in New Issue
Block a user