# add app-control attribute for application-utc
if echo "$line" | grep -q "<app-control"; then
echo $line >> tizen-manifest.xml
- if [ $PROFILE_TYPE == "tizeniot" ]; then
- sed -i '/<\/manifest>/d' tizen-manifest.xml
- sed -i '/<\/service-application>/d' tizen-manifest.xml
- while true
- do
- read nextLine
- if echo $nextLine | grep -q "</app-control"; then
- echo $nextLine >> tizen-manifest.xml
- break
- fi
- echo $nextLine >> tizen-manifest.xml
- done
-
- echo '</service-application>' >> tizen-manifest.xml
- echo '</manifest>' >> tizen-manifest.xml
- else
- sed -i '/<\/manifest>/d' tizen-manifest.xml
- sed -i '/<\/ui-application>/d' tizen-manifest.xml
- while true
- do
- read nextLine
- if echo $nextLine | grep -q "</app-control"; then
- echo $nextLine >> tizen-manifest.xml
- break
- fi
+ sed -i '/<\/ui-application>/d' tizen-manifest.xml
+ while true
+ do
+ read nextLine
+ if echo $nextLine | grep -q "</app-control"; then
echo $nextLine >> tizen-manifest.xml
- done
-
- echo '</ui-application>' >> tizen-manifest.xml
- echo '</manifest>' >> tizen-manifest.xml
- fi
+ break
+ fi
+ echo $nextLine >> tizen-manifest.xml
+ done
+ echo '</ui-application>' >> tizen-manifest.xml
fi
# keep complication information