Compare commits

...

2 Commits

Author SHA1 Message Date
mudler a228567ab9 [sabayon-createrepo] dumb fix 2016-02-27 12:11:44 +01:00
mudler 26389080f2 calling equo rm if necessary 2016-02-26 23:49:40 +01:00
2 changed files with 7 additions and 3 deletions
+6 -2
View File
@@ -197,11 +197,15 @@ if ($use_equo) {
say "", "[install] Installing missing dependencies with equo", @packages_deps, ""; say "", "[install] Installing missing dependencies with equo", @packages_deps, "";
if ($equo_split_install) { if ($equo_split_install) {
system("equo i --bdeps $_") for (@packages_deps,@equo_install); system("equo i --bdeps $_") for (@packages_deps,@equo_install);
system("equo rm --nodeps $_") for (@equo_remove); if (@equo_remove > 0){
system("equo rm --nodeps $_") for (@equo_remove);
}
} }
else { else {
system("equo i --bdeps @packages_deps @equo_install"); system("equo i --bdeps @packages_deps @equo_install");
system("equo rm --nodeps @equo_remove"); if (@equo_remove > 0){
system("equo rm --nodeps @equo_remove");
}
} }
} }
+1 -1
View File
@@ -101,7 +101,7 @@ echo "docker $DOCKER_OPTS ${docker_env[@]} ${docker_volumes[@]} $DOCKER_IMAGE /
docker run $DOCKER_OPTS --entrypoint /bin/bash "${docker_env[@]}" "${docker_volumes[@]}" $DOCKER_IMAGE /sabayon/bin/create_repo.sh || true docker run $DOCKER_OPTS --entrypoint /bin/bash "${docker_env[@]}" "${docker_volumes[@]}" $DOCKER_IMAGE /sabayon/bin/create_repo.sh || true
if [ -d "$OUTPUT_DIR/standard" ]; then if [ -d "$OUTPUT_DIR/standard" ]; then
echo "The Sabayon repository files are in $SAB_WORKSPACE/entropy_artifacts" echo "The Sabayon repository files are in $OUTPUT_DIR"
echo "Now you can upload its content where you want" echo "Now you can upload its content where you want"
echo "" echo ""