Summary
Description: Unnamed repository; edit this file 'description' to name the repository.
Last Change: Thu 5/23/13 13:53
Recent Commits
>
--git a/Ubuntu/ChangeLog b/Ubuntu/ChangeLog
index 209c816..95ae31a 100755
--- a/Ubuntu/ChangeLog
+++ b/Ubuntu/ChangeLog
@@ -1,3 +1,8 @@
+2008-06-05 Mario Limonciello <mario_limonciello@dell.com>
+ * ati-packager.sh:
+ - Check for lsb_release and synaptic rather than assuming
+ they are present.
+
2008-05-28 Mario Limonciello <mario_limonciello@dell.com>
* ati-packager.sh:
- Use `ls` to determine supported releases
diff --git a/Ubuntu/ati-packager.sh b/Ubuntu/ati-packager.sh
index f92ad7c..cf97e6c 100755
--- a/Ubuntu/ati-packager.sh
+++ b/Ubuntu/ati-packager.sh
@@ -33,7 +33,7 @@ else
fi
#Synaptic availablity
-if [ -x `which synaptic` ]; then
+if [ -x /usr/sbin/synaptic ]; then
SYNAPTIC="TRUE"
else
SYNAPTIC=""
@@ -307,11 +307,14 @@ buildPackage()
identify()
{
- lsb=`lsb_release -s -c`
- check=$1
- if [ "${lsb}" = "${check}" ]
- then
- exit 0
+ lsb_launcher=`which lsb_release 2>/dev/null`
+ if [ ! -z "$lsb_launcher" ]; then
+ lsb=`lsb_release -s -c`
+ check=$1
+ if [ "${lsb}" = "${check}" ]
+ then
+ exit 0
+ fi
fi
exit ${ATI_INSTALLER_ERR_VERS}
<
Copyright © 2013 by Phoronix Media