Changeset 94 for confman/confmanlib.sh
- Timestamp:
- 04/20/2006 19:49:11 (6 years ago)
- File:
-
- 1 edited
-
confman/confmanlib.sh (modified) (4 diffs)
Legend:
- Unmodified
- Added
- Removed
-
confman/confmanlib.sh
r91 r94 106 106 function conf_install { 107 107 local module="$1" 108 local file=`abspath $2` 108 shift 109 local file=`abspath $1` 110 shift 109 111 local moduledir="${WORK_PATH}/$module" 110 112 local livefile=`echo "$file" | sed -E "s:${WORK_PATH}/[^/]+::"` … … 135 137 $cmd 136 138 chmod o-rx ${WORK_PATH} 139 140 if [ ! -z $1 ] ; then 141 conf_install $module $* 142 fi 137 143 } 138 144 … … 160 166 livepart="${LIVE_ROOT}${file}-${layer}" 161 167 myfile="${WORK_PATH}/${layer}/${file}-${layer}" 162 if [ -f $myfile ] ; then168 if [ -f $myfile -a -f $livepart ] ; then 163 169 owner=`conf_get_prop ${myfile} owner` 164 170 group=`conf_get_prop ${myfile} group` … … 176 182 $cmd 177 183 fi 178 rm $tmpfile184 rm -f $tmpfile 179 185 } 180 186
Note: See TracChangeset
for help on using the changeset viewer.
