make pkglibdir="${TRACK_ROOT}/usr/lib" \
     benchdir_root="${TRACK_ROOT}/usr/share/mysql" \
     testroot="${TRACK_ROOT}/usr/share/mysql" \
     install &&

if [[ $MARIA_TESTS == n ]]; then
    rm -rf "${INSTALL_ROOT}/usr/share/mysql/mysql-test"
fi &&

if [[ $MARIA_BENCH == n ]]; then
    rm -fr "${INSTALL_ROOT}/usr/share/mysql/sql-bench"
fi &&

if [[ $INIT_INSTALLED ]]; then
  install_config_file "$SPELL_DIRECTORY/init.d/mariadb.conf" \
                      "$INSTALL_ROOT/etc/sysconfig/mariadb"
fi
