Changeset 55549dde


Ignore:
Timestamp:
11/25/13 12:25:35 (21 months ago)
Author:
Kris Moore <kris@…>
Branches:
master, enter/10, releng/10.0, releng/10.0.1, releng/10.0.2, releng/10.0.3, releng/10.1, releng/10.1.1, releng/10.1.2, releng/10.2
Children:
202d787
Parents:
d5eaa4d
Message:

Fix a bug creating the UID / GIDs when we install a PBI that needs
them

File:
1 edited

Legend:

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

    r0c07acc r55549dde  
    37283728        mk_xdg_scripts 
    37293729 
     3730        # Check for any users / groups we need to save for install time 
     3731        mk_pbi_users_file 
     3732        mk_pbi_groups_file 
     3733 
    37303734        run_pbi_prepkgscript 
    37313735 
     
    69326936        run_pbi_postportmake 
    69336937 
    6934         # Check for any users / groups we need to save for install time 
    6935         mk_pbi_users_file 
    6936         mk_pbi_groups_file 
    6937  
    69386938        # Auto-generate a external_links directive from plist info 
    69396939        mk_auto_ext_linksfile 
     
    70007000                        continue 
    70017001                fi 
    7002                 grep -q "^$group:" ${PBI_PROGDIRPATH}/${PBI_INS_GROUPSFILE} 2>/dev/null 
     7002                grep -q "^$group:" ${PBI_STAGEDIRMNT}/${PBI_INS_GROUPSFILE} 
    70037003                if [ $? -ne 0 ] ; then 
    70047004                        echo "Saving gid details for group: $group" 
    7005                         echo "$gidLine" >> ${PBI_PROGDIRPATH}/${PBI_INS_GROUPSFILE} 
     7005                        echo "$gidLine" >> ${PBI_STAGEDIRMNT}/${PBI_INS_GROUPSFILE} 
    70067006                fi 
    70077007        done 
     
    70217021                        continue 
    70227022                fi 
    7023                 grep -q "^$user:" ${PBI_PROGDIRPATH}/${PBI_INS_USERSFILE} 2>/dev/null 
     7023                grep -q "^$user:" ${PBI_STAGEDIRMNT}/${PBI_INS_USERSFILE} 
    70247024                if [ $? -ne 0 ] ; then 
    70257025                        echo "Saving uid details for user: $user" 
    7026                         echo "$uidLine" >> ${PBI_PROGDIRPATH}/${PBI_INS_USERSFILE} 
     7026                        echo "$uidLine" >> ${PBI_STAGEDIRMNT}/${PBI_INS_USERSFILE} 
    70277027                fi 
    70287028        done 
Note: See TracChangeset for help on using the changeset viewer.