File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change @@ -1528,23 +1528,21 @@ sub load_prereqs {
15281528source ~/.bash_profile
15291529% }
15301530
1531- % if ($type =~ /^(?:trusty|bionic)$/) {
1532- find /var/lib/mysql -type f | xargs touch
1533- % } elsif ($type =~ /^(?:buster|jessie)$/) {
1531+ % if ($type =~ /^(?:buster)$/) {
15341532chown -R mysql:mysql /var/lib/mysql
15351533% }
1536- % if ($conf->{repo}{mysql84}) {
1534+ % if ($conf->{repo}{mysql84} or $type =~ /^(?:questing|plucky)$/ ) {
15371535bash -c "cd /usr; mysqld --datadir='/var/lib/mysql' --user=mysql &"
15381536
15391537sleep 1
15401538until mysqladmin ping -h localhost --silent; do
15411539 echo 'waiting for mysqld to be connectable...'
15421540 sleep 1
15431541done
1544- % } elsif ($type =~ /sid|bookworm|bullseye/) {
1545- service mariadb start
1546- % } else {
1542+ % } elsif ($type =~ /buster/) {
15471543service mysql start
1544+ % } else {
1545+ service mariadb start
15481546% }
15491547service memcached start
15501548
You can’t perform that action at this time.
0 commit comments