summaryrefslogtreecommitdiffstats
path: root/scripts
diff options
context:
space:
mode:
authorSuren A. Chilingaryan <csa@suren.me>2019-09-02 00:20:34 +0200
committerSuren A. Chilingaryan <csa@suren.me>2019-09-02 00:20:34 +0200
commit5924eaed34b0a8ca15a2137b110cd51d8ee73607 (patch)
tree766572840b71b8520d110851780b0f7179218d5c /scripts
parent2504e5cfee7cc509976303b35a5437a39e2ae540 (diff)
downloadgentoo-5924eaed34b0a8ca15a2137b110cd51d8ee73607.tar.gz
gentoo-5924eaed34b0a8ca15a2137b110cd51d8ee73607.tar.bz2
gentoo-5924eaed34b0a8ca15a2137b110cd51d8ee73607.tar.xz
gentoo-5924eaed34b0a8ca15a2137b110cd51d8ee73607.zip
RusXMMS and CUDA
Diffstat (limited to 'scripts')
-rw-r--r--scripts/bootstrap/fix_deps.sh11
-rw-r--r--scripts/bootstrap/layman_reinit.sh9
2 files changed, 11 insertions, 9 deletions
diff --git a/scripts/bootstrap/fix_deps.sh b/scripts/bootstrap/fix_deps.sh
index cf73d1e..e27a8c0 100644
--- a/scripts/bootstrap/fix_deps.sh
+++ b/scripts/bootstrap/fix_deps.sh
@@ -1,10 +1,9 @@
-# Unmerge
-emerge --depclean -a
-
# Ncurses/GPM circular dependency
USE="-gpm" emerge -1 ncurses
+# Unmerge
+#emerge --depclean -a
+
# Perl
-# emerge -u -1 -O perl $(eix '-I#' virtual/perl-*)
-# emerge -u -1 perl $(eix '-I#' virtual/perl-*)
-# perl-cleaner --all
+#emerge -u -1 -O perl
+#emerge -C sys-apps/texinfo app-text/po4a $(eix '-I#' virtual/perl-*) $(eix '-I#' dev-perl/*)
diff --git a/scripts/bootstrap/layman_reinit.sh b/scripts/bootstrap/layman_reinit.sh
index ce88379..6f977c7 100644
--- a/scripts/bootstrap/layman_reinit.sh
+++ b/scripts/bootstrap/layman_reinit.sh
@@ -1,12 +1,14 @@
#! /bin/bash
(
- repos=$(xmllint -xpath "//repo/name/text()|//repo/source/text()" /etc/portage/layman.xml | xargs -n2)
-
+ repos=$(xmllint -xpath "//repo/name/text()|//repo/source/text()" /etc/portage/layman.xml | xargs -n2) #"
+ repos_enabled=$(cat /etc/portage/repos.conf/layman.conf | grep -oP "\[\K[^]]*")
+
cd /etc/portage
layman -d ALL
- for repo in $(cat /etc/portage/repos.conf/layman.conf | grep -oP "\[\K[^]]*"); do
+ layman -L &> /dev/null
+ for repo in "$repos_enabled"; do
repo_src=$(echo "$repos" | grep -P "^$repo" | awk '{ print $2 }')
if [ -n "$repo_src" ]; then
layman -a "$repo" -O "$repo_src"
@@ -16,4 +18,5 @@
done
git checkout -- layman.xml
+ git checkout -- repos.conf/layman.conf
)