Remove pms cache

This commit is contained in:
belliash 2012-01-17 13:06:01 +01:00
父節點 b30948a880
當前提交 564120ad49
共有 1 個檔案被更改,包括 2 行新增1 行删除

查看文件

@ -3,10 +3,11 @@
EZMOD_DESCRIPTION="Enables various compatibility options in Portage tree"
EZMOD_COMPATIBILITY="ezsync"
EZMOD_AUTHOR="Rafal Kupiec"
EZMOD_VERSION="1.0"
EZMOD_VERSION="1.1"
ezsync_precommit() {
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 "profile-formats = portage-1" >> ${PORTAGESDIR}/${PORTAGE_BUILD[0]}/metadata/layout.conf
return 0