add updateEix.sh
This commit is contained in:
parent
e527e0630b
commit
4050e93557
1 changed files with 8 additions and 0 deletions
8
updateEix.sh
Executable file
8
updateEix.sh
Executable file
|
@ -0,0 +1,8 @@
|
|||
#!/usr/bin/env bash
|
||||
|
||||
EIX_DB="/var/cache/eix/portage.eix"
|
||||
PORTAGE_TIMESTAMP="/usr/portage/metadata/timestamp"
|
||||
|
||||
if [[ "$EIX_DB" -ot "$PORTAGE_TIMESTAMP" ]] ; then
|
||||
chronic eix-update
|
||||
fi
|
Loading…
Add table
Reference in a new issue