myhome/.local/bin/eix-repos-sync
Marcin Woźniak 2f5b8bf090
Updated
Signed-off-by: Marcin Woźniak <y0rune@aol.com>
2021-04-11 01:33:00 +02:00

10 lines
245 B
Bash
Executable File

#!/bin/bash
if [ -e /etc/portage/make.conf ]; then
. /etc/portage/make.conf
if [ ! -d $PORTDIR/metadata/md5-cache -o -d $PORTDIR/.git ]; then
echo "updating metadata cache ..."
egencache --repo=gentoo --update
fi
fi