Codebase list debian-goodies / f1064a1
debmany: Fix outdated mentioning of "apt-get … --reinstall install" Axel Beckert 7 years ago
2 changed file(s) with 3 addition(s) and 1 deletion(s). Raw diff Collapse all Expand all
44 * debget: Don't check if apt-get works properly first. Speeds script up
55 again by up to factor 2.
66 * debget: Remove all "set -e" and "set +e": No more necessary.
7 * debmany: Fix outdated mentioning of "apt-get --print-uris --reinstall
8 install" by replacing it with "apt-get --print-uris download".
79
810 -- Axel Beckert <abe@debian.org> Sat, 22 Apr 2017 01:48:14 +0200
911
268268 aptdata=`apt-get -q2 --print-uris download "apt" 2>/dev/null | grep "apt"_`
269269 if [ $? -ne 0 ] || [ -z "$aptdata" ] ; then
270270 # If looking for apt fails then there is something amiss
271 error "Apt-get might not be working properly Possible failure when running 'apt-get -q2 --print-uris --reinstall install \"$package\"'"
271 error "Apt-get might not be working properly Possible failure when running 'apt-get -q2 --print-uris download \"$package\"'"
272272 else
273273 error "The package does not exist."
274274 fi