Remove pms cache
This commit is contained in:
parent
b30948a880
commit
564120ad49
|
@ -3,10 +3,11 @@
|
||||||
EZMOD_DESCRIPTION="Enables various compatibility options in Portage tree"
|
EZMOD_DESCRIPTION="Enables various compatibility options in Portage tree"
|
||||||
EZMOD_COMPATIBILITY="ezsync"
|
EZMOD_COMPATIBILITY="ezsync"
|
||||||
EZMOD_AUTHOR="Rafal Kupiec"
|
EZMOD_AUTHOR="Rafal Kupiec"
|
||||||
EZMOD_VERSION="1.0"
|
EZMOD_VERSION="1.1"
|
||||||
|
|
||||||
ezsync_precommit() {
|
ezsync_precommit() {
|
||||||
printInfo "Enabling compatibility options..."
|
printInfo "Enabling compatibility options..."
|
||||||
|
run "rm -rf ${PORTAGESDIR}/${PORTAGE_BUILD[0]}/metadata/cache" || return 1
|
||||||
echo "cache-formats = md5-dict pms" >> ${PORTAGESDIR}/${PORTAGE_BUILD[0]}/metadata/layout.conf
|
echo "cache-formats = md5-dict pms" >> ${PORTAGESDIR}/${PORTAGE_BUILD[0]}/metadata/layout.conf
|
||||||
echo "profile-formats = portage-1" >> ${PORTAGESDIR}/${PORTAGE_BUILD[0]}/metadata/layout.conf
|
echo "profile-formats = portage-1" >> ${PORTAGESDIR}/${PORTAGE_BUILD[0]}/metadata/layout.conf
|
||||||
return 0
|
return 0
|
||||||
|
|
Loading…
Reference in New Issue