summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorLuke Bratch <luke@bratch.co.uk>2025-04-18 13:53:59 +0200
committerLuke Bratch <luke@bratch.co.uk>2025-04-18 13:53:59 +0200
commitd966368c4ee53b9251748451e72c58f5db1a306e (patch)
treece92b52e768c7f0ea2cb8591ddcaa67b18672cb7
parent5f1552f0c21aa7e8b38b1c6af42762e8b2c6e338 (diff)
Don't modify world file for -9999 packages (use -1/--oneshot).HEADmaster
-rwxr-xr-xportage-update.sh4
1 files changed, 2 insertions, 2 deletions
diff --git a/portage-update.sh b/portage-update.sh
index 7a141a8..8ded882 100755
--- a/portage-update.sh
+++ b/portage-update.sh
@@ -62,8 +62,8 @@ if [ -z ${SKIP_UPDATE+x} ]; then
# Update -9999 packages since they aren't included in a @world update
pkgs9999=$(find /var/db/pkg/ -mindepth 2 -maxdepth 2 -name '*-9999')
if [ "$pkgs9999" != "" ] ; then
- echo "emerge -av $(find /var/db/pkg/ -mindepth 2 -maxdepth 2 -name '*-9999' | tr '\n' ' ' | sed 's|/var/db/pkg/|=|g') --exclude \"$EXCLUDE_LIST\""
- emerge -av $(find /var/db/pkg/ -mindepth 2 -maxdepth 2 -name '*-9999' | tr '\n' ' ' | sed 's|/var/db/pkg/|=|g') --exclude "$EXCLUDE_LIST"
+ echo "emerge -1av $(find /var/db/pkg/ -mindepth 2 -maxdepth 2 -name '*-9999' | tr '\n' ' ' | sed 's|/var/db/pkg/|=|g') --exclude \"$EXCLUDE_LIST\""
+ emerge -1av $(find /var/db/pkg/ -mindepth 2 -maxdepth 2 -name '*-9999' | tr '\n' ' ' | sed 's|/var/db/pkg/|=|g') --exclude "$EXCLUDE_LIST"
fi
fi