Changeset 172 for tags


Ignore:
Timestamp:
08/31/2007 12:12:24 (5 years ago)
Author:
terrio
Message:

A bug fix for singularities which can't be seen normally.

Location:
tags/confman-1.5.4.6
Files:
1 edited
1 copied

Legend:

Unmodified
Added
Removed
  • tags/confman-1.5.4.6/confmanlib.sh

    r161 r172  
    222222                livepart="${LIVE_ROOT}${file}-${layer}" 
    223223                myfile="${WORK_PATH}/${layer}/${file}-${layer}" 
    224                 if [ -f $myfile -a -f $livepart ] ; then 
     224                if sudo [ -f $myfile -a -f $livepart ] ; then 
    225225                                owner=`conf_get_prop ${myfile} owner` 
    226226                                group=`conf_get_prop ${myfile} group` 
    227227                                mode=`conf_get_prop     ${myfile} mode` 
    228228                                comment=`conf_get_prop  ${myfile} comment` 
    229                         cat $livepart >> $tmpfile 
     229                        sudo cat $livepart >> $tmpfile 
    230230                        sudo rm $livepart 
    231231                        flag=1 
Note: See TracChangeset for help on using the changeset viewer.