X-Git-Url: https://git.saurik.com/apt.git/blobdiff_plain/ebace0167f2a5b5b62d57b288f6059743e9a2fa7..607bab3fe856d228f22e1cd96dbb7204e2f3375d:/dselect/update?ds=sidebyside diff --git a/dselect/update b/dselect/update index 66b942bcb..0ab317ee4 100755 --- a/dselect/update +++ b/dselect/update @@ -1,9 +1,12 @@ -#!/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" +OPTS="" APTGET="/usr/bin/apt-get" APTCACHE="/usr/bin/apt-cache" DPKG="/usr/bin/dpkg" @@ -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