diff options
Diffstat (limited to 'install.sh')
| -rwxr-xr-x | install.sh | 7 |
1 files changed, 7 insertions, 0 deletions
@@ -73,6 +73,13 @@ restore_portage() { for d in "${PORTAGE_EMPTY_DIRS[@]}"; do run_root mkdir -p "/etc/portage/$d" done + + if [[ -f "$REPO_DIR/portage/PROFILE" ]]; then + local prof + prof="$(cat "$REPO_DIR/portage/PROFILE")" + log "linking /etc/portage/make.profile -> $prof" + run_root ln -snf "$prof" /etc/portage/make.profile + fi } restore_system_configs() { |
