summaryrefslogtreecommitdiffstats
path: root/scripts/pacman-optimize.sh.in
AgeCommit message (Collapse)AuthorFilesLines
2007-09-06scripts/*.sh.in: Clean up and fix a few bugsAndrew Fyfe1-23/+26
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>
2007-07-15Switch repo-add, repo-remove, and pacman-optimize to bsdtarDan McGee1-3/+3
Relatively straightforward fixes (s/tar/bsdtar/g, add hyphens to options). Signed-off-by: Dan McGee <dan@archlinux.org>
2007-07-06Make paragraph text in scripts single stringsDan McGee1-19/+16
It is much easier for translators to deal with paragraphs as strings rather than by lines. Take all usage and version information and convert it to this format. Signed-off-by: Dan McGee <dan@archlinux.org>
2007-07-06Move scripts from *.in to *.sh.in so gettext can determine typeDan McGee1-0/+158
If we move the scripts from *.in to *.sh.in and *.py.in, gettext can pull the required strings to translate a whole lot easier. Do this. Signed-off-by: Dan McGee <dan@archlinux.org>