From 38fdff1d0b0f92493506f2106b1735d02a69658c Mon Sep 17 00:00:00 2001 From: rhatto Date: Sun, 8 Apr 2007 01:19:50 +0000 Subject: some bugfixes git-svn-id: svn+slack://slack.fluxo.info/var/svn/simplepkg@320 04377dda-e619-0410-9926-eae83683ac58 --- trunk/src/repos | 6 ++++-- trunk/src/simplaret | 4 +++- 2 files changed, 7 insertions(+), 3 deletions(-) (limited to 'trunk/src') 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 $? -- cgit v1.2.3