diff options
author | Karel Kočí <cynerd@email.cz> | 2020-09-07 19:05:33 +0200 |
---|---|---|
committer | Karel Kočí <cynerd@email.cz> | 2020-09-07 19:07:59 +0200 |
commit | 188d6cc00de8ad2493b7d919ed4cd1250464ef28 (patch) | |
tree | b1c46501b9a0ad5b2b3e135aba20736a391c4c32 | |
parent | 8229611d82dbfa5d9cfb15dba584dc366abea7e1 (diff) | |
download | gentoo-personal-overlay-188d6cc00de8ad2493b7d919ed4cd1250464ef28.tar.gz gentoo-personal-overlay-188d6cc00de8ad2493b7d919ed4cd1250464ef28.tar.bz2 gentoo-personal-overlay-188d6cc00de8ad2493b7d919ed4cd1250464ef28.zip |
sys-apps/personal-utils: emergefix update portage automatically
-rwxr-xr-x | sys-apps/personal-utils/files/emergefix | 5 | ||||
-rw-r--r-- | sys-apps/personal-utils/personal-utils-1.6.0-r1.ebuild (renamed from sys-apps/personal-utils/personal-utils-1.5.10-r1.ebuild) | 0 |
2 files changed, 5 insertions, 0 deletions
diff --git a/sys-apps/personal-utils/files/emergefix b/sys-apps/personal-utils/files/emergefix index bcec51d..a60e94e 100755 --- a/sys-apps/personal-utils/files/emergefix +++ b/sys-apps/personal-utils/files/emergefix @@ -14,6 +14,11 @@ run() { ################################################################################# +if [ "$(equery -q l -I -o sys-apps/portage)" != "$(equery -q l sys-apps/portage)" ]; then + step "Update portage" + run emerge -1 sys-apps/portage +fi + step "Update packages" run emerge -auDU --with-bdeps=y --keep-going @world "$@" diff --git a/sys-apps/personal-utils/personal-utils-1.5.10-r1.ebuild b/sys-apps/personal-utils/personal-utils-1.6.0-r1.ebuild index db86a53..db86a53 100644 --- a/sys-apps/personal-utils/personal-utils-1.5.10-r1.ebuild +++ b/sys-apps/personal-utils/personal-utils-1.6.0-r1.ebuild |