[PC-BSD Commits] r8011 - pcbsd/current/src-sh/pbi-manager

svn at pcbsd.org svn at pcbsd.org
Wed Nov 10 10:04:36 PST 2010


Author: kris
Date: 2010-11-10 10:04:36 -0800 (Wed, 10 Nov 2010)
New Revision: 8011

Modified:
   pcbsd/current/src-sh/pbi-manager/pbi-manager
Log:

Add flag to set that hash-dir is dirty, and needs to be cleaned



Modified: pcbsd/current/src-sh/pbi-manager/pbi-manager
===================================================================
--- pcbsd/current/src-sh/pbi-manager/pbi-manager	2010-11-10 18:01:25 UTC (rev 8010)
+++ pcbsd/current/src-sh/pbi-manager/pbi-manager	2010-11-10 18:04:36 UTC (rev 8011)
@@ -2588,10 +2588,11 @@
 
 	check_preremove_script
 	run_remove_script
-	pbirm_save_hashlist
  	remove_pbidir
 	unregister_pbi
-	pbi_clean_hashlist
+	
+	# Mark the hashdir as dirty
+	touch "${PBI_DBDIRTYFILE}"
 }
 
 # Save the hash-list to run a cleanup afterwards



More information about the Commits mailing list