From 309ec72a71b559daadb5d7b58d8ff2b0c1c46cfc Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Anton=20Luka=20=C5=A0ijanec?= Date: Sat, 18 May 2024 22:22:47 +0200 Subject: b_stuff --- root/posodobi.sh | 8 ++++++-- 1 file changed, 6 insertions(+), 2 deletions(-) (limited to 'root/posodobi.sh') diff --git a/root/posodobi.sh b/root/posodobi.sh index c150fb5..e490d84 100755 --- a/root/posodobi.sh +++ b/root/posodobi.sh @@ -26,8 +26,12 @@ a= grep "no-sync" <<<"$@" || /usr/sbin/emaint sync --auto grep "no-ask" <<<"$@" || a=--ask grep "colo" <<<"$@" && f="$f --color y" -[ `hostname` = varovalka ] && f="$f --exclude=media-libs/mesa" -emerge --tree --verbose --update $f $a --newuse --changed-use --backtrack 30 --deep --with-bdeps=y --rebuilt-binaries --autounmask --autounmask-write --autounmask-backtrack=y @world +[ `hostname` = varovalka ] && f="$f" # --exclude=media-libs/mesa +swap=/mnt/slu/a/tmp/swap +[ -f $swap ] && swapon $swap +trap "swapoff $swap" EXIT +emerge --tree --verbose --update $f $a --newuse --changed-use --backtrack 30 --deep --with-bdeps=y --rebuilt-binaries --autounmask --autounmask-write --autounmask-backtrack=y @world # --exclude=sci-electronics/kicad emerge --verbose $f --autounmask-write --autounmask @preserved-rebuild emerge --depclean $f /root/linux/dist.sh +dmenu_path > /dev/null # update cache -- cgit v1.2.3