-#!/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"
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
fi
if [ x$PROMPT = "xtrue" ]; then
- echo "Press enter to continue." && read RES;
+ echo $"Press enter to continue." && read RES;
fi
exit $STATUS