BUG in old xorgwizard since Puppy Lupu-5

classic Classic list List threaded Threaded
1 message Options
Reply | Threaded
Open this post in threaded view
|  
Report Content as Inappropriate

BUG in old xorgwizard since Puppy Lupu-5

Karl Godt
Administrator


#Type the name of the one you want to use and press ENTER:" 0 0 2>/tmp/tagchosendrv.txt
   ALLDRVLIST="`ls -1 /usr/lib/xorg/modules/drivers /usr/lib/x/drivers-alternate /usr/lib/x/drivers-backup 2>/dev/null | grep -E '^[a-zA-Z0-9].*_drv.so' | cut -f 1 -d '_' | sort -u | tr '\n' ' '`"
   drvLIST=""
   for ONEDRV in $ALLDRVLIST
   do
 
  if [ -h /usr/lib/xorg/modules/drivers/$ONEDRV_drv.so ];then #ignore hyperlinks
should be
  if [ -h /usr/lib/xorg/modules/drivers/${ONEDRV}_drv.so ];then #ignore hyperlinks
if [ -h /usr/lib/xorg/modules/drivers/${ONEDRV}_drv.so ];then #ignore hyperlinks


Or what do you think -- ???

I am at the task to change all
for AVAR
to
for aVAR

to make the code better readable -- same for for ONEVAR -> for oneVAR

read ALINE and ALLVAR= or ALTVAR= or AVAILVAR= bites each other IMO .

So therefore I detected that .


Had at that time probls with vanished drivers ...
Loading...