HCoop
/
ntk
/
apt.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
i18n strings and gettext stuff
[ntk/apt.git]
/
dselect
/
update
diff --git
a/dselect/update
b/dselect/update
index
66b942b
..
b58fa13
100755
(executable)
--- a/
dselect/update
+++ b/
dselect/update
@@
-1,6
+1,9
@@
-#!/bin/sh
+#!/bin/
ba
sh
set -e
set -e
+# Set the textdomain for the translations using $"..."
+TEXTDOMAIN="apt"
+
# Get the configuration from /etc/apt/apt.conf
CLEAN="prompt"
OPTS="-f"
# 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
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
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
fi
if [ x$PROMPT = "xtrue" ]; then
- echo "Press enter to continue." && read RES;
+ echo
$
"Press enter to continue." && read RES;
fi
exit $STATUS
fi
exit $STATUS