diff options
author | Luke Bratch <luke@bratch.co.uk> | 2018-01-09 10:14:10 +0000 |
---|---|---|
committer | Luke Bratch <luke@bratch.co.uk> | 2018-01-09 10:14:10 +0000 |
commit | 06d6a0dfe38e26964a42721402c265f06833fe73 (patch) | |
tree | 08db7709102ce90ada3305eca3cf291a2bb5ed1f /portage-update.sh | |
parent | cdecf74889ded7832e1e36f523f3b383f49ecf7d (diff) |
Add support for syncing Layman repositories before doing update @world
Diffstat (limited to 'portage-update.sh')
-rwxr-xr-x | portage-update.sh | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/portage-update.sh b/portage-update.sh index 43ff452..023d46e 100755 --- a/portage-update.sh +++ b/portage-update.sh @@ -38,6 +38,10 @@ done echo 'emerge --sync' emerge --sync || exit 1 +# Sync Layman repos +echo 'layman -S' +layman -S || exit 1 + # Check to see if there's any news, unless skipped if [ -z ${SKIP_NEWS+x} ] && [ $(eselect news count new) -ne "0" ]; then echo "IMPORTANT: at least 1 news item needs reading" |