1
0
mirror of https://github.com/moparisthebest/pacman synced 2024-11-17 14:55:07 -05:00

Merge remote-tracking branch 'dave/scripts-fixup'

This commit is contained in:
Dan McGee 2011-07-28 12:48:38 -05:00
commit dffff9659b
2 changed files with 6 additions and 3 deletions

View File

@ -20,7 +20,6 @@
#
# bash options
set -o nounset
set -o errexit
# gettext initialization
@ -130,7 +129,7 @@ esac
if (( $# != 2 )); then
usage
exit 0
exit 1
fi
if [[ ! -f $1 ]]; then

View File

@ -609,8 +609,12 @@ while (( $# )); do
shift
done
REPO_DB_FILE=${args[0]}
if [[ -z $REPO_DB_FILE ]]; then
usage
exit 1
fi
LOCKFILE=$REPO_DB_FILE.lck
verify_repo_extension "$REPO_DB_FILE" >/dev/null