Finish afscell implementation work
[openafs.git] / src / packaging / MacOS / InstallationCheck.8
index d905d15..1975ef7 100644 (file)
@@ -6,5 +6,17 @@ echo "InstallationCheck: not ok"
        exit 112
 fi
 
+# check for temporary versions of ThisCell and CellAlias
+# and move them aside
+tmpthiscell=/private/tmp/org.OpenAFS.Install.ThisCell.$USER
+tmpcellalias=/private/tmp/org.OpenAFS.Install.CellAlias.$USER
+date=`date +%Y%m%d%H%M`
+if [ -e $tmpthiscell ]; then
+    mv -f $tmpthiscell $tmpthiscell.$date
+fi
+if [ -e $tmpcellalias ]; then
+    mv -f $tmpcellalias $tmpcellalias.$date
+fi
+
 echo "InstallationCheck: ok"
 exit 0