summaryrefslogtreecommitdiffstats
path: root/scripts/pacman-optimize.sh.in
AgeCommit message (Collapse)AuthorFilesLines
2008-02-18scripts: allow usage when gettext is not installedDan McGee1-0/+9
Address the issue of our scripts not working so great when gettext is not available. This has come up in multiple bug reports, and is relatively easy to address by adding a simple check and a stub function if gettext was not found that simply echos the original message. Addresses concerns from FS#9214 and FS#9607. Signed-off-by: Dan McGee <dan@archlinux.org>
2007-12-11Update GNU GPL boilerplate and copyright datesDan McGee1-3/+1
Update the GPL boilerplate to direct people to the GNU website for a copy of the license, as well as bump all of Judd's copyrights to 2007. Signed-off-by: Dan McGee <dan@archlinux.org>
2007-11-14pacman-optimize: add note saying sync would be helpfulDan McGee1-0/+1
Signed-off-by: Dan McGee <dan@archlinux.org>
2007-10-09pacman-optimize: add check for diff/diffutilsDan McGee1-0/+5
Signed-off-by: Dan McGee <dan@archlinux.org>
2007-09-07scripts/*.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-07Make 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-07Move 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>