Consistent comparison brackets

This commit is contained in:
thespad 2024-11-26 15:58:03 +00:00
parent 127ec18710
commit fcf6b03640
No known key found for this signature in database

View File

@ -5,7 +5,7 @@ mkdir -p \
/config/phpmyadmin \
/app/www/public/tmp
if [ ! -f /config/phpmyadmin/config.secret.inc.php ]; then
if [[ ! -f /config/phpmyadmin/config.secret.inc.php ]]; then
cat >/config/phpmyadmin/config.secret.inc.php <<EOT
<?php
\$cfg['blowfish_secret'] = '$(tr -dc 'a-zA-Z0-9~!@#$%^&*_()+}{?></";.,[]=-' </dev/urandom | fold -w 32 | head -n 1)';