index : pacman | |
Archlinux32 fork of pacman | gitolite user |
summaryrefslogtreecommitdiff |
author | Dan McGee <dan@archlinux.org> | 2008-02-17 21:15:06 -0600 |
---|---|---|
committer | Dan McGee <dan@archlinux.org> | 2008-02-17 21:25:41 -0600 |
commit | 355930654693b416725e170ad0cb14d0251626e4 (patch) | |
tree | 8981df01d6518eb67f6e359e399b9b9465bf5e74 /scripts/repo-remove.sh.in | |
parent | 2374c81e55abc0f7252fad7eb53d2b75bb33f750 (diff) |
-rw-r--r-- | scripts/repo-remove.sh.in | 7 |
diff --git a/scripts/repo-remove.sh.in b/scripts/repo-remove.sh.in index fe230b02..47a0d5ae 100644 --- a/scripts/repo-remove.sh.in +++ b/scripts/repo-remove.sh.in @@ -95,6 +95,13 @@ db_remove_entry() { # PROGRAM START +# determine whether we have gettext; make it a no-op if we do not +if [ ! $(type -t gettext) ]; then + gettext() { + echo "$@" + } +fi + # check for help flags if [ "$1" = "-h" -o "$1" = "--help" ]; then usage |