We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent d2ec6d7 commit f817f4cCopy full SHA for f817f4c
script.sh
@@ -68,7 +68,7 @@ install_wordpress() {
68
# create wp config
69
cp wp-config-sample.php wp-config.php
70
71
- # set database details with perl find and replace
+ # set database details (find and replace)
72
sed -i "s/database_name_here/$dbname/g" wp-config.php
73
sed -i "s/username_here/$dbuser/g" wp-config.php
74
sed -i "s/password_here/$dbpass/g" wp-config.php
@@ -80,7 +80,7 @@ install_wordpress() {
80
push @chars, split //, "!@#$%^&*()-_ []{}<>~\`+=,.;:/?|";
81
sub salt { join "", map $chars[ rand @chars ], 1 .. 64 }
82
}
83
- s/put your unique phrase here//ge
+ s/put your unique phrase here/salt()/ge
84
' wp-config.php
85
86
# create uploads folder and set permissions
0 commit comments