fix custom ssl creation (#122)

This commit is contained in:
Saeed Vaziry
2024-03-18 17:17:45 +01:00
committed by GitHub
parent 3dc38bf56b
commit 7949165648
4 changed files with 49 additions and 7 deletions

View File

@ -1,12 +1,12 @@
if ! sudo mkdir __path__; then
if ! sudo mkdir -p __path__; then
echo 'VITO_SSH_ERROR' && exit 1
fi
if ! echo __certificate__ | sudo tee __certificate_path__; then
if ! echo "__certificate__" | sudo tee __certificate_path__; then
echo 'VITO_SSH_ERROR' && exit 1
fi
if ! echo __pk__ | sudo tee __pk_path__; then
if ! echo "__pk__" | sudo tee __pk_path__; then
echo 'VITO_SSH_ERROR' && exit 1
fi