File: gettext.sh

package info (click to toggle)
backup-manager 0.5.7-1sarge2
  • links: PTS
  • area: main
  • in suites: sarge
  • size: 360 kB
  • ctags: 85
  • sloc: sh: 1,126; perl: 378; makefile: 151
file content (13 lines) | stat: -rw-r--r-- 296 bytes parent folder | download
1
2
3
4
5
6
7
8
9
10
11
12
13
# This is a wrapper to the gettext API for shell scripts.

# If /usr/bin/gettext.sh is not found, we'll 
# provide a dummy function.

libdir="/usr/share/backup-manager"
libgettext="/usr/bin/gettext.sh"

if [ ! -f $libgettext ]; then
	. $libdir/gettext-dummy.sh
else
	. $libdir/gettext-real.sh
fi