diff options
Diffstat (limited to 'scripts/updatesync.sh.in')
-rw-r--r-- | scripts/updatesync.sh.in | 7 |
1 files changed, 7 insertions, 0 deletions
diff --git a/scripts/updatesync.sh.in b/scripts/updatesync.sh.in index 58ae0d56..5f5cc6c9 100644 --- a/scripts/updatesync.sh.in +++ b/scripts/updatesync.sh.in @@ -79,6 +79,13 @@ check_force () { # PROGRAM START +# determine whether we have gettext; make it a no-op if we do not +if [ ! $(type -t gettext) ]; then + gettext() { + echo "$@" + } +fi + if [ "$1" = "-h" -o "$1" = "--help" ]; then usage exit 0 |