2021-03-22 21:27:54 +01:00
|
|
|
#!/bin/bash
|
2021-04-11 01:33:00 +02:00
|
|
|
|
|
|
|
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
|