debmany: Fix outdated mentioning of "apt-get … --reinstall install"
Axel Beckert
7 years ago
4 | 4 |
* debget: Don't check if apt-get works properly first. Speeds script up
|
5 | 5 |
again by up to factor 2.
|
6 | 6 |
* 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".
|
7 | 9 |
|
8 | 10 |
-- Axel Beckert <abe@debian.org> Sat, 22 Apr 2017 01:48:14 +0200
|
9 | 11 |
|
268 | 268 |
aptdata=`apt-get -q2 --print-uris download "apt" 2>/dev/null | grep "apt"_`
|
269 | 269 |
if [ $? -ne 0 ] || [ -z "$aptdata" ] ; then
|
270 | 270 |
# 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\"'"
|
272 | 272 |
else
|
273 | 273 |
error "The package does not exist."
|
274 | 274 |
fi
|