From c692812e249413ed04e16bb8a902b2a061945ed8 Mon Sep 17 00:00:00 2001 From: xZero707 Date: Fri, 1 Nov 2024 23:10:41 +0100 Subject: [PATCH] Rename/move wp-generate-salt -> random-string --- src/{wp-utils/wp-generate-salt => utils/random-string} | 0 src/wp-utils/wp-generate-salts | 2 +- 2 files changed, 1 insertion(+), 1 deletion(-) rename src/{wp-utils/wp-generate-salt => utils/random-string} (100%) diff --git a/src/wp-utils/wp-generate-salt b/src/utils/random-string similarity index 100% rename from src/wp-utils/wp-generate-salt rename to src/utils/random-string diff --git a/src/wp-utils/wp-generate-salts b/src/wp-utils/wp-generate-salts index 5ea7d59..0ff88d5 100755 --- a/src/wp-utils/wp-generate-salts +++ b/src/wp-utils/wp-generate-salts @@ -7,7 +7,7 @@ main() { mkdir -p "${secretsDir}" for key in "${keys[@]}"; do - value="$(src/wp-utils/wp-generate-salt 64)" + value="$(src/utils/random-string 64)" secretName="wordpress_${key,,}" secretFile="${secretsDir}/${secretName}"