From e00f924a6990c3766ec7c6fc06985516a7a54de5 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Anton=20Luka=20=C5=A0ijanec?= Date: Thu, 25 May 2023 15:28:32 +0200 Subject: posodobi update --- root/posodobi.sh | 10 ++++++---- 1 file changed, 6 insertions(+), 4 deletions(-) diff --git a/root/posodobi.sh b/root/posodobi.sh index c8d45f0..4bb7dfc 100755 --- a/root/posodobi.sh +++ b/root/posodobi.sh @@ -15,14 +15,16 @@ then then echo posodobitev ni uspela. $0 je konĨal s $status. izhod je dostopen na http://`hostname`.sijanec.eu/$t fi + chmod go+r $t exit $status fi set -xe f= +a= grep "no-sync" <<<"$@" || /usr/sbin/emaint sync --auto -grep "no-ask" <<<"$@" || f=--ask +grep "no-ask" <<<"$@" || a=--ask grep "colo" <<<"$@" || f="$f --color y" [ `hostname` = varovalka ] && f="$f --exclude=media-libs/mesa" -emerge --tree --verbose --update $f --newuse --changed-use --backtrack 30 --deep --with-bdeps=y --rebuilt-binaries --autounmask --autounmask-write @world -emerge @preserved-rebuild --autounmask-write -emerge --depclean +emerge --tree --verbose --update $f $a --newuse --changed-use --backtrack 30 --deep --with-bdeps=y --rebuilt-binaries --autounmask --autounmask-write @world +emerge --verbose $f --autounmask-write --autounmask @preserved-rebuild +emerge --depclean $f -- cgit v1.2.3