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

Description: Unnamed repository; edit this file 'description' to name the repository.
Last Change: Thu 6/25/15 6:21

Recent Commits
Time
Signed-Off By
Description
Commit Diff
Thu 6/25/15 6:21
Alberto Milone  
 
Thu 6/25/15 6:17
Alberto Milone  
Ubuntu: remove duplicate... 
Wed 5/27/15 11:26
Alberto Milone  
Ubuntu: override... 
Wed 5/20/15 3:48
Alberto Milone  
Ubuntu: put back the... 
Mon 4/27/15 11:37
Alberto Milone  
Ubuntu: prevent... 
Thu 4/16/15 7:48
Alberto Milone  
Ubuntu: allow -core to... 
 
> --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 © 2015 by Phoronix Media