10 lines
245 B
Bash
Executable File
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
|