milis/bin/tamir_chroot_db

5 lines
98 B
Bash

#!/bin/sh
cd /var/lib/pkg/DB
grep -rli '/mnt/lfs' * | xargs -i@ sed -i 's/\/mnt\/lfs\///g' @
cd -