pkgsrc-Changes archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

CVS commit: pkgsrc/pkgtools/pkg_rolling-replace/files



Module Name:    pkgsrc
Committed By:   gdt
Date:           Wed Jan  3 12:35:22 UTC 2024

Modified Files:
        pkgsrc/pkgtools/pkg_rolling-replace/files: pkg_rolling-replace.sh

Log Message:
pkgtools/pkg_rolling-replace: Revert unintended change

(Despite an explicit cvs diff of packages to review, ENOTENOUGHCOFFEE
lead to not carrying thatt to the commit.  Sorry for the noise.)


To generate a diff of this commit:
cvs rdiff -u -r1.46 -r1.47 \
    pkgsrc/pkgtools/pkg_rolling-replace/files/pkg_rolling-replace.sh

Please note that diffs are not public domain; they are subject to the
copyright notices on the relevant files.

Modified files:

Index: pkgsrc/pkgtools/pkg_rolling-replace/files/pkg_rolling-replace.sh
diff -u pkgsrc/pkgtools/pkg_rolling-replace/files/pkg_rolling-replace.sh:1.46 pkgsrc/pkgtools/pkg_rolling-replace/files/pkg_rolling-replace.sh:1.47
--- pkgsrc/pkgtools/pkg_rolling-replace/files/pkg_rolling-replace.sh:1.46       Wed Jan  3 12:32:59 2024
+++ pkgsrc/pkgtools/pkg_rolling-replace/files/pkg_rolling-replace.sh    Wed Jan  3 12:35:22 2024
@@ -1,6 +1,6 @@
 #!/bin/sh
 
-# $NetBSD: pkg_rolling-replace.sh,v 1.46 2024/01/03 12:32:59 gdt Exp $
+# $NetBSD: pkg_rolling-replace.sh,v 1.47 2024/01/03 12:35:22 gdt Exp $
 #<license>
 # Copyright (c) 2006 BBN Technologies Corp.  All rights reserved.
 #
@@ -162,7 +162,7 @@ check_packages_mismatched()
         for word in $line; do
             if [ "$(echo $word | egrep '^[^/]+-[0-9][^-/]*$')" ]; then
                if [ -z "$opt_F" ]; then
-                   sudo ${PKG_ADMIN} set mismatch=YES "$word" >/dev/null 2>&1 || {
+                   ${PKG_ADMIN} set mismatch=YES "$word" >/dev/null 2>&1 || {
                        if [ -z "$warned_once" ]; then
                            echo 1>&2 "$OPC WARNING: mismatch variable not set due to permissions;"
                            echo 1>&2 "$OPC          mismatch status will not persist."



Home | Main Index | Thread Index | Old Index