Browse Source

Remove pms cache

master
belliash 7 years ago
parent
commit
564120ad49
1 changed files with 2 additions and 1 deletions
  1. 2
    1
      modules/gentoo-compat.ezmod

+ 2
- 1
modules/gentoo-compat.ezmod View File

@@ -3,10 +3,11 @@
3 3
 EZMOD_DESCRIPTION="Enables various compatibility options in Portage tree"
4 4
 EZMOD_COMPATIBILITY="ezsync"
5 5
 EZMOD_AUTHOR="Rafal Kupiec"
6
-EZMOD_VERSION="1.0"
6
+EZMOD_VERSION="1.1"
7 7
 
8 8
 ezsync_precommit() {
9 9
 	printInfo "Enabling compatibility options..."
10
+	run "rm -rf ${PORTAGESDIR}/${PORTAGE_BUILD[0]}/metadata/cache" || return 1
10 11
 	echo "cache-formats = md5-dict pms" >> ${PORTAGESDIR}/${PORTAGE_BUILD[0]}/metadata/layout.conf
11 12
 	echo "profile-formats = portage-1" >> ${PORTAGESDIR}/${PORTAGE_BUILD[0]}/metadata/layout.conf
12 13
 	return 0

Loading…
Cancel
Save