[pkg-fso-commits] [SCM] Various non-packaged files branch, master, updated. 2037106473711ddb181eed7dc346d5e1236e84c3
Steffen Moeller
steffen_moeller at gmx.de
Tue Mar 9 15:27:34 UTC 2010
The following commit has been merged in the master branch:
commit 8103c348fa4ed948add594be0f99efd6ca74577b
Author: Steffen Moeller <steffen_moeller at gmx.de>
Date: Tue Mar 9 01:57:44 2010 +0100
Extra info for missing "ar" hiding in binutils.
diff --git a/install.sh b/install.sh
index 747cbfc..e9d8772 100755
--- a/install.sh
+++ b/install.sh
@@ -1,4 +1,4 @@
-#!/bin/bash
+#!bin/bash
#
# Auto-Installer for Debian on the Openmoko Neo phones (GTA01 and GTA02)
#
@@ -611,12 +611,16 @@ action_testing () {
fi
intern_packages_missing=""
+ intern_extra_information=""
for intern_binary in $intern_packages_required; do
if ! which $intern_binary > /dev/null; then
if [ -n "$VERBOSE" ]; then
echo " * Missing binary '$intern_binary'"
fi
intern_packages_missing="$intern_packages_missing $intern_binary"
+ if [ "ar" = "$intern_binary" ]; then
+ intern_extra_information="${intern_extra_information}\n the 'ar' binary is expected to ship with a package named 'binutils'"
+ fi
fi
if [ -n "$VERBOSE" ]; then
echo " * $intern_binary installed"
@@ -624,7 +628,7 @@ action_testing () {
done
if [ -n "$intern_packages_missing" ]; then
- echo "E: Could not find the following binaries: $intern_packages_missing"
+ echo "E: Could not find the following binaries: $intern_packages_missing.$intern_extra_information"
exit 1
fi
--
Various non-packaged files
More information about the pkg-fso-commits
mailing list