mirror of
https://github.com/serghey-rodin/vesta.git
synced 2026-02-02 20:49:28 +01:00
If the keys dir does not exists create it.
This commit is contained in:
@@ -21,6 +21,10 @@ HASH=$(keygen)
|
||||
# Action #
|
||||
#----------------------------------------------------------#
|
||||
|
||||
if [ ! -d ${KEYS} ]; then
|
||||
mkdir ${KEYS}
|
||||
fi
|
||||
|
||||
if [[ -e ${KEYS}${HASH} ]] ; then
|
||||
while [[ -e ${KEYS}${HASH} ]] ; do
|
||||
HASH=$(keygen)
|
||||
|
||||
Reference in New Issue
Block a user