1
0
mirror of https://github.com/moparisthebest/pacman synced 2024-12-23 00:08:50 -05:00
pacman/scripts
Dave Reisner b899099327 repo-add: show better error when path to repo does not exist
Previously, the error message when trying to add to a repo where a
parent directory didn't exist was:

==> ERROR: Failed to acquire lockfile: /path/to/noexist/repo.tar.gz.lck

This sucks. Make an explicit check to ensure that the path to the repo
really does exist, and throw a meaningful error message when it can't be
found.

Dan: reuse an existing (translated) error message.

Signed-off-by: Dave Reisner <d@falconindy.com>
Signed-off-by: Dan McGee <dan@archlinux.org>
2011-06-20 11:22:39 -05:00
..
library parse_options: adjust error messages 2011-06-15 09:19:45 -05:00
.gitignore pacman-key: keyring management tool 2011-03-23 01:59:42 -05:00
Makefile.am Clean up makefile for script generation 2011-06-15 09:19:56 -05:00
makepkg.sh.in makepkg: fix broken syntax (double $) 2011-06-20 00:20:52 -05:00
pacman-db-upgrade.sh.in scripts: refactor output formatting functions 2011-06-15 09:18:05 -05:00
pacman-key.sh.in scripts: refactor output formatting functions 2011-06-15 09:18:05 -05:00
pacman-optimize.sh.in Update copyright years for 2011 2011-01-07 18:47:37 -06:00
pkgdelta.sh.in scripts: refactor output formatting functions 2011-06-15 09:18:05 -05:00
rankmirrors.sh.in Fix bash shell location check 2010-10-13 17:50:54 -05:00
repo-add.sh.in repo-add: show better error when path to repo does not exist 2011-06-20 11:22:39 -05:00