diff options
author | Andrew Fyfe <andrew@neptune-one.net> | 2007-08-29 11:49:24 +0200 |
---|---|---|
committer | Dan McGee <dan@archlinux.org> | 2007-09-07 02:28:57 +0200 |
commit | 678983d2623d7ed700a70634089eef1c9f0b9b21 (patch) | |
tree | 7e6a3504f11738f62383fc6edae10ec664541850 /lib | |
parent | 9cceb3d9c4d4b0975781a4d48eabfdd29026453e (diff) | |
download | pacman-678983d2623d7ed700a70634089eef1c9f0b9b21.tar.gz pacman-678983d2623d7ed700a70634089eef1c9f0b9b21.tar.xz |
scripts/*.sh.in: Clean up and fix a few bugs
repo-add, repo-remove:
'bsdtar -c * | ...' doesn't work (you need '-f -'). Code clean up
eliminated this bug.
Removed the multiple checksum support, pacman now only supports MD5, so
there's no need for the database to contain multiple checksums.
Quote all variables containing file/dir names to prevent paths
containing spaces from causing problems.
Add msg, warning and error functions.
General code clean up.
pacman-optimize:
Use a sub-directory in /tmp for working files to make it easier to clean
up at the end.
Add quotes round $@ in die and die_r, otherwise printf can't display the
message correctly.
makepkg:
Disable colour output if stderr is not a tty.
Signed-off-by: Andrew Fyfe <andrew@neptune-one.net>
Diffstat (limited to 'lib')
0 files changed, 0 insertions, 0 deletions