summaryrefslogtreecommitdiff
path: root/dselect/update
diff options
context:
space:
mode:
authorArch Librarian <arch@canonical.com>2004-09-20 16:59:30 +0000
committerArch Librarian <arch@canonical.com>2004-09-20 16:59:30 +0000
commita8c2695ba741509159fdf5477d036c3b87507724 (patch)
tree957c142c50b37b067dab52e1beca1ef054ac85c6 /dselect/update
parent8c4bad46d421a38bee98a6979389764bc55d8979 (diff)
i18n strings and gettext stuff
Author: jgg Date: 2002-10-16 05:21:53 GMT i18n strings and gettext stuff
Diffstat (limited to 'dselect/update')
-rwxr-xr-xdselect/update9
1 files changed, 6 insertions, 3 deletions
diff --git a/dselect/update b/dselect/update
index 66b942bcb..b58fa13d8 100755
--- a/dselect/update
+++ b/dselect/update
@@ -1,6 +1,9 @@
-#!/bin/sh
+#!/bin/bash
set -e
+# Set the textdomain for the translations using $"..."
+TEXTDOMAIN="apt"
+
# Get the configuration from /etc/apt/apt.conf
CLEAN="prompt"
OPTS="-f"
@@ -24,7 +27,7 @@ CACHEDIR=`echo $CACHEDIR | sed -e "s|/$||"`
STATUS=1
if $APTGET $OPTS "$APT_OPT0" "$APT_OPT1" update
then
- echo "Merging Available information"
+ echo $"Merging Available information"
rm -f $CACHEDIR/available
$APTCACHE dumpavail > $CACHEDIR/available
$DPKG "$DPKG_OPTS" --update-avail $CACHEDIR/available
@@ -39,7 +42,7 @@ then
fi
if [ x$PROMPT = "xtrue" ]; then
- echo "Press enter to continue." && read RES;
+ echo $"Press enter to continue." && read RES;
fi
exit $STATUS