Invert mariadb condition for mariadb-install-db

This commit is contained in:
flyingscorpio@arch-desktop 2022-01-29 17:33:42 +01:00
parent 7a1f82218d
commit 2bc46d4b59

View file

@ -241,7 +241,7 @@ mariadb:
- mariadb
- run:
command: sudo mariadb-install-db --user=mysql --basedir=/usr --datadir=/var/lib/mysql && sudo systemctl start mysqld.service && sudo mysql_secure_installation
condition: "sudo find /var/lib/mysql -mindepth 1 | read"
condition: "not sudo find /var/lib/mysql -mindepth 1 | read"
i3:
- install: