|
|
- # Copyright 2010-2012, Asio Software Technologies
- # Distributed under the terms of the GNU General Public License v3
- EZMOD_DESCRIPTION="Enables various compatibility options in Portage tree"
- EZMOD_COMPATIBILITY="ezsync"
- EZMOD_AUTHOR="Rafal Kupiec"
- EZMOD_VERSION="1.1"
-
- ezsync_precommit() {
- printInfo "Enabling compatibility options..."
- rm -rf ${PORTAGESDIR}/${PORTAGE_BUILD[0]}/metadata/cache
- echo "cache-formats = md5-dict" >> ${PORTAGESDIR}/${PORTAGE_BUILD[0]}/metadata/layout.conf
- echo "profile-formats = portage-1" >> ${PORTAGESDIR}/${PORTAGE_BUILD[0]}/metadata/layout.conf
- return 0
- }
|