Changeset 4693
- Timestamp:
- May 11, 2017, 10:11:31 AM (4 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
devtools/desktop_to_xml/desktop_to_xml.sh
r4678 r4693 27 27 msg_rules_old_format="\n********** WARNING!!!! **********\nrules file has an old format.\nIt's HIGHLY recommended to update it to the new rules format.\n *************************** \n" 28 28 msg_select_pkg="\nSelect the name of the package to process\n" 29 msg_desktop_not_found="\nDesktop file not found at %s. Process aborted.\n" 29 msg_desktop_not_found="\nDesktop file not found at %s. Looking at llx-resources\n" 30 msg_desktop_not_present="\nDesktop file was not found at %s. Operation aborted\n" 30 31 msg_searching_img="\nSearching screenshots in %s...\n" 31 32 msg_image_found="\nScreenshoot %s finded for app %s\n" … … 190 191 then 191 192 printf "$msg_desktop_not_found" $wrkDir 192 exit 1 193 cd $rootDir"/"$srcDir 194 wrkDir='.' 195 installDir='.' 196 desktopFiles=$(find . -name "*.desktop") 197 if [[ ! $desktopFiles ]] 198 then 199 printf "$msg_desktop_not_present" $srcDir 200 exit 1 201 fi 193 202 fi 194 203 for desktopFile in $desktopFiles … … 358 367 print "</screenshots>" >> xmlFile 359 368 } 360 print "<developer_name> Lliurex Team</developer_name>" >> xmlFile369 print "<developer_name> </developer_name>" >> xmlFile 361 370 print "</component>" >> xmlFile 362 371 }
Note: See TracChangeset
for help on using the changeset viewer.