add .pem symlink if it not exists
This commit is contained in:
1 parent
2dc2bcc8a9
commit
12a8e86d2a
1 file changed
+4
@@ -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))
|
||||||
|
|
||||||
|
|||||||
Reference in new issue
Block a user