projects / fglrx-packaging.git / commitdiff
Build Results
 
Summary

Description: Unnamed repository; edit this file 'description' to name the repository.
Last Change: Wed 11/19/14 6:14

Recent Commits
Time
Signed-Off By
Description
Commit Diff
Wed 11/19/14 6:13
Alberto Milone  
Ubuntu: provide a link to... 
Thu 11/6/14 4:34
Alberto Milone  
Ubuntu: do not remove the... 
Fri 10/17/14 11:23
Alberto Milone  
Ubuntu: add support for... 
Mon 10/13/14 11:22
Alberto Milone  
Ubuntu: avoid... 
Thu 9/11/14 5:59
Alberto Milone  
Ubuntu: drop link to... 
Fri 9/5/14 9:45
Alberto Milone  
Ubuntu: make sure it's... 
 
> --git a/Ubuntu/ChangeLog b/Ubuntu/ChangeLog
index 209c816
..95ae31a 100755
--- a/Ubuntu/ChangeLog
+++ b/Ubuntu/ChangeLog
@@ -1,+1,@@
+
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 `
lsto 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,+33,@@ else
 
fi

 
#Synaptic availablity
-if [ -`which synaptic` ]; then
+if [ -/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 [ ! -
"$lsb_launcher]; then
+        lsb=`lsb_release -s -c`
+        
check=$1
+        if [ "${lsb}"${check}]
+        
then
+            exit 0
+        fi
     fi
     
exit ${ATI_INSTALLER_ERR_VERS}

<
 
Phoronix.com
Linux Driver Forums
Copyright © 2014 by Phoronix Media