diff options
author | rhatto <rhatto@04377dda-e619-0410-9926-eae83683ac58> | 2007-04-08 01:19:50 +0000 |
---|---|---|
committer | rhatto <rhatto@04377dda-e619-0410-9926-eae83683ac58> | 2007-04-08 01:19:50 +0000 |
commit | 38fdff1d0b0f92493506f2106b1735d02a69658c (patch) | |
tree | d90428a9383be24bb0318d1139c6bbf39940cbb1 /trunk/src | |
parent | 33a8a56106adae25714eec24d1bcb4889fcf8267 (diff) | |
download | simplepkg-38fdff1d0b0f92493506f2106b1735d02a69658c.tar.gz simplepkg-38fdff1d0b0f92493506f2106b1735d02a69658c.tar.bz2 |
some bugfixes
git-svn-id: svn+slack://slack.fluxo.info/var/svn/simplepkg@320 04377dda-e619-0410-9926-eae83683ac58
Diffstat (limited to 'trunk/src')
-rwxr-xr-x | trunk/src/repos | 6 | ||||
-rwxr-xr-x | trunk/src/simplaret | 4 |
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 $? |