1
0
mirror of https://github.com/moparisthebest/pacman synced 2024-08-13 17:03:46 -04:00
pacman/scripts
Dan McGee 6a636b2b6e pacman-optimize: standardize on openssl usage, only touch local/
The rest of our scripts have been using `openssl dgst` rather than tools
like `md5sum` for some time, so convert this one too. We also make the
following other adjustments:

* Use a `find -print0 | xargs -0` pipeline so paths with spaces and or
  newlines don't totally kill us.
* Ensure the files we write out contain only paths relative to the
  database root, where we know the filenames should all be sane.
* Remove use of `diff`, this was the only time we used it in scripts and
  we can get a cheap substitute by comparing file checksums instead.
* Only touch the local/ part of the database. It makes little sense to
  do anything to the sync/ directory anymore as they are compressed
  single files that should be regularly written out in full and won't be
  fragmented on any sane filesystem.

Signed-off-by: Dan McGee <dan@archlinux.org>
2012-03-08 17:26:23 -06:00
..
library parseopts: normalize options into an array 2012-02-16 17:31:16 -06:00
po Final pre-release Transifex updates 2012-02-11 15:01:35 -06:00
.gitignore Move some .gitignore entries 2011-07-18 10:28:19 -05:00
Makefile.am makepkg: calculate exact total file size 2011-12-28 22:32:22 -06:00
makepkg.sh.in Merge branch 'maint' 2012-02-20 17:00:26 -06:00
pacman-db-upgrade.sh.in Merge branch 'maint' 2012-01-30 22:00:26 -06:00
pacman-key.sh.in Merge branch 'maint' 2012-02-20 17:00:26 -06:00
pacman-optimize.sh.in pacman-optimize: standardize on openssl usage, only touch local/ 2012-03-08 17:26:23 -06:00
pkgdelta.sh.in Merge branch 'maint' 2012-01-30 22:00:26 -06:00
rankmirrors.sh.in rankmirrors: properly sort resulting times 2011-09-06 08:44:34 -05:00
repo-add.sh.in Merge branch 'maint' 2012-01-30 22:00:26 -06:00