[PC-BSD Commits] r7537 - pcbsd/current/src-qt4/pbi-manager
svn at pcbsd.org
svn at pcbsd.org
Fri Sep 10 11:59:38 PDT 2010
Author: kris
Date: 2010-09-10 11:59:38 -0700 (Fri, 10 Sep 2010)
New Revision: 7537
Modified:
pcbsd/current/src-qt4/pbi-manager/pbi-manager
Log:
Make sure the required dirs get created when pbi-manager is run each time
Modified: pcbsd/current/src-qt4/pbi-manager/pbi-manager
===================================================================
--- pcbsd/current/src-qt4/pbi-manager/pbi-manager 2010-09-10 18:49:50 UTC (rev 7536)
+++ pcbsd/current/src-qt4/pbi-manager/pbi-manager 2010-09-10 18:59:38 UTC (rev 7537)
@@ -1038,7 +1038,6 @@
pbi_add_run_script() {
insc="${PBI_PROGDIRPATH}/${PBI_FAKEBIN_DIR}/.pbi-install.sh"
if [ ! -e "${insc}" ] ; then return 0 ; fi
- mk_required_dirs
export_script_vars
if [ "$PBI_VERBOSE" = "YES" ] ; then
${insc}
@@ -1051,7 +1050,6 @@
pbi_add_update_hashdir() {
if [ "${PBI_NOHASHDIR}" = "YES" ] ; then return 0 ; fi
if [ ! -e "${PBI_PROGDIRPATH}/${PBI_HASHLIST}" ] ; then return 0; fi
- mk_required_dirs
if [ "$PBI_VERBOSE" = "YES" ] ; then
echo "HASHCOUNT: `wc -l ${PBI_PROGDIRPATH}/${PBI_HASHLIST} | tr -d ' ' | cut -d '/' -f 1`"
@@ -2915,6 +2913,7 @@
# Main program operation
##############################################################
init_vars
+mk_required_dirs
load_pbi_etcconf
trap exit_trap 0 1 2 3 15
More information about the Commits
mailing list