Changeset f811893


Ignore:
Timestamp:
02/12/14 13:50:46 (9 months ago)
Author:
Kris Moore <kris@…>
Branches:
master, releng/10.0.1, releng/10.0.2, releng/10.0.3, releng/10.1
Children:
60638d87
Parents:
8e14ba7
Message:

Mark a PBI as deleted before we do the unmount process

File:
1 edited

Legend:

Unmodified
Added
Removed
  • src-sh/pbi-manager/pbi-manager

    r3fefcd7 rf811893  
    45424542        PBI_PROGDIRPATH="${PBI_ORIGPROGDIRPATH}" 
    45434543 
    4544         # Unmount the PBI if its mounted 
    4545         /usr/pbi/.pbime umount "/usr/pbi/.mounts/`basename $PBI_PROGDIRPATH`" 
    4546  
    45474544        get_username_from_file "${PBI_DBAPPDIR}/${PBI_DELETENAME}/pbi_name" 
    45484545        if [ "$FILEUSER" != `whoami` -a `id -u` != "0" ] ; then 
     
    45524549        # Set the dirty flag that we are removing this PBI 
    45534550        touch ${PBI_DBAPPDIR}/${PBI_DELETENAME}/.pbiDeleted 
     4551 
     4552        # Unmount the PBI if its mounted 
     4553        /usr/pbi/.pbime umount "/usr/pbi/.mounts/`basename $PBI_PROGDIRPATH`" 
    45544554 
    45554555        check_preremove_script 
Note: See TracChangeset for help on using the changeset viewer.