File tree Expand file tree Collapse file tree 1 file changed +8
-0
lines changed Expand file tree Collapse file tree 1 file changed +8
-0
lines changed Original file line number Diff line number Diff line change 135
135
service_notification_version=` cat ${GIT_ROOT} /service_notification.version | tr -d ' ' | grep ' service_notification_version' | head -1 | sed -e ' s/\(.*\)version\(.*\)/\2/g' `
136
136
echo " The Service notification required version : ${service_notification_version} "
137
137
fi
138
+ if [ -f " ${GIT_ROOT} /additional_lib.version" ]; then
139
+ additional_lib_name=` cat additional_lib.version | cut -d " :" -f1`
140
+ additional_lib_version=` cat additional_lib.version | cut -d " :" -f2`
141
+ echo " The Additional ${additional_lib_name} Library required version : ${additional_lib_version} "
142
+ fi
138
143
echo
139
144
140
145
# Create the package directory. If a directory with the same name exists,
190
195
sed -i " s/__DESCRIPTION__/${desc} /g" ${deb_path} /control
191
196
if [ ! -z " ${service_notification_version} " ] ; then
192
197
sed -i " s/fledge-service-notification/fledge-service-notification (${service_notification_version} )/" ${deb_path} /control
198
+ fi
199
+ if [ ! -z " ${additional_lib_version} " ] ; then
200
+ sed -i " s/fledge-${additional_lib_name} /fledge-${additional_lib_name} (${additional_lib_version} )/" ${deb_path} /control
193
201
fi
194
202
# install notes
195
203
if [ -f " ${GIT_ROOT} /install_notes.txt" ]; then
You can’t perform that action at this time.
0 commit comments