diff options
author | Suren A. Chilingaryan <csa@suren.me> | 2019-09-01 02:50:10 +0200 |
---|---|---|
committer | Suren A. Chilingaryan <csa@suren.me> | 2019-09-01 02:50:10 +0200 |
commit | 359b7fb5959b2a8874772c46477fe034d3030102 (patch) | |
tree | adc4c8c39febfeff06898bc106de7fae6055528e /scripts | |
parent | 3a86190d188e2910dad6e2731ac7d245241555aa (diff) | |
download | gentoo-359b7fb5959b2a8874772c46477fe034d3030102.tar.gz gentoo-359b7fb5959b2a8874772c46477fe034d3030102.tar.bz2 gentoo-359b7fb5959b2a8874772c46477fe034d3030102.tar.xz gentoo-359b7fb5959b2a8874772c46477fe034d3030102.zip |
Some reshuffle to easier migrate between local and remote systems
Diffstat (limited to 'scripts')
-rw-r--r-- | scripts/bootstrap/fix_deps.sh | 10 | ||||
-rw-r--r-- | scripts/bootstrap/layman_reinit.sh (renamed from scripts/layman_reinit.sh) | 2 |
2 files changed, 10 insertions, 2 deletions
diff --git a/scripts/bootstrap/fix_deps.sh b/scripts/bootstrap/fix_deps.sh new file mode 100644 index 0000000..cf73d1e --- /dev/null +++ b/scripts/bootstrap/fix_deps.sh @@ -0,0 +1,10 @@ +# Unmerge +emerge --depclean -a + +# Ncurses/GPM circular dependency +USE="-gpm" emerge -1 ncurses + +# Perl +# emerge -u -1 -O perl $(eix '-I#' virtual/perl-*) +# emerge -u -1 perl $(eix '-I#' virtual/perl-*) +# perl-cleaner --all diff --git a/scripts/layman_reinit.sh b/scripts/bootstrap/layman_reinit.sh index 6729149..ce88379 100644 --- a/scripts/layman_reinit.sh +++ b/scripts/bootstrap/layman_reinit.sh @@ -6,8 +6,6 @@ cd /etc/portage layman -d ALL - git checkout -- layman.xml - for repo in $(cat /etc/portage/repos.conf/layman.conf | grep -oP "\[\K[^]]*"); do repo_src=$(echo "$repos" | grep -P "^$repo" | awk '{ print $2 }') if [ -n "$repo_src" ]; then |