From 5515b3b488c1dc9b53752419f895ccc85f70788a Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Anton=20Luka=20=C5=A0ijanec?= Date: Mon, 23 Jan 2023 19:37:53 +0100 Subject: portage command substitution patch --- root/posodobi.sh | 8 ++++++++ 1 file changed, 8 insertions(+) create mode 100755 root/posodobi.sh (limited to 'root/posodobi.sh') diff --git a/root/posodobi.sh b/root/posodobi.sh new file mode 100755 index 0000000..3d0cdf6 --- /dev/null +++ b/root/posodobi.sh @@ -0,0 +1,8 @@ +#!/bin/bash +set -e +f= +grep "--no-sync" <<<"@$" || emaint sync --auto +grep "--no-ask" <<<"@$" || f=--ask +emerge --verbose --update $f --newuse --changed-use --backtrack 30 --deep @world +emerge @preserved-rebuild +emerge --depclean -- cgit v1.2.3 From 232b4f3aadd433c688503c9ded99dadada1463b2 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Anton=20Luka=20=C5=A0ijanec?= Date: Thu, 26 Jan 2023 17:17:37 +0100 Subject: updating --- root/posodobi.sh | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'root/posodobi.sh') diff --git a/root/posodobi.sh b/root/posodobi.sh index 3d0cdf6..8d2d4cd 100755 --- a/root/posodobi.sh +++ b/root/posodobi.sh @@ -1,8 +1,8 @@ #!/bin/bash set -e f= -grep "--no-sync" <<<"@$" || emaint sync --auto -grep "--no-ask" <<<"@$" || f=--ask +grep "no-sync" <<<"$@" || emaint sync --auto +grep "no-ask" <<<"$@" || f=--ask emerge --verbose --update $f --newuse --changed-use --backtrack 30 --deep @world emerge @preserved-rebuild emerge --depclean -- cgit v1.2.3 From 98cb382cf1999509e6d7c71f3b5d2e9bd3bd8cb3 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Anton=20Luka=20=C5=A0ijanec?= Date: Thu, 26 Jan 2023 18:58:41 +0100 Subject: portage --- root/posodobi.sh | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'root/posodobi.sh') diff --git a/root/posodobi.sh b/root/posodobi.sh index 8d2d4cd..d215688 100755 --- a/root/posodobi.sh +++ b/root/posodobi.sh @@ -3,6 +3,6 @@ set -e f= grep "no-sync" <<<"$@" || emaint sync --auto grep "no-ask" <<<"$@" || f=--ask -emerge --verbose --update $f --newuse --changed-use --backtrack 30 --deep @world +emerge --verbose --update $f --newuse --changed-use --backtrack 30 --deep --with-bdeps=y @world emerge @preserved-rebuild emerge --depclean -- cgit v1.2.3