summaryrefslogtreecommitdiffstats
path: root/scripts/layman.sh
diff options
context:
space:
mode:
Diffstat (limited to 'scripts/layman.sh')
-rw-r--r--scripts/layman.sh13
1 files changed, 0 insertions, 13 deletions
diff --git a/scripts/layman.sh b/scripts/layman.sh
deleted file mode 100644
index 1eb7904..0000000
--- a/scripts/layman.sh
+++ /dev/null
@@ -1,13 +0,0 @@
-#! /bin/bash
-
-repos=$(xmllint -xpath "//repo/name/text()|//repo/source/text()" /etc/portage/layman.xml | xargs -n2)
-
-layman -d ALL
-git checkout -- /etc/portage/repos.conf/layman.conf
-
-for repo in $(cat /etc/portage/repos.conf/layman.conf | grep -oP "\[\K[^]]*"); do
- repo_src=$(echo "$repos" | grep -P "^$repo" | awk '{ print $2 }')
- layman -a "$repo_src"
-done
-
-git checkout -- /etc/portage/repos.conf/layman.conf