#!/bin/bash

# https://bbs.archlinux.org/viewtopic.php?pid=1568802#p1568802
LANG= pacman -Qkk 2>&1 | grep "^.*: no mtree file$" | cut -d: -f1 | xargs sudo pacman -S --force --noconfirm

