add torrent support via adia2

This commit is contained in:
Mario Fetka
2013-03-01 18:50:20 +01:00
parent 44548c4261
commit 73f4adc58a
2 changed files with 6 additions and 2 deletions

View File

@@ -338,11 +338,11 @@ EOF
local file_list=${OUTPUT_DIR}/product-file-list.txt
local file_sort_list=${OUTPUT_DIR}/product-file-sort-list.txt
rm -f ${file_list}
for cfg_file in `find ${OPSI_REPOS_BASE_DIR} -name "${PN}-${VERSION}-${CREATOR_TAG}*.cfg" -print ` ; do
for cfg_file in `find ${OPSI_REPOS_BASE_DIR} -name "${PN}-*.cfg" -print ` ; do
. ${cfg_file}
printf "%08d;$cfg_file\n" $REV_RELEASE >> ${file_list}
done
sort -n ${file_list} > ${file_sort_list}
sort -V ${file_list} > ${file_sort_list}
# Delete the oldest files
log_debug "base list for calculate purge:"