Skip to content

Commit

Permalink
Update wordpress-jail.sh
Browse files Browse the repository at this point in the history
Avoid the backquote character (`) in passwords. It seems to cause problems.
Upgrade to MariaDB 10.5
  • Loading branch information
basilhendroff committed Oct 26, 2020
1 parent b67618f commit c26cc10
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions wordpress-jail.sh
Original file line number Diff line number Diff line change
Expand Up @@ -14,7 +14,7 @@ print_err () {
}

rand() {
local rnum=$(LC_ALL=C tr -dc 'A-Za-z0-9!#$%()*+,-./:;<=>?@[]^_`{}~' </dev/urandom | head -c "$1" ; echo)
local rnum=$(LC_ALL=C tr -dc 'A-Za-z0-9!#$%()*+,-./:;<=>?@[]^_{}~' </dev/urandom | head -c "$1" ; echo)
echo $rnum
}

Expand Down Expand Up @@ -156,7 +156,7 @@ cat <<__EOF__ >/tmp/pkg.json
"php74-mysqli","php74-pecl-libsodium","php74-openssl","php74-pecl-imagick","php74-xml","php74-zip",
"php74-filter","php74-gd","php74-iconv","php74-pecl-mcrypt","php74-simplexml","php74-xmlreader","php74-zlib",
"php74-ftp","php74-pecl-ssh2","php74-sockets",
"mariadb104-server","unix2dos","ssmtp","phpmyadmin5-php74",
"mariadb105-server","unix2dos","ssmtp","phpmyadmin5-php74",
"php74-xmlrpc","php74-ctype","php74-session","php74-xmlwriter",
"redis","php74-pecl-redis"
]
Expand Down

0 comments on commit c26cc10

Please sign in to comment.