macos-packaging-update-20060405
authorDerrick Brashear <shadow@dementia.org>
Wed, 5 Apr 2006 14:45:58 +0000 (14:45 +0000)
committerDerrick Brashear <shadow@dementia.org>
Wed, 5 Apr 2006 14:45:58 +0000 (14:45 +0000)
FIXES 29226

copy cellservdb if there is none

src/packaging/MacOS/OpenAFS.post_install

index 88e3e9f..c6ed97d 100644 (file)
@@ -47,7 +47,7 @@ if [ ! -f CellServDB -a -f CellServDB.save -a -f CellServDB.master.last ]; then
 fi
 
 # upgrading between 2 post-1.2.7 releases (or the testing case)
-if [ -f CellServDB.master.last -a  -f CellServDB ]; then
+if [ -f CellServDB.master.last ]; then
   if cmp -s CellServDB.master.last CellServDB.master ; then
     echo No CellServDB updates
     done=1
@@ -63,7 +63,7 @@ if [ -z "$done" -a  -f CellServDB ]; then
   fi
 fi
 
-if [ -z "$done" ]; then
+if [ -z "$done" -a  -f CellServDB ]; then
   # there are local changes to be merged
   if [ -f CellServDB -a -f CellServDB.master.last ]; then
     echo Merging CellServDB entries....