OpenPKG CVS Repository
http://cvs.openpkg.org/
____________________________________________________________________________
Server: cvs.openpkg.org Name: Thomas Lotterer
Root: /v/openpkg/cvs Email: [EMAIL PROTECTED]
Module: openpkg-src Date: 09-Aug-2006 15:10:06
Branch: HEAD Handle: 2006080914100600
Modified files:
openpkg-src/openpkg uuid.sh
Log:
make "openpkg uuid update" processing more robust by detecting empty
UUID_REGISTRY
Summary:
Revision Changes Path
1.9 +1 -1 openpkg-src/openpkg/uuid.sh
____________________________________________________________________________
patch -p0 <<'@@ .'
Index: openpkg-src/openpkg/uuid.sh
============================================================================
$ cvs diff -u -r1.8 -r1.9 uuid.sh
--- openpkg-src/openpkg/uuid.sh 17 May 2006 13:12:56 -0000 1.8
+++ openpkg-src/openpkg/uuid.sh 9 Aug 2006 13:10:06 -0000 1.9
@@ -164,7 +164,7 @@
# Update UUIDs
do_update () {
# update registry UUID
- if [ ".$UUID_REGISTRY" = ".$UUID_NIL" ]; then
+ if [ ".$UUID_REGISTRY" = ".$UUID_NIL" -o ".$UUID_REGISTRY" = . ]; then
opt=""
if [ ".$opt_m" = .yes ]; then
opt="-m"
@@ .
______________________________________________________________________
The OpenPKG Project www.openpkg.org
CVS Repository Commit List [email protected]