Skip to content

Commit

Permalink
Consistent comparison brackets
Browse files Browse the repository at this point in the history
  • Loading branch information
thespad committed Nov 26, 2024
1 parent 127ec18 commit fcf6b03
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion root/etc/s6-overlay/s6-rc.d/init-phpmyadmin-config/run
Original file line number Diff line number Diff line change
Expand Up @@ -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)';
Expand Down

0 comments on commit fcf6b03

Please sign in to comment.