pkgsrc-Bugs archive
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]
pkg/42247: missing MV in +USERGROUP scrips
>Number: 42247
>Category: pkg
>Synopsis: missing MV in +USERGROUP scrips
>Confidential: no
>Severity: serious
>Priority: medium
>Responsible: pkg-manager
>State: open
>Class: sw-bug
>Submitter-Id: net
>Arrival-Date: Thu Oct 29 20:05:00 +0000 2009
>Originator: Steven Drake
>Release: pkgsrc-2009Q3
>Organization:
>Environment:
System: Linux idran 2.6.30 #2 PREEMPT Sun Aug 9 18:32:44 NZST 2009 i686
pentium4 i386 GNU/Linux
Architecture: pentium4
Machine: i686
C library: GNU C Library stable release version 2.10.1, by Roland McGrath et al.
>Description:
When delete/upgrading a package that had a +USERGROUP script:
./+USERGROUP: line 362: -f: command not found
pkgsrc/mk/pkginstall/usergroup: line 215, 242
${MV} -f $tokentmp $token
but ${MV} is never defined!
>Fix:
Index: usergroup
===================================================================
RCS file: /cvsroot/pkgsrc/mk/pkginstall/usergroup,v
retrieving revision 1.2
diff -u -p -r1.2 usergroup
--- usergroup 19 Jul 2006 22:26:26 -0000 1.2
+++ usergroup 29 Oct 2009 19:49:14 -0000
@@ -60,6 +60,7 @@ SED="@SED@"
SORT="@SORT@"
TEST="@TEST@"
TRUE="@TRUE@"
+MV="@MV@"
SELF=$0
ACTION=$1
--
Steven
Home |
Main Index |
Thread Index |
Old Index