Skip to content

Instantly share code, notes, and snippets.

@svantoviit
svantoviit / sync-entropy-files.sh
Last active October 10, 2015 22:55 — forked from rdnetto/sync-entropy-files.sh
Script for updating Portage files in Sabayon
#!/bin/bash
# sync-entropy-files.sh
# Copyright Reuben D'Netto 2014. Published under Apache 2.0 license.
# This script updates the portage files used in Sabayon so that entropy and portage don't step on each other's feet
BUILD_DIR="/var/cache/sabayon-build"
ARCH=$(uname -m)
[[ "$ARCH" == "i686" || "$ARCH" == "x86_64" ]] && ARCH="intel"