aboutsummaryrefslogtreecommitdiff
path: root/trunk/src
diff options
context:
space:
mode:
Diffstat (limited to 'trunk/src')
-rwxr-xr-xtrunk/src/repos6
-rwxr-xr-xtrunk/src/simplaret4
2 files changed, 7 insertions, 3 deletions
diff --git a/trunk/src/repos b/trunk/src/repos
index 191af44..5011043 100755
--- a/trunk/src/repos
+++ b/trunk/src/repos
@@ -69,13 +69,15 @@ case "$1" in
svn_add_meta
;;
PACKAGESTXT)
- gen_packages_txt
+ gen_packages_txt .
+ gen_packages_txt patches
;;
FILELIST)
gen_filelist
;;
MD5)
- gen_md5_checksums
+ gen_md5_checksums .
+ gen_md5_checksums patches
;;
usage)
usage
diff --git a/trunk/src/simplaret b/trunk/src/simplaret
index 4081f5e..d79f7c0 100755
--- a/trunk/src/simplaret
+++ b/trunk/src/simplaret
@@ -556,9 +556,11 @@ function simplaret_get {
if [ -f "$folder/$candidate.asc" ] || [ "$SIGNATURE_CHECKING" == "1" ]; then
gpg --verify $folder/$candidate.asc $folder/$candidate
fi
- # generate the patches FILE_LIST if needed
+ # generate the patches FILE_LIST and PACKAGES.TXT if needed
if [ "$generate_patches" == "1" ]; then
gen_patches_filelst $folder
+ gen_packages_txt $folder
+ gen_md5_checksums $folder
fi
simplaret_checksum $storage/$repository_name/CHECKSUMS.md5 $folder/$candidate $silent
return $?