update-{all,packages} build action: Update repository config

This commit is contained in:
Ingo Weinhold
2013-10-05 22:49:49 +02:00
parent 50ffb21291
commit 049874acda
+5 -2
View File
@@ -332,9 +332,12 @@ CopyDirectoryToHaikuImage home config settings Media
# repository config files
local repository ;
for repository in $(HAIKU_REPOSITORIES) {
local target = [ on $(repository) return $(HAIKU_REPOSITORY_CONFIG_FILE) ] ;
if $(HAIKU_UPDATE_ALL_PACKAGES) {
HAIKU_INCLUDE_IN_IMAGE on $(target) = 1 ;
}
AddFilesToHaikuImage system settings package-repositories
: [ on $(repository) return $(HAIKU_REPOSITORY_CONFIG_FILE) ]
: $(repository:G=) ;
: $(target) : $(repository:G=) ;
}