← Back to team overview

sony-vaio-z-series team mailing list archive

Re: VGN-Z620N Help required, Thanks!

 

Sorry about that, I'm new to mailing lists and just managed to click the
reply button. Now the answers to your questions, thanks alot for helping me
out.

1) I sort of understand whats going on, but I have to admit i'm a noob and
only followed the instructions on your site. I might have made some mistake
but I let the janitor script do all the work for me. What does work is the
nvidia card now, but the only way to constantly use it is editing the kernel
parameters. For example, I boot into speed mode and use my computer and then
turn the computer off. When I reboot the speed light doesnt comeon and later
in the ubuntu splash screen the stamina light comes on and a msg appears in
the corner saying plymouth disconnected or something and the login screen
appears in stamina mode.

To use speed mode this is what I have to do. I reboot and edit grub and
remove the slashes from *acpi_osi=\"!Windows 2006\"* to make i**t this
*acpi_osi="!Windows
2006"* then I allow it to boot. It boots into stamina mode the same way.
Then I reboot from the login screen and as soon as the bios screen comes the
speed lights up and it boots into speed. If I reboot the same procress
happens and I have to repeat if I want speed mode.


2) Thanks I used rfkill from the command line. One question though when I
block bluetooth it does soft block. What command do I use to hardblock blue
tooth?

3) Yes I only used the janitor script. I have attached the debug log for one
run and the script ran without any errors at all. Although the first time I
ran the script, it asked me whether I wanted newest drivers from Ftp. I
selected that and it installed 280 version drivers, but on reboot it did not
work. To fix this I went back in stamina mode and rerun the script and this
time chose that the distribution drivers be installed and it installed 270
and speed mode started working. When I first used speed mode, I noticed
flicker caused by powermizer when it changed the clock frequencies. I went
on the ubuntu forums and it said to add this ppa *
ppa:ubuntu-x-swat/x-updates. After running this ppa my drivers automatically
got updated to 280. I set powermizer on always high performance and the
flickering reduced, but compiz was still abit slow. I had to uncheck sync to
vblank in OpenGL settings and it got a little better but still not as good
as intel drivers.**

*4) When I ran the script while using the 3.0.3 kernel it broke my system
completely giving me multiple kernel errors on boot, but I think that might
be due to the fact that I had some vgaswitcheroo scripts in rc.local at the
time, and in my kernel parameters there was modeset=1 for vgaswitcheroo to
be active. I have no idea how to write my own wrapper but im looking forward
to what you will post :).

Hope you can find out whats wrong with my system at the moment. When im
using the NVIDIA card power top shows battery drain for 25 w/h and in intel
its around 12 W/h. Is that normal? The only optimizations ive done are using
BUM to remove unwanted start up services like bluetooth and DNS cleanup etc
and ive added pcmcia and yenta_socket to blacklist.conf. Thanks once again
for all your help. Regards.

Sohrab Naushad*
*
On Mon, Sep 19, 2011 at 8:28 PM, Raphael Gradenwitz <
raphael@xxxxxxxxxxxxxxxxx> wrote:

> -----BEGIN PGP SIGNED MESSAGE-----
> Hash: SHA1
>
> Me again..
>
> Am 19.09.2011 16:54, schrieb Raphael Gradenwitz:
> > Am 19.09.2011 14:17, schrieb Sohrab Naushad:
> >> ... is there any other place I can use the sysctl's for turning
> >> off the CD-ROM and battery care functions etc?
> >>
> [ .. ]
> > Since you are running Kernel "2.6.38-11-generic", those other
> > features (sysctl's for turning off the CD-ROM and battery care
> > functions) won't work since they require kernel >= 2.6.39
>
> I see here in my logfiles, that you have runn at least once with
> Kernel 3.0.4-030004-generic. On that one the sysctl' and battery
> life-savings normaly will work.
>
> I did not yet answer this question (XQ's me): No, you will have to
> handle those files in /sys/devices/platform/sony-laptop with echo and
> cat. You can write your own wrapper to do that for example with a
> zenity frontend. I did only not yet find the motivation for it but I
> will certainly make my own ey-candy solution in near future ;)
> When it runs nice and simple, I will post a link here in this list..
>
> Regards
> - --
> Raphael Gradenwitz
> *** GnuPG-FP: 3FEC B9A0 E784 F9B9 8AFA ECD3 EBE1 4E73 B309 66B4 ***
> -----BEGIN PGP SIGNATURE-----
> Version: GnuPG v1.4.11 (GNU/Linux)
> Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org/
>
> iEYEARECAAYFAk53X4UACgkQ6+FOc7MJZrTrJgCfYXpIOLAQRnBBhSzz5MeKGcJE
> 7nUAoMDoeP4HzclBCOepp+oLq6EE5Bm3
> =7Egr
> -----END PGP SIGNATURE-----
>
> _______________________________________________
> Mailing list: https://launchpad.net/~sony-vaio-z-series
> Post to     : sony-vaio-z-series@xxxxxxxxxxxxxxxxxxx
> Unsubscribe : https://launchpad.net/~sony-vaio-z-series
> More help   : https://help.launchpad.net/ListHelp
>
This is a tracelog from "sony-VGN-Zseries-janitor --debug --xterm", pid 2365
from Tue Sep 20 02:14:50 PKT 2011
============================================================================


set:
====
BASH=/bin/bash
BASHOPTS=cmdhist:extquote:force_fignore:hostcomplete:interactive_comments:progcomp:promptvars:sourcepath
BASH_ALIASES=()
BASH_ARGC=([0]="2")
BASH_ARGV=([0]="--xterm" [1]="--debug")
BASH_CMDS=()
BASH_LINENO=([0]="0")
BASH_SOURCE=([0]="/usr/local/bin/sony-VGN-Zseries-janitor")
BASH_VERSINFO=([0]="4" [1]="2" [2]="8" [3]="1" [4]="release" [5]="x86_64-pc-linux-gnu")
BASH_VERSION='4.2.8(1)-release'
COLORTERM=gnome-terminal
DIRSTACK=()
DISPLAY=:0.0
EUID=0
GROUPS=()
HOME=/root
HOSTNAME=sohrab-VGN-Z620N
HOSTTYPE=x86_64
IFS=$' \t\n'
LANG=en_US.UTF-8
LANGUAGE=en_US:en
LOGNAME=root
LS_COLORS='rs=0:di=01;34:ln=01;36:mh=00:pi=40;33:so=01;35:do=01;35:bd=40;33;01:cd=40;33;01:or=40;31;01:su=37;41:sg=30;43:ca=30;41:tw=30;42:ow=34;42:st=37;44:ex=01;32:*.tar=01;31:*.tgz=01;31:*.arj=01;31:*.taz=01;31:*.lzh=01;31:*.lzma=01;31:*.tlz=01;31:*.txz=01;31:*.zip=01;31:*.z=01;31:*.Z=01;31:*.dz=01;31:*.gz=01;31:*.lz=01;31:*.xz=01;31:*.bz2=01;31:*.bz=01;31:*.tbz=01;31:*.tbz2=01;31:*.tz=01;31:*.deb=01;31:*.rpm=01;31:*.jar=01;31:*.rar=01;31:*.ace=01;31:*.zoo=01;31:*.cpio=01;31:*.7z=01;31:*.rz=01;31:*.jpg=01;35:*.jpeg=01;35:*.gif=01;35:*.bmp=01;35:*.pbm=01;35:*.pgm=01;35:*.ppm=01;35:*.tga=01;35:*.xbm=01;35:*.xpm=01;35:*.tif=01;35:*.tiff=01;35:*.png=01;35:*.svg=01;35:*.svgz=01;35:*.mng=01;35:*.pcx=01;35:*.mov=01;35:*.mpg=01;35:*.mpeg=01;35:*.m2v=01;35:*.mkv=01;35:*.ogm=01;35:*.mp4=01;35:*.m4v=01;35:*.mp4v=01;35:*.vob=01;35:*.qt=01;35:*.nuv=01;35:*.wmv=01;35:*.asf=01;35:*.rm=01;35:*.rmvb=01;35:*.flc=01;35:*.avi=01;35:*.fli=01;35:*.flv=01;35:*.gl=01;35:*.dl=01;35:*.xcf=01;35:*.xwd=01;35:*.yuv=01;35:*.cgm=01;35:*.emf=01;35:*.axv=01;35:*.anx=01;35:*.ogv=01;35:*.ogx=01;35:*.aac=00;36:*.au=00;36:*.flac=00;36:*.mid=00;36:*.midi=00;36:*.mka=00;36:*.mp3=00;36:*.mpc=00;36:*.ogg=00;36:*.ra=00;36:*.wav=00;36:*.axa=00;36:*.oga=00;36:*.spx=00;36:*.xspf=00;36:'
MACHTYPE=x86_64-pc-linux-gnu
MAIL=/var/mail/root
NEED_DISTR_CODENAME=jaunty
NEED_DISTR_DESCRIPTION='Ubuntu 9.04'
NEED_DISTR_ID=Ubuntu
NEED_DISTR_RELEASE=9.04
OLDPWD=/usr/local/bin
OPTERR=1
OPTIND=1
ORBIT_SOCKETDIR=/tmp/orbit-root
OSTYPE=linux-gnu
PATH=/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/usr/X11R6/bin
PIPESTATUS=([0]="0")
PPID=2361
PS4='+ '
PWD=/root
SHELL=/bin/bash
SHELLOPTS=braceexpand:hashall:interactive-comments
SHLVL=1
SUDO_COMMAND='/usr/bin/gnome-terminal --hide-menubar --geometry=140x40-0-0 --disable-factory --title="sony-VGN-Zseries-janitor" --execute /usr/local/bin/sony-VGN-Zseries-janitor --debug --xterm'
SUDO_GID=1000
SUDO_UID=1000
SUDO_USER=sohrab
TERM=xterm
UID=0
USER=root
USERNAME=root
WINDOWID=73400358
XAUTHORITY=/tmp/libgksu-cUehlO/.Xauthority
_='\n\n\nset:\n===='
arch=x86_64
arguments='--debug --xterm'
b='\033[1m'
checknv=:
deb_flag=+x
debug=:
dm=gdm
evahost=www.basyskom.org/~eva
force=false
i='\033[2m'
kmaj=6
kmin=38
kver=2
logdir=/var/log/sony-laptop-zseries
me=sony-VGN-Zseries-janitor
mod=sony-laptop
module=sony-laptop-zseries
must_restart_gnome=false
mydir=/usr/local/bin
myhost=global-social.net
n='\033[0m'
opt=-
packages='xserver-xorg-core libgl1-mesa-glx libgl1-mesa-dev mesa-common-dev ia32-libs'
preininghost=www.logic.at/people/preining/software
quiet=false
rfka=rfkill-applet
runtime=11-09-20_02:14:50
sbindir=/usr/local/sbin
sharedir=/usr/share/sony-laptop
tracelog=/var/log/sony-laptop-zseries/sony-VGN-Zseries-janitor_trace_11-09-20_02:14:50.log
u_string='sony-VGN-Zseries-janitor (http://global-social.net/sony-VGN-Z#janitor) 2.6.38-11-generic #48-Ubuntu SMP Fri Jul 29 19:02:55 UTC 2011 x86_64'
update_x_to=:
updateme=:
usage=false
v_q_warning=false
verbose=false
xterm=:
abort () 
{ 
    $xterm && anykey;
    exit $1
}
anykey () 
{ 
    read -p "Press ENTER to continue " dummy 2>&1;
    return 0
}
name_of () 
{ 
    name=`grep "^$1:[^:]*:$2:$3:.*" /etc/passwd | sed -e "s/^$1:[^:]*:$2:$3://" -e 's/:.*$//' -e 's/,.*$//'`;
    [ -n "$name" ] && echo "$name" || echo $1
}
only_v_or_q_warning () 
{ 
    echo -e "\n\tonly -v, --verbose or -q, --quiet is possible, not both together";
    echo -en "\t";
    repeat_bash_cmd 0 64 echo -n =;
    echo -e "\n\n";
    usage
}
repeat_bash_cmd () 
{ 
    set +x;
    local i delay="$1" cnt="$2" cmd="$3" arg1="$4" arg2="$5";
    for ((i=0; i<$cnt; i++))
    do
        sleep $delay;
        $cmd "$arg1" "$arg2";
    done;
    sleep $delay;
    set $deb_flag
}
usage () 
{ 
    [ -z "$1" ] || echo "$1";
    echo " usage: $me [-fh[v|q]x| --help --force --debug [--quiet|--verbose]]";
    echo -e "\t$b-h, --help$n     this message";
    echo -e "\t$b-f, --force$n    force updating even if already installed";
    echo -e "\t$b-q, --quiet$n    be quiet (no echo)";
    echo -e "\t$b-v, --verbose$n  be verbose";
    echo -e "\t$b-x, --debug$n    create a debuglog in $logdir";
    abort 1
}

dmidecode:
==========
# dmidecode 2.9
SMBIOS 2.4 present.
23 structures occupying 986 bytes.
Table at 0x000E8330.

Handle 0x0000, DMI type 0, 24 bytes
BIOS Information
	Vendor: INSYDE
	Version: R4044M3
	Release Date: 11/10/2009
	ROM Size: 1536 kB
	Characteristics:
		PCI is supported
		PNP is supported
		BIOS is upgradeable
		BIOS shadowing is allowed
		Boot from CD is supported
		Selectable boot is supported
		EDD is supported
		8042 keyboard services are supported (int 9h)
		CGA/mono video services are supported (int 10h)
		ACPI is supported
		USB legacy is supported
		Smart battery is supported
		BIOS boot specification is supported
		Function key-initiated network boot is supported
		Targeted content distribution is supported
	BIOS Revision: 40.44
	Firmware Revision: 40.44

Handle 0x0001, DMI type 1, 27 bytes
System Information
	Manufacturer: Sony Corporation
	Product Name: VGN-Z620N
	Version: J003QNQ8
	Serial Number: 28286033-3000662
	UUID: C4207750-B83F-11DC-9BBA-001DBA678B8B
	Wake-up Type: Power Switch
	SKU Number: N/A
	Family: N/A

Handle 0x0002, DMI type 2, 10 bytes
Base Board Information
	Manufacturer: Sony Corporation
	Product Name: VAIO
	Version: N/A
	Serial Number: N/A

Handle 0x0003, DMI type 3, 17 bytes
Chassis Information
	Manufacturer: Sony Corporation
	Type: Notebook
	Lock: Not Present
	Version: N/A
	Serial Number: N/A
	Asset Tag: N/A
	Boot-up State: Safe
	Power Supply State: Safe
	Thermal State: Safe
	Security Status: None
	OEM Information: 0x00000000

Handle 0x0004, DMI type 11, 5 bytes
OEM Strings
	String 1: 0000035782
	String 2: FNC-EXTB
	String 3: 7XQW00000000A5E6D93D1A6C61F7
	String 4: Reserved
	String 5: Reserved

Handle 0x0005, DMI type 27, 14 bytes
Cooling Device
	Type: Unknown
	Status: Unknown
	OEM-specific Information: 0x00000000
	Nominal Speed: Unknown Or Non-rotating

Handle 0x0006, DMI type 32, 20 bytes
System Boot Information
	Status: No errors detected

Handle 0x0007, DMI type 39, 22 bytes
System Power Supply
	Location: N/A
	Name: N/A
	Manufacturer: N/A
	Serial Number: N/A
	Asset Tag: N/A
	Model Part Number: N/A
	Revision: N/A
	Max Power Capacity: Unknown
	Status: Present, Unknown
	Type: Unknown
	Input Voltage Range Switching: Unknown
	Plugged: Yes
	Hot Replaceable: Yes

Handle 0x0008, DMI type 22, 26 bytes
Portable Battery
	Location: N/A
	Manufacturer: N/A
	Name: N/A
	Design Capacity: Unknown
	Design Voltage: Unknown
	SBDS Version: Unknown
	Maximum Error: Unknown
	SBDS Serial Number: FFFF
	SBDS Manufacture Date: 2008-01-01
	SBDS Chemistry: Unknown
	OEM-specific Information: 0x00000000

Handle 0x0009, DMI type 136, 11 bytes
OEM-specific Type
	Header and Data:
		88 0B 09 00 01 44 49 52 53 07 03
	Strings:
		Sony Corporation

Handle 0x000A, DMI type 129, 8 bytes
OEM-specific Type
	Header and Data:
		81 08 0A 00 01 01 02 00
	Strings:
		Intel_ASF
		Intel_ASF_001

Handle 0x000B, DMI type 130, 20 bytes
OEM-specific Type
	Header and Data:
		82 14 0B 00 24 41 4D 54 00 00 00 00 01 A5 0B 03
		00 00 00 00

Handle 0x000C, DMI type 131, 64 bytes
OEM-specific Type
	Header and Data:
		83 40 0C 00 17 00 00 00 00 00 40 2A 04 00 00 00
		F8 00 17 29 00 00 00 00 09 00 00 00 00 00 00 00
		00 00 00 00 00 00 00 00 C8 00 F5 10 00 00 00 FF
		00 00 00 00 10 00 00 00 76 50 72 6F 00 00 00 00

Handle 0x000D, DMI type 4, 35 bytes
Processor Information
	Socket Designation: N/A
	Type: Central Processor
	Family: Other
	Manufacturer: GenuineIntel
	ID: 7A 06 01 00 FF FB EB BF
	Version: Intel(R) Core(TM)2 Duo CPU     P8600  @ 2.40GHz
	Voltage: 1.3 V
	External Clock: 266 MHz
	Max Speed: 2400 MHz
	Current Speed: 2400 MHz
	Status: Populated, Enabled
	Upgrade: None
	L1 Cache Handle: 0x000F
	L2 Cache Handle: 0x000E
	L3 Cache Handle: Not Provided
	Serial Number: N/A
	Asset Tag: N/A
	Part Number: N/A

Handle 0x000E, DMI type 7, 19 bytes
Cache Information
	Socket Designation: L2 Cache
	Configuration: Enabled, Not Socketed, Level 2
	Operational Mode: Write Back
	Location: Internal
	Installed Size: 3072 KB
	Maximum Size: 3072 KB
	Supported SRAM Types:
		Synchronous
	Installed SRAM Type: Synchronous
	Speed: Unknown
	Error Correction Type: Single-bit ECC
	System Type: Unified
	Associativity: Unknown

Handle 0x000F, DMI type 7, 19 bytes
Cache Information
	Socket Designation: L1 Cache
	Configuration: Enabled, Not Socketed, Level 1
	Operational Mode: Write Back
	Location: Internal
	Installed Size: 128 KB
	Maximum Size: 128 KB
	Supported SRAM Types:
		Synchronous
	Installed SRAM Type: Synchronous
	Speed: Unknown
	Error Correction Type: Single-bit ECC
	System Type: Other
	Associativity: 8-way Set-associative

Handle 0x0010, DMI type 16, 15 bytes
Physical Memory Array
	Location: System Board Or Motherboard
	Use: System Memory
	Error Correction Type: None
	Maximum Capacity: 2048 GB
	Error Information Handle: Not Provided
	Number Of Devices: 2

Handle 0x0011, DMI type 17, 25 bytes
Memory Device
	Array Handle: 0x0010
	Error Information Handle: Not Provided
	Total Width: 64 bits
	Data Width: 64 bits
	Size: 2048 MB
	Form Factor: SODIMM
	Set: None
	Locator: SODIMM1
	Bank Locator: BANK 0
	Type: Unknown
	Type Detail: Unknown
	Speed: 1067 MHz (0.9 ns)

Handle 0x0012, DMI type 20, 19 bytes
Memory Device Mapped Address
	Starting Address: 0x00000000000
	Ending Address: 0x0007FFFFFFF
	Range Size: 2 GB
	Physical Device Handle: 0x0011
	Memory Array Mapped Address Handle: 0x0015
	Partition Row Position: Unknown
	Interleave Position: Unknown
	Interleaved Data Depth: Unknown

Handle 0x0013, DMI type 17, 25 bytes
Memory Device
	Array Handle: 0x0010
	Error Information Handle: Not Provided
	Total Width: 64 bits
	Data Width: 64 bits
	Size: 2048 MB
	Form Factor: SODIMM
	Set: None
	Locator: SODIMM2
	Bank Locator: BANK 1
	Type: Unknown
	Type Detail: Unknown
	Speed: 1067 MHz (0.9 ns)

Handle 0x0014, DMI type 20, 19 bytes
Memory Device Mapped Address
	Starting Address: 0x00080000000
	Ending Address: 0x000FFFFFFFF
	Range Size: 2 GB
	Physical Device Handle: 0x0013
	Memory Array Mapped Address Handle: 0x0015
	Partition Row Position: Unknown
	Interleave Position: Unknown
	Interleaved Data Depth: Unknown

Handle 0x0015, DMI type 19, 15 bytes
Memory Array Mapped Address
	Starting Address: 0x00000000000
	Ending Address: 0x000FFFFFFFF
	Range Size: 4 GB
	Physical Array Handle: 0x0010
	Partition Width: 0

Handle 0x0016, DMI type 127, 4 bytes
End Of Table




script:
======
+ '[' -d /dev/fd ']'
++ repeat_bash_cmd 0 39 echo -n ' *'
++ set +x
+ stars=' * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * *'
++ repeat_bash_cmd 0 75 echo -n ' '
++ set +x
+ star1=' *                                                                           *'
++ repeat_bash_cmd 0 71 echo -n ' '
++ set +x
+ star2=' * *                                                                       * *'
+ diemsg=
+ install_deb gawk
+ local deb=gawk
+ is_installed gawk
+ is_installed gawk
++ lspci -n
++ gawk '$2 == "0300:" && $3 ~ /^10de:[[:xdigit:]]+$/ { lsgc += 2 }
                $2 == "0300:" && $3 ~ /^8086:[[:xdigit:]]+$/ { lsgc += 1 }
                END { print lsgc }'
+ mode=3
+ :
+ say_hello_world
++ name_of sohrab 1000 1000
+++ grep '^sohrab:[^:]*:1000:1000:.*' /etc/passwd
+++ sed -e 's/^sohrab:[^:]*:1000:1000://' -e 's/:.*$//' -e 's/,.*$//'
++ name=sohrab
++ '[' -n sohrab ']'
++ echo sohrab
+ user_name=sohrab
+++ expr 67 - 6
++ repeat_bash_cmd 0 61 echo -n ' '
++ set +x
+ echo -e ' * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * *\n *                                                                           *\n * Hello \033[1msohrab\033[0m,                                                             *\n *                                                                           *'
+ echo -e ' * I hope this script will be helpfull to you. If you encounter trouble      *'
+ echo -e ' * with it, please don'\''t hesitate to ask for help on the sony-vaio-z-series  *'
+ echo -e ' * mailinglist:\033[1m https://launchpad.net/~sony-vaio-z-series\033[0m                    *'
+ echo -e ' * Simply mail your questions to\033[1m sony-vaio-z-series@xxxxxxxxxxxxxxxxxxx\033[0m.     *'
+ echo -e ' * The host of this script is\033[1m http://global-social.net/VGN-Z\033[0m                 *'
+ echo -e ' * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * *\n * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * *\n * *                                                                       * *'
+ echo -e ' * *  \033[1m If you run this script for the first time on this system, ensure\033[0m    * *'
+ echo -e ' * *  \033[1m first that you have removed all previous switch mechanisms.\033[0m         * *'
+ echo -e ' * *                                                                       * *\n * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * *\n * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * *'
+ '[' 2 -lt 3 -a 2638 -lt 2628 ']'
+ check_distrib
+ '[' -f /etc/lsb-release ']'
+ . /etc/lsb-release
++ DISTRIB_ID=Ubuntu
++ DISTRIB_RELEASE=11.04
++ DISTRIB_CODENAME=natty
++ DISTRIB_DESCRIPTION='Ubuntu 11.04'
++ echo 9.04
++ sed 's/[^[:digit:]]//g'
+ NDR=0904
++ echo 11.04
++ sed 's/[^[:digit:]]//g'
+ DR=01104
+ case $DISTRIB_ID in
+ '[' 01104 -lt 0904 ']'
+ '[' 01104 -gt 0904 ']'
+ msg1
+++ expr 32 - 6 - 4 - 6
++ repeat_bash_cmd 0 16 notquiet -n ' '
++ set +x
+ notquiet ' * This script was created for Ubuntu 9.04, Codename "jaunty"                *'
+ false
+ echo ' * This script was created for Ubuntu 9.04, Codename "jaunty"                *' ''
+ return 0
+ msg2
+ local cmd=
+ notquiet -n ' * you are running Ubuntu 11.04, Codename "natty"'
+ false
+ echo -n ' * you are running Ubuntu 11.04, Codename "natty"'
+ return 0
+ '[' -z '' ']'
+++ expr 44 - 6 - 5 - 5
++ repeat_bash_cmd 0 28 notquiet -n ' '
++ set +x
+ notquiet '                            *'
+ false
+ echo '                            *' ''
+ return 0
+++ expr 26 - 6
++ repeat_bash_cmd 0 20 notquiet -n ' '
++ set +x
+ notquiet -e ' * OK, that one is newer than jaunty and supported. \033[1mGood!\033[0m                    *'
+ false
+ echo -e ' * OK, that one is newer than jaunty and supported. \033[1mGood!\033[0m                    *'
+ return 0
+ anykey
+ read -p 'Press ENTER to continue ' dummy
+ return 0
+ update_aptget_sources
+ notquiet -e '\n    resynchronizing the package index files from apt-sources.'
+ false
+ echo -e '\n    resynchronizing the package index files from apt-sources.'
+ return 0
+ myecho -en '     -\033[2m apt-get -qq update\033[0m ...'
+ false
+ return 0
++ mktemp
++ mktemp
+ local diemsg=/tmp/tmp.jzRx8bIKRV tmpjob=/tmp/tmp.FwZp6dAdvo 'actionstring=apt-get -qq update'
+ run_progressindicator /tmp/tmp.FwZp6dAdvo
+ eval apt-get -qq update
+ set +x
+ grep -qs 'Exit[[:space:]][[:digit:]]' /tmp/tmp.FwZp6dAdvo
+ myecho ' finished'
+ false
+ return 0
+ remove /tmp/tmp.FwZp6dAdvo
+ '[' -L /tmp/tmp.FwZp6dAdvo ']'
+ '[' -f /tmp/tmp.FwZp6dAdvo ']'
+ rm -f /tmp/tmp.FwZp6dAdvo
+ false
+ '[' -d /tmp/tmp.FwZp6dAdvo ']'
+ return 0
+ remove /tmp/tmp.jzRx8bIKRV
+ '[' -L /tmp/tmp.jzRx8bIKRV ']'
+ '[' -f /tmp/tmp.jzRx8bIKRV ']'
+ rm -f /tmp/tmp.jzRx8bIKRV
+ false
+ '[' -d /tmp/tmp.jzRx8bIKRV ']'
+ return 0
+ check_barremetal
+ install_deb dmidecode
+ local deb=dmidecode
+ is_installed dmidecode
+ is_installed dmidecode
++ dmidecode -s system-manufacturer
+ system_manufacturer='Sony Corporation'
+ echo 'Sony Corporation'
+ grep -qs '^[[:space:]]*$'
++ dmidecode -s baseboard-product-name
+ baseboard_product_name=VAIO
+ echo VAIO
+ grep -qs '^[[:space:]]*$'
++ dmidecode -s system-product-name
+ system_product_name=VGN-Z620N
+ echo VGN-Z620N
+ grep -qs '^[[:space:]]*$'
++ dmidecode -s bios-vendor
+ bios_vendor=INSYDE
++ dmidecode -s bios-version
+ bios_version=R4044M3
++ dmidecode -s bios-release-date
+ bios_release_date=11/10/2009
++ dmidecode -t 19
++ awk '/Range Size/ { print $3 * 1048576 }'
+ phisical_ramsize=4194304
++ awk '/MemTotal/ { print $2 }' /proc/meminfo
+ used_ramsize=3988696
++ expr 4194304 - 3988696
+ unused_ram=205608
+ [[ Sony Corporation == Sony\ Corporation ]]
+ sony=:
+ manufacturer=Sony
+ [[ VAIO == VAIO ]]
+ vaio=:
+ [[ VGN-Z620N == *VGN-Z* ]]
+ vgnz=:
+ e1=' * This script is for Sony Vaio VGN-Z Series laptops with hybrid graphics    *'
+ e2=' * You are running a Sony Corporation system'
+ e3='. Exit script'
+ :
+ :
+ :
+ :
+ :
+ :
+++ expr 34 - 9 - 6 - 7
++ repeat_bash_cmd 0 12 notquiet -n ' '
++ set +x
+ echo -e ' * This is a Sony VAIO \033[1mVGN-Z620N\033[0m with INSYDE BIOS Version \033[1mR4044M3\033[0m            *'
+ echo R4044M3
+ grep -qs 'R[0-9]\{4\}M3'
++ repeat_bash_cmd 0 24 notquiet -n ' '
++ set +x
+ echo -e ' * For the moment this looks good enough to proceed..                        *'
+ anykey
+ read -p 'Press ENTER to continue ' dummy
+ return 0
+ unset e1 e2 e3
+ '[' x86_64 = x86 ']'
+ '[' -z '' ']'
+ debian_version='Ubuntu/11.04 (natty)'
+ u_string='sony-VGN-Zseries-janitor (http://global-social.net/sony-VGN-Z#janitor) 2.6.38-11-generic #48-Ubuntu SMP Fri Jul 29 19:02:55 UTC 2011 x86_64 Ubuntu/11.04 (natty) VGN-Z620N R4044M3'
+ :
+ is_host_online global-social.net
+ local host=global-social.net r=1
+ ping -qc 1 global-social.net
+ r=0
+ return 0
+ tmp_me_new=
+ server_me='tiki-download_file.php?fileId=3'
+ '[' x = x ']'
++ mktemp -d
+ cookie=/tmp/tmp.w7d1qRy1tu/11-09-20_02:14:50-sohrab@xxxxxxxxxxxxxxxxx
++ mktemp -d
+ wget -P /tmp/tmp.ga6e3H0sr9 --save-cookies /tmp/tmp.w7d1qRy1tu/11-09-20_02:14:50-sohrab@xxxxxxxxxxxxxxxxx --keep-session-cookies -U 'sony-VGN-Zseries-janitor (http://global-social.net/sony-VGN-Z#janitor) 2.6.38-11-generic #48-Ubuntu SMP Fri Jul 29 19:02:55 UTC 2011 x86_64 Ubuntu/11.04 (natty) VGN-Z620N R4044M3' 'http://global-social.net/tiki-download_file.php?fileId=3'
++ date_from /usr/local/bin/sony-VGN-Zseries-janitor
++ local from=/usr/local/bin/sony-VGN-Zseries-janitor d t
++++ awk '/^# Last changes:/ { print $4 }' /usr/local/bin/sony-VGN-Zseries-janitor
+++ sort_date_tokens 07.09.2011
+++ echo 07.09.2011
+++ awk 'BEGIN { FS="[-|/|.|:]"; fmt = "%04d%02d%02d\n" }
        length($1) == 4 { printf(fmt,$1,$2,$3) }
        length($3) == 4 { printf(fmt,$3,$2,$1) }'
++ d=20110907
+++ awk '/^# Last changes:/ { gsub(":", "", $5); print $5 }' /usr/local/bin/sony-VGN-Zseries-janitor
++ t=1042
++ echo 201109071042
++ date_from '/tmp/tmp.ga6e3H0sr9/tiki-download_file.php?fileId=3'
++ local 'from=/tmp/tmp.ga6e3H0sr9/tiki-download_file.php?fileId=3' d t
++++ awk '/^# Last changes:/ { print $4 }' '/tmp/tmp.ga6e3H0sr9/tiki-download_file.php?fileId=3'
+++ sort_date_tokens 07.09.2011
+++ echo 07.09.2011
+++ awk 'BEGIN { FS="[-|/|.|:]"; fmt = "%04d%02d%02d\n" }
        length($1) == 4 { printf(fmt,$1,$2,$3) }
        length($3) == 4 { printf(fmt,$3,$2,$1) }'
++ d=20110907
+++ awk '/^# Last changes:/ { gsub(":", "", $5); print $5 }' '/tmp/tmp.ga6e3H0sr9/tiki-download_file.php?fileId=3'
++ t=1042
++ echo 201109071042
+ '[' 0201109071042 -lt 0201109071042 ']'
+ remove /tmp/tmp.ga6e3H0sr9/
+ '[' -L /tmp/tmp.ga6e3H0sr9/ ']'
+ '[' -f /tmp/tmp.ga6e3H0sr9/ ']'
+ '[' -d /tmp/tmp.ga6e3H0sr9/ ']'
+ rm -fr /tmp/tmp.ga6e3H0sr9/
+ false
+ return 0
++ grep '^# Last changes:' /usr/local/bin/sony-VGN-Zseries-janitor
+ mydate='# Last changes: 07.09.2011 10:42'
+ mkdir -p /usr/share/sony-laptop
+ '[' -f /usr/share/sony-laptop/vaio.png ']'
++ eval echo '~sohrab'
+++ echo /home/sohrab
+ '[' -f /home/sohrab/.config/user-dirs.dirs ']'
++ eval echo '~sohrab'
+++ echo /home/sohrab
+ . /home/sohrab/.config/user-dirs.dirs
++ XDG_DESKTOP_DIR=/root/Desktop
++ XDG_DOWNLOAD_DIR=/root/Downloads
++ XDG_TEMPLATES_DIR=/root/Templates
++ XDG_PUBLICSHARE_DIR=/root/Public
++ XDG_DOCUMENTS_DIR=/root/Documents
++ XDG_MUSIC_DIR=/root/Music
++ XDG_PICTURES_DIR=/root/Pictures
++ XDG_VIDEOS_DIR=/root/Movies
+ local_desktop=Desktop
++ eval echo '~sohrab'
+++ echo /home/sohrab
+ '[' -f /home/sohrab/Desktop/vgn-zseries-janitor.desktop ']'
+ dlaunch=false
+ '[' -f /usr/share/applications/vgn-zseries-janitor.desktop ']'
+ alaunch=false
+ false
+ false
+ ask '    Create Desktop and Sytem-Menu Launcher for this script' yes
+ local answer= yes= no=
+ '[' -z '' ']'
+ yes='[y]es'
+ '[' -z '' ']'
+ no='[n]o'
+ :
+ false
+ lastline='    Create Desktop and Sytem-Menu Launcher for this script'
++ echo '    Create Desktop and Sytem-Menu Launcher for this script'
++ sed 's/\\033\[[012]\{1\}m//g'
+ lastline='    Create Desktop and Sytem-Menu Launcher for this script'
++ expr 58 + 5 + 4 + 3
+ '[' 70 -gt 65 ']'
++ spacefrom '    Create Desktop and Sytem-Menu Launcher for this script'
++ echo '    Create Desktop and Sytem-Menu Launcher for this script'
++ sed 's/[^[:space:]].*//'
+ newline='\n    Make your choice: '
+ echo -en '    Create Desktop and Sytem-Menu Launcher for this script?\n    Make your choice: ([y]es or [n]o) [\033[1myes\033[0m]: '
+ read answer
++ tolower n
++ echo n
++ tr '[:upper:]' '[:lower:]'
+ answer=n
+++ flat '[y]es'
+++ echo '[y]es'
+++ sed -e 's/\[//' -e 's/\]//'
++ tolower yes
++ echo yes
++ tr '[:upper:]' '[:lower:]'
+++ abrv '[y]es'
+++ echo '[y]es'
+++ sed -e 's/.*\[//' -e 's/\].*//'
++ tolower y
++ echo y
++ tr '[:upper:]' '[:lower:]'
+ '[' n = yes -o n = y ']'
+++ flat '[n]o'
+++ echo '[n]o'
+++ sed -e 's/\[//' -e 's/\]//'
++ tolower no
++ tr '[:upper:]' '[:lower:]'
++ echo no
+++ abrv '[n]o'
+++ echo '[n]o'
+++ sed -e 's/.*\[//' -e 's/\].*//'
++ tolower n
++ echo n
++ tr '[:upper:]' '[:lower:]'
+ '[' n = no -o n = n ']'
+ return 1
+ libGL1_basename=libGL.so.1
++ find /usr/lib -name libGL.so.1
++ grep -iv nvidia
+ libGLfull=/usr/lib/mesa/libGL.so.1
+ libGL=/usr/lib/mesa/libGL.so.1
+ '[' x86_64 = x86_64 ']'
++ find /usr/lib32 -name libGL.so.1
++ grep -iv nvidia
+ lib32GLfull=/usr/lib32/mesa/libGL.so.1
+ lib32GL=/usr/lib32/mesa/libGL.so.1
+ libglx_basename=libglx.so
++ find /usr/lib -name libglx.so
+ libglxfull='/usr/lib/xorg/modules/extensions/libglx.so
/usr/lib/nvidia-current/xorg/libglx.so'
+ libglx='/usr/lib/xorg/modules/extensions/libglx.so
/usr/lib/nvidia-current/xorg/libglx.so'
+ install_deb dkms
+ local deb=dkms
+ is_installed dkms
+ is_installed dkms
+ nv_url=ftp://download.nvidia.com/XFree86/Linux-x86_64
+ nvbuplog=/var/lib/nvidia/log
+ nv_latest_stable_version=unknown
+ nv_latest_stable_filename=unknown
++ mktemp -d
+ wget -P /tmp/tmp.73QRqKBOmo -U 'sony-VGN-Zseries-janitor (http://global-social.net/sony-VGN-Z#janitor) 2.6.38-11-generic #48-Ubuntu SMP Fri Jul 29 19:02:55 UTC 2011 x86_64 Ubuntu/11.04 (natty) VGN-Z620N R4044M3' http://www.logic.at/people/preining/software/index.html
++ strip_filename rfkill-applet /tmp/tmp.73QRqKBOmo/index.html
++ grep 'Current.*rfkill-applet' /tmp/tmp.73QRqKBOmo/index.html
++ sed -e 's/.*href=//' -e 's/>.*//' -e 's/"//g'
+ rfkatarbal=rfkill-applet-0.7.tar.gz
++ remove_file_extension rfkill-applet-0.7.tar.gz
++ sed s/rfkill-applet-//
++ echo rfkill-applet-0.7.tar.gz
++ sed -e 's/\.tar\.\{0,1\}[^\.]*//' -e 's/\.t\{0,1\}[abglx]\{0,1\}[zZ]\{1\}2\{0,1\}o\{0,1\}\(ma\)\{0,1\}//'
+ rfkaversion=0.7
+ remove /tmp/tmp.73QRqKBOmo
+ '[' -L /tmp/tmp.73QRqKBOmo ']'
+ '[' -f /tmp/tmp.73QRqKBOmo ']'
+ '[' -d /tmp/tmp.73QRqKBOmo ']'
+ rm -fr /tmp/tmp.73QRqKBOmo
+ false
+ return 0
+ '[' 2 -lt 3 -a 38 -lt 31 ']'
+ '[' 2 -lt 3 -a 38 -lt 33 ']'
+ '[' 2 -lt 3 -a 38 -lt 34 ']'
+ '[' 2 -lt 3 -a 38 -lt 39 ']'
+ modtarbal=sony-laptop-zseries-0.9np7.tar.gz
++ remove_file_extension sony-laptop-zseries-0.9np7.tar.gz
++ sed s/sony-laptop-zseries-//
++ sed -e 's/\.tar\.\{0,1\}[^\.]*//' -e 's/\.t\{0,1\}[abglx]\{0,1\}[zZ]\{1\}2\{0,1\}o\{0,1\}\(ma\)\{0,1\}//'
++ echo sony-laptop-zseries-0.9np7.tar.gz
+ moduleversion=0.9np7
+ Last_switch_x_to='07.09.2011 10:42'
+ Last_reset_x_to_nvidia='02.08.2011 23:30'
+ Last_nvidia_settings='25.08.2011 08:22'
+ notquiet -en '\n    OK, lets go:\n    '
+ false
+ echo -en '\n    OK, lets go:\n    '
+ return 0
+ repeat_bash_cmd 0.01 12 notquiet -n =
+ set +x
+ notquiet
+ false
+ echo '' ''
+ return 0
+ available_updates=
+ needed_to_download=
+ :
+ :
+ check_update switch-x-to 'tiki-download_file.php?fileId=2' /usr/share/sony-laptop /usr/local/sbin
+ tmp_upd_new=
+ upd=switch-x-to
+ server_upd='tiki-download_file.php?fileId=2'
+ localdir=/usr/share/sony-laptop
+ symlinkdir=/usr/local/sbin
+ r=1
+ defaultchanged=false
+ mkdir -p /usr/share/sony-laptop
+ notquiet -e '\n    check the version of "\033[1m/usr/share/sony-laptop/switch-x-to\033[0m"'
+ false
+ echo -e '\n    check the version of "\033[1m/usr/share/sony-laptop/switch-x-to\033[0m"'
+ return 0
+ is_host_online global-social.net
+ local host=global-social.net r=1
+ ping -qc 1 global-social.net
+ r=0
+ return 0
+ '[' -f /tmp/tmp.w7d1qRy1tu/11-09-20_02:14:50-sohrab@xxxxxxxxxxxxxxxxx ']'
+ load_cookie='--load-cookies /tmp/tmp.w7d1qRy1tu/11-09-20_02:14:50-sohrab@xxxxxxxxxxxxxxxxx'
++ mktemp -d
+ wget -P /tmp/tmp.tTqoy3DULi --load-cookies /tmp/tmp.w7d1qRy1tu/11-09-20_02:14:50-sohrab@xxxxxxxxxxxxxxxxx -U 'sony-VGN-Zseries-janitor (http://global-social.net/sony-VGN-Z#janitor) 2.6.38-11-generic #48-Ubuntu SMP Fri Jul 29 19:02:55 UTC 2011 x86_64 Ubuntu/11.04 (natty) VGN-Z620N R4044M3' 'http://global-social.net/tiki-download_file.php?fileId=2'
+ '[' -f /usr/share/sony-laptop/switch-x-to ']'
++ unparsed_date_from /usr/share/sony-laptop/switch-x-to
++ awk '/^# Last changes:/ { print $4 "_" $5 }' /usr/share/sony-laptop/switch-x-to
+ installed_version 07.09.2011_13:36
+ notquiet -e '     - installed version: "\033[1m07.09.2011_13:36\033[0m"'
+ false
+ echo -e '     - installed version: "\033[1m07.09.2011_13:36\033[0m"'
+ return 0
++ unparsed_date_from '/tmp/tmp.tTqoy3DULi/tiki-download_file.php?fileId=2'
++ awk '/^# Last changes:/ { print $4 "_" $5 }' '/tmp/tmp.tTqoy3DULi/tiki-download_file.php?fileId=2'
+ available_version 07.09.2011_13:36
+ notquiet -e '     - available version: "\033[1m07.09.2011_13:36\033[0m"'
+ false
+ echo -e '     - available version: "\033[1m07.09.2011_13:36\033[0m"'
+ return 0
++ date_from /usr/share/sony-laptop/switch-x-to
++ local from=/usr/share/sony-laptop/switch-x-to d t
++++ awk '/^# Last changes:/ { print $4 }' /usr/share/sony-laptop/switch-x-to
+++ sort_date_tokens 07.09.2011
+++ echo 07.09.2011
+++ awk 'BEGIN { FS="[-|/|.|:]"; fmt = "%04d%02d%02d\n" }
        length($1) == 4 { printf(fmt,$1,$2,$3) }
        length($3) == 4 { printf(fmt,$3,$2,$1) }'
++ d=20110907
+++ awk '/^# Last changes:/ { gsub(":", "", $5); print $5 }' /usr/share/sony-laptop/switch-x-to
++ t=1336
++ echo 201109071336
++ date_from '/tmp/tmp.tTqoy3DULi/tiki-download_file.php?fileId=2'
++ local 'from=/tmp/tmp.tTqoy3DULi/tiki-download_file.php?fileId=2' d t
++++ awk '/^# Last changes:/ { print $4 }' '/tmp/tmp.tTqoy3DULi/tiki-download_file.php?fileId=2'
+++ sort_date_tokens 07.09.2011
+++ echo 07.09.2011
+++ awk 'BEGIN { FS="[-|/|.|:]"; fmt = "%04d%02d%02d\n" }
        length($1) == 4 { printf(fmt,$1,$2,$3) }
        length($3) == 4 { printf(fmt,$3,$2,$1) }'
++ d=20110907
+++ awk '/^# Last changes:/ { gsub(":", "", $5); print $5 }' '/tmp/tmp.tTqoy3DULi/tiki-download_file.php?fileId=2'
++ t=1336
++ echo 201109071336
+ '[' 0201109071336 -eq 0201109071336 ']'
+ is_newest_version 'switch-x-to script'
+ notquiet -n '       newest version of the '
+ false
+ echo -n '       newest version of the '
+ return 0
+ '[' 18 -gt 48 ']'
+ notquiet -en '\033[1mswitch-x-to script\033[0m'
+ false
+ echo -en '\033[1mswitch-x-to script\033[0m'
+ return 0
+ '[' 18 -lt 48 -a 18 -gt 29 ']'
+ '[' 18 -gt 50 ']'
+ notquiet ' already installed.'
+ false
+ echo ' already installed.' ''
+ return 0
++ date_from /usr/share/sony-laptop/switch-x-to
++ local from=/usr/share/sony-laptop/switch-x-to d t
++++ awk '/^# Last changes:/ { print $4 }' /usr/share/sony-laptop/switch-x-to
+++ sort_date_tokens 07.09.2011
+++ echo 07.09.2011
+++ awk 'BEGIN { FS="[-|/|.|:]"; fmt = "%04d%02d%02d\n" }
        length($1) == 4 { printf(fmt,$1,$2,$3) }
        length($3) == 4 { printf(fmt,$3,$2,$1) }'
++ d=20110907
+++ awk '/^# Last changes:/ { gsub(":", "", $5); print $5 }' /usr/share/sony-laptop/switch-x-to
++ t=1336
++ echo 201109071336
++ date_from '/tmp/tmp.tTqoy3DULi/tiki-download_file.php?fileId=2'
++ local 'from=/tmp/tmp.tTqoy3DULi/tiki-download_file.php?fileId=2' d t
++++ awk '/^# Last changes:/ { print $4 }' '/tmp/tmp.tTqoy3DULi/tiki-download_file.php?fileId=2'
+++ sort_date_tokens 07.09.2011
+++ echo 07.09.2011
+++ awk 'BEGIN { FS="[-|/|.|:]"; fmt = "%04d%02d%02d\n" }
        length($1) == 4 { printf(fmt,$1,$2,$3) }
        length($3) == 4 { printf(fmt,$3,$2,$1) }'
++ d=20110907
+++ awk '/^# Last changes:/ { gsub(":", "", $5); print $5 }' '/tmp/tmp.tTqoy3DULi/tiki-download_file.php?fileId=2'
++ t=1336
++ echo 201109071336
+ '[' 0201109071336 -lt 0201109071336 ']'
+ remove /tmp/tmp.tTqoy3DULi
+ '[' -L /tmp/tmp.tTqoy3DULi ']'
+ '[' -f /tmp/tmp.tTqoy3DULi ']'
+ '[' -d /tmp/tmp.tTqoy3DULi ']'
+ rm -fr /tmp/tmp.tTqoy3DULi
+ false
+ return 0
+ '[' -f /usr/share/sony-laptop/switch-x-to ']'
++ ls -o /usr/share/sony-laptop/switch-x-to
++ awk '{ print $1 }'
+ [[ -rwxr--r-- == -rwxr--r-- ]]
+ '[' -d /usr/local/sbin ']'
+ '[' -h /usr/local/sbin/switch-x-to ']'
+ return 1
+ check_defaultfile false
+ upd=switch-x-to
+ '[' -r /etc/default/switch-x-to ']'
+ . /etc/default/switch-x-to
++ NVIDIASETTINGS_RC=/home/sohrab/.nvidia-settings-rc
+ false
+ '[' -n /home/sohrab/.nvidia-settings-rc ']'
+ '[' '!' -e /home/sohrab/.nvidia-settings-rc ']'
+ '[' -z /home/sohrab/.nvidia-settings-rc ']'
+ '[' '!' -e /home/sohrab/.nvidia-settings-rc ']'
+ false
+ check_upstart_jobs
+ local no_jobs= checked_jobs= jobs= job= isupstart= script=
+ is_installed upstart
+ '[' -d /etc/init ']'
+ jobs='/etc/init/switch-x-to.conf /etc/init/reset-x-to-nvidia.conf /etc/init/nvidia-settings.conf'
+ isupstart=:
+ script='upstart job'
+ for job in '$jobs'
+ '[' '!' -e /etc/init/switch-x-to.conf ']'
++ date_from /etc/init/switch-x-to.conf
++ local from=/etc/init/switch-x-to.conf d t
++++ awk '/^# Last changes:/ { print $4 }' /etc/init/switch-x-to.conf
+++ sort_date_tokens 07.09.2011
+++ echo 07.09.2011
+++ awk 'BEGIN { FS="[-|/|.|:]"; fmt = "%04d%02d%02d\n" }
        length($1) == 4 { printf(fmt,$1,$2,$3) }
        length($3) == 4 { printf(fmt,$3,$2,$1) }'
++ d=20110907
+++ awk '/^# Last changes:/ { gsub(":", "", $5); print $5 }' /etc/init/switch-x-to.conf
++ t=1042
++ echo 201109071042
+++ basename /etc/init/switch-x-to.conf .conf
+++ sed s/-/_/g
++ eval sub_date_from '$Last_switch_x_to'
+++ sub_date_from 07.09.2011 10:42
+++ local d t
++++ sort_date_tokens 07.09.2011
++++ echo 07.09.2011
++++ awk 'BEGIN { FS="[-|/|.|:]"; fmt = "%04d%02d%02d\n" }
        length($1) == 4 { printf(fmt,$1,$2,$3) }
        length($3) == 4 { printf(fmt,$3,$2,$1) }'
+++ d=20110907
++++ echo 10:42
++++ sed s/://
+++ t=1042
+++ echo 201109071042
+ '[' 0201109071042 -lt 0201109071042 ']'
+ for job in '$jobs'
+ '[' '!' -e /etc/init/reset-x-to-nvidia.conf ']'
++ date_from /etc/init/reset-x-to-nvidia.conf
++ local from=/etc/init/reset-x-to-nvidia.conf d t
++++ awk '/^# Last changes:/ { print $4 }' /etc/init/reset-x-to-nvidia.conf
+++ sort_date_tokens 02.08.2011
+++ echo 02.08.2011
+++ awk 'BEGIN { FS="[-|/|.|:]"; fmt = "%04d%02d%02d\n" }
        length($1) == 4 { printf(fmt,$1,$2,$3) }
        length($3) == 4 { printf(fmt,$3,$2,$1) }'
++ d=20110802
+++ awk '/^# Last changes:/ { gsub(":", "", $5); print $5 }' /etc/init/reset-x-to-nvidia.conf
++ t=2330
++ echo 201108022330
+++ basename /etc/init/reset-x-to-nvidia.conf .conf
+++ sed s/-/_/g
++ eval sub_date_from '$Last_reset_x_to_nvidia'
+++ sub_date_from 02.08.2011 23:30
+++ local d t
++++ sort_date_tokens 02.08.2011
++++ echo 02.08.2011
++++ awk 'BEGIN { FS="[-|/|.|:]"; fmt = "%04d%02d%02d\n" }
        length($1) == 4 { printf(fmt,$1,$2,$3) }
        length($3) == 4 { printf(fmt,$3,$2,$1) }'
+++ d=20110802
++++ echo 23:30
++++ sed s/://
+++ t=2330
+++ echo 201108022330
+ '[' 0201108022330 -lt 0201108022330 ']'
+ for job in '$jobs'
+ '[' '!' -e /etc/init/nvidia-settings.conf ']'
++ date_from /etc/init/nvidia-settings.conf
++ local from=/etc/init/nvidia-settings.conf d t
++++ awk '/^# Last changes:/ { print $4 }' /etc/init/nvidia-settings.conf
+++ sort_date_tokens 25.08.2011
+++ echo 25.08.2011
+++ awk 'BEGIN { FS="[-|/|.|:]"; fmt = "%04d%02d%02d\n" }
        length($1) == 4 { printf(fmt,$1,$2,$3) }
        length($3) == 4 { printf(fmt,$3,$2,$1) }'
++ d=20110825
+++ awk '/^# Last changes:/ { gsub(":", "", $5); print $5 }' /etc/init/nvidia-settings.conf
++ t=0822
++ echo 201108250822
+++ basename /etc/init/nvidia-settings.conf .conf
+++ sed s/-/_/g
++ eval sub_date_from '$Last_nvidia_settings'
+++ sub_date_from 25.08.2011 08:22
+++ local d t
++++ sort_date_tokens 25.08.2011
++++ echo 25.08.2011
++++ awk 'BEGIN { FS="[-|/|.|:]"; fmt = "%04d%02d%02d\n" }
        length($1) == 4 { printf(fmt,$1,$2,$3) }
        length($3) == 4 { printf(fmt,$3,$2,$1) }'
+++ d=20110825
++++ echo 08:22
++++ sed s/://
+++ t=0822
+++ echo 201108250822
+ '[' 0201108250822 -lt 0201108250822 ']'
++ echo ''
++ sed 's/^[[:space:]]//'
+ no_jobs=
++ echo ''
++ sed 's/^[[:space:]]//'
+ checked_jobs=
+ '[' -n '' ']'
+ '[' -n '' ']'
+ :
+ notquiet
+ false
+ echo '' ''
+ return 0
+ grep 'and stopped switch-x-to' -qs /etc/init/gdm.conf
+ notquiet '    The upstart job of the display-manager "gdm" is correctly modified'
+ false
+ echo '    The upstart job of the display-manager "gdm" is correctly modified' ''
+ return 0
+ ask '     - reset to default' no
+ local answer= yes= no=
+ '[' -z '' ']'
+ yes='[y]es'
+ '[' -z '' ']'
+ no='[n]o'
+ :
+ false
+ lastline='     - reset to default'
++ echo '     - reset to default'
++ sed 's/\\033\[[012]\{1\}m//g'
+ lastline='     - reset to default'
++ expr 23 + 5 + 4 + 2
+ '[' 34 -gt 65 ']'
+ newline=' '
+ echo -en '     - reset to default? ([y]es or [n]o) [\033[1mno\033[0m]: '
+ read answer
++ tolower n
++ echo n
++ tr '[:upper:]' '[:lower:]'
+ answer=n
+++ flat '[y]es'
+++ echo '[y]es'
+++ sed -e 's/\[//' -e 's/\]//'
++ tolower yes
++ echo yes
++ tr '[:upper:]' '[:lower:]'
+++ abrv '[y]es'
+++ echo '[y]es'
+++ sed -e 's/.*\[//' -e 's/\].*//'
++ tolower y
++ echo y
++ tr '[:upper:]' '[:lower:]'
+ '[' n = yes -o n = y ']'
+++ flat '[n]o'
+++ echo '[n]o'
+++ sed -e 's/\[//' -e 's/\]//'
++ tolower no
++ echo no
++ tr '[:upper:]' '[:lower:]'
+++ abrv '[n]o'
+++ echo '[n]o'
+++ sed -e 's/.*\[//' -e 's/\].*//'
++ tolower n
++ echo n
++ tr '[:upper:]' '[:lower:]'
+ '[' n = no -o n = n ']'
+ return 1
+ check_kernel_module
+ notquiet -e '\n    check version of the installed "\033[1msony-laptop\033[0m" kernel module'
+ false
+ echo -e '\n    check version of the installed "\033[1msony-laptop\033[0m" kernel module'
+ return 0
+ install_deb dkms
+ local deb=dkms
+ is_installed dkms
+ is_installed dkms
++ uname -r
+ moddir=/lib/modules/2.6.38-11-generic
++ modinfo sony-laptop
++ awk '/^version:/ { print $NF }'
+ modversion=0.9np7
+ installed_version 0.9np7
+ notquiet -e '     - installed version: "\033[1m0.9np7\033[0m"'
+ false
+ echo -e '     - installed version: "\033[1m0.9np7\033[0m"'
+ return 0
+ available_version 0.9np7
+ notquiet -e '     - available version: "\033[1m0.9np7\033[0m"'
+ false
+ echo -e '     - available version: "\033[1m0.9np7\033[0m"'
+ return 0
+ '[' 0.9np7 = 0.9np7 ']'
++ uname -r
+ is_newest_version 'sony-laptop kernel module for kernel 2.6.38-11-generic'
+ notquiet -n '       newest version of the '
+ false
+ echo -n '       newest version of the '
+ return 0
+ '[' 54 -gt 48 ']'
+ notquiet -en '..\n       '
+ false
+ echo -en '..\n       '
+ return 0
+ notquiet -en '\033[1msony-laptop kernel module for kernel 2.6.38-11-generic\033[0m'
+ false
+ echo -en '\033[1msony-laptop kernel module for kernel 2.6.38-11-generic\033[0m'
+ return 0
+ '[' 54 -lt 48 -a 54 -gt 29 ']'
+ '[' 54 -gt 50 ']'
+ notquiet -en '\n       ..'
+ false
+ echo -en '\n       ..'
+ return 0
+ notquiet ' already installed.'
+ false
+ echo ' already installed.' ''
+ return 0
+ write_loadoptions speed_stamina=3
+ local loadoption_present=false option=speed_stamina=3
+ for configfile in '${m:=/etc/modprobe.d}/*.conf'
+ grep -q '^options[[:space:]]\{1,\}sony-laptop[[:space:]]\{1,\}speed_stamina=3$' /etc/modprobe.d/alsa-base.conf
+ for configfile in '${m:=/etc/modprobe.d}/*.conf'
+ grep -q '^options[[:space:]]\{1,\}sony-laptop[[:space:]]\{1,\}speed_stamina=3$' /etc/modprobe.d/blacklist-ath_pci.conf
+ for configfile in '${m:=/etc/modprobe.d}/*.conf'
+ grep -q '^options[[:space:]]\{1,\}sony-laptop[[:space:]]\{1,\}speed_stamina=3$' /etc/modprobe.d/blacklist.conf
+ for configfile in '${m:=/etc/modprobe.d}/*.conf'
+ grep -q '^options[[:space:]]\{1,\}sony-laptop[[:space:]]\{1,\}speed_stamina=3$' /etc/modprobe.d/blacklist-firewire.conf
+ for configfile in '${m:=/etc/modprobe.d}/*.conf'
+ grep -q '^options[[:space:]]\{1,\}sony-laptop[[:space:]]\{1,\}speed_stamina=3$' /etc/modprobe.d/blacklist-framebuffer.conf
+ for configfile in '${m:=/etc/modprobe.d}/*.conf'
+ grep -q '^options[[:space:]]\{1,\}sony-laptop[[:space:]]\{1,\}speed_stamina=3$' /etc/modprobe.d/blacklist-local.conf
+ for configfile in '${m:=/etc/modprobe.d}/*.conf'
+ grep -q '^options[[:space:]]\{1,\}sony-laptop[[:space:]]\{1,\}speed_stamina=3$' /etc/modprobe.d/blacklist-modem.conf
+ for configfile in '${m:=/etc/modprobe.d}/*.conf'
+ grep -q '^options[[:space:]]\{1,\}sony-laptop[[:space:]]\{1,\}speed_stamina=3$' /etc/modprobe.d/blacklist-oss.conf
+ for configfile in '${m:=/etc/modprobe.d}/*.conf'
+ grep -q '^options[[:space:]]\{1,\}sony-laptop[[:space:]]\{1,\}speed_stamina=3$' /etc/modprobe.d/blacklist-rare-network.conf
+ for configfile in '${m:=/etc/modprobe.d}/*.conf'
+ grep -q '^options[[:space:]]\{1,\}sony-laptop[[:space:]]\{1,\}speed_stamina=3$' /etc/modprobe.d/blacklist-watchdog.conf
+ for configfile in '${m:=/etc/modprobe.d}/*.conf'
+ grep -q '^options[[:space:]]\{1,\}sony-laptop[[:space:]]\{1,\}speed_stamina=3$' /etc/modprobe.d/sony-laptop-zseries.conf
+ loadoption_present=:
+ :
+ [[ 0.9np7 > 0.9np7 ]]
+ grep -qs '^pre'
++ sed s/0.9np7//
++ echo 0.9np7
+ echo
+ '[' '!' -d /usr/src/sony-laptop-zseries-0.9np7 ']'
+ check_rfkill_applet
+ notquiet -e '\n    check version of the installed "\033[1mrfkill-applet\033[0m" switch applet'
+ false
+ echo -e '\n    check version of the installed "\033[1mrfkill-applet\033[0m" switch applet'
+ return 0
++ which rfkill-applet
++ sed -e 's/^version[[:space:]]*=[[:space:]]*'\''//' -e 's/'\''$//'
+++ which rfkill-applet
++ grep '^version[[:space:]]*=[[:space:]]*'\''[[:digit:]].[[:digit:]]'\''$' /usr/bin/rfkill-applet
+ rfkaversion_is=0.7
+ installed_version 0.7
+ notquiet -e '     - installed version: "\033[1m0.7\033[0m"'
+ false
+ echo -e '     - installed version: "\033[1m0.7\033[0m"'
+ return 0
+ available_version 0.7
+ notquiet -e '     - available version: "\033[1m0.7\033[0m"'
+ false
+ echo -e '     - available version: "\033[1m0.7\033[0m"'
+ return 0
+ [[ 0.7 = not\ installed ]]
+ '[' 0.7 = 0.7 ']'
+ notquiet -e '       newest \033[1mrfkill-applet\033[0m version already installed.'
+ false
+ echo -e '       newest \033[1mrfkill-applet\033[0m version already installed.'
+ return 0
+ ask '       Change installation' no
+ local answer= yes= no=
+ '[' -z '' ']'
+ yes='[y]es'
+ '[' -z '' ']'
+ no='[n]o'
+ :
+ false
+ lastline='       Change installation'
++ echo '       Change installation'
++ sed 's/\\033\[[012]\{1\}m//g'
+ lastline='       Change installation'
++ expr 26 + 5 + 4 + 2
+ '[' 37 -gt 65 ']'
+ newline=' '
+ echo -en '       Change installation? ([y]es or [n]o) [\033[1mno\033[0m]: '
+ read answer
++ tolower n
++ echo n
++ tr '[:upper:]' '[:lower:]'
+ answer=n
+++ flat '[y]es'
+++ echo '[y]es'
+++ sed -e 's/\[//' -e 's/\]//'
++ tolower yes
++ echo yes
++ tr '[:upper:]' '[:lower:]'
+++ abrv '[y]es'
+++ sed -e 's/.*\[//' -e 's/\].*//'
+++ echo '[y]es'
++ tolower y
++ echo y
++ tr '[:upper:]' '[:lower:]'
+ '[' n = yes -o n = y ']'
+++ flat '[n]o'
+++ sed -e 's/\[//' -e 's/\]//'
+++ echo '[n]o'
++ tolower no
++ tr '[:upper:]' '[:lower:]'
++ echo no
+++ abrv '[n]o'
+++ sed -e 's/.*\[//' -e 's/\].*//'
+++ echo '[n]o'
++ tolower n
++ echo n
++ tr '[:upper:]' '[:lower:]'
+ '[' n = no -o n = n ']'
+ return 1
+ [[ 0.7 > 0.7 ]]
+ check_nvidia_installation
+ local idx=0
+ notquiet -e '\n    check the "\033[1mnvidia driver\033[0m"'
+ false
+ echo -e '\n    check the "\033[1mnvidia driver\033[0m"'
+ return 0
+ search_nv_latest
+ local nv_beta_version
++ mktemp -d
+ wget -NP /tmp/tmp.bz7uZBJgvU ftp://download.nvidia.com/XFree86/Linux-x86_64/latest.txt
++ awk '{ print $1 }' /tmp/tmp.bz7uZBJgvU/latest.txt
+ nv_latest_stable_version=280.13
++ awk '{ print $2 }' /tmp/tmp.bz7uZBJgvU/latest.txt
+ nv_latest_stable_filename=280.13/NVIDIA-Linux-x86_64-280.13.run
+ mkdir -p /tmp/tmp.bz7uZBJgvU/beta
+ wget -nd -P /tmp/tmp.bz7uZBJgvU --no-remove-listing ftp://download.nvidia.com/XFree86/Linux-x86_64/
+ sed 's/\r\{1,\}$//g'
+ read line
++ echo 'drwxrwxr-x   1     1994     1994        0 Sep 19 16:06 1.0-5332'
++ gawk '$9 !~ /latest\.txt/ { print $9 }'
+ nv_beta_version=1.0-5332
+ nv_update_available 280.13 1.0-5332
+ local itok1 itok2 itok3 stok1 stok2 stok3
++ echo 280.13
++ awk -F . '{ print $1 }'
+ itok1=280
++ echo 1.0-5332
++ awk -F . '{ print $1 }'
+ stok1=1
+ '[' 0280 -lt 01 ']'
+ :
+ '[' 0280 -eq 01 ']'
+ :
+ return 1
+ read line
++ gawk '$9 !~ /latest\.txt/ { print $9 }'
++ echo 'drwxrwxr-x   1     1994     1994        0 Sep 19 16:06 1.0-6106'
+ nv_beta_version=1.0-6106
+ nv_update_available 280.13 1.0-6106
+ local itok1 itok2 itok3 stok1 stok2 stok3
++ echo 280.13
++ awk -F . '{ print $1 }'
+ itok1=280
++ echo 1.0-6106
++ awk -F . '{ print $1 }'
+ stok1=1
+ '[' 0280 -lt 01 ']'
+ :
+ '[' 0280 -eq 01 ']'
+ :
+ return 1
+ read line
++ echo 'drwxrwxr-x   1     1994     1994        0 Sep 19 16:07 1.0-6111'
++ gawk '$9 !~ /latest\.txt/ { print $9 }'
+ nv_beta_version=1.0-6111
+ nv_update_available 280.13 1.0-6111
+ local itok1 itok2 itok3 stok1 stok2 stok3
++ echo 280.13
++ awk -F . '{ print $1 }'
+ itok1=280
++ echo 1.0-6111
++ awk -F . '{ print $1 }'
+ stok1=1
+ '[' 0280 -lt 01 ']'
+ :
+ '[' 0280 -eq 01 ']'
+ :
+ return 1
+ read line
++ echo 'drwxrwxr-x   1     1994     1994        0 Sep 19 16:07 1.0-6629'
++ gawk '$9 !~ /latest\.txt/ { print $9 }'
+ nv_beta_version=1.0-6629
+ nv_update_available 280.13 1.0-6629
+ local itok1 itok2 itok3 stok1 stok2 stok3
++ echo 280.13
++ awk -F . '{ print $1 }'
+ itok1=280
++ echo 1.0-6629
++ awk -F . '{ print $1 }'
+ stok1=1
+ '[' 0280 -lt 01 ']'
+ :
+ '[' 0280 -eq 01 ']'
+ :
+ return 1
+ read line
++ echo 'drwxrwxr-x   1     1994     1994        0 Sep 19 16:07 1.0-7167'
++ gawk '$9 !~ /latest\.txt/ { print $9 }'
+ nv_beta_version=1.0-7167
+ nv_update_available 280.13 1.0-7167
+ local itok1 itok2 itok3 stok1 stok2 stok3
++ echo 280.13
++ awk -F . '{ print $1 }'
+ itok1=280
++ echo 1.0-7167
++ awk -F . '{ print $1 }'
+ stok1=1
+ '[' 0280 -lt 01 ']'
+ :
+ '[' 0280 -eq 01 ']'
+ :
+ return 1
+ read line
++ echo 'drwxrwxr-x   1     1994     1994        0 Sep 19 16:07 1.0-7174'
++ gawk '$9 !~ /latest\.txt/ { print $9 }'
+ nv_beta_version=1.0-7174
+ nv_update_available 280.13 1.0-7174
+ local itok1 itok2 itok3 stok1 stok2 stok3
++ echo 280.13
++ awk -F . '{ print $1 }'
+ itok1=280
++ echo 1.0-7174
++ awk -F . '{ print $1 }'
+ stok1=1
+ '[' 0280 -lt 01 ']'
+ :
+ '[' 0280 -eq 01 ']'
+ :
+ return 1
+ read line
++ gawk '$9 !~ /latest\.txt/ { print $9 }'
++ echo 'drwxrwxr-x   1     1994     1994        0 Sep 19 16:56 1.0-7182'
+ nv_beta_version=1.0-7182
+ nv_update_available 280.13 1.0-7182
+ local itok1 itok2 itok3 stok1 stok2 stok3
++ awk -F . '{ print $1 }'
++ echo 280.13
+ itok1=280
++ awk -F . '{ print $1 }'
++ echo 1.0-7182
+ stok1=1
+ '[' 0280 -lt 01 ']'
+ :
+ '[' 0280 -eq 01 ']'
+ :
+ return 1
+ read line
++ echo 'drwxrwxr-x   1     1994     1994        0 Sep 19 16:56 1.0-7184'
++ gawk '$9 !~ /latest\.txt/ { print $9 }'
+ nv_beta_version=1.0-7184
+ nv_update_available 280.13 1.0-7184
+ local itok1 itok2 itok3 stok1 stok2 stok3
++ echo 280.13
++ awk -F . '{ print $1 }'
+ itok1=280
++ echo 1.0-7184
++ awk -F . '{ print $1 }'
+ stok1=1
+ '[' 0280 -lt 01 ']'
+ :
+ '[' 0280 -eq 01 ']'
+ :
+ return 1
+ read line
++ echo 'drwxrwxr-x   1     1994     1994        0 Sep 19 16:56 1.0-7185'
++ gawk '$9 !~ /latest\.txt/ { print $9 }'
+ nv_beta_version=1.0-7185
+ nv_update_available 280.13 1.0-7185
+ local itok1 itok2 itok3 stok1 stok2 stok3
++ echo 280.13
++ awk -F . '{ print $1 }'
+ itok1=280
++ echo 1.0-7185
++ awk -F . '{ print $1 }'
+ stok1=1
+ '[' 0280 -lt 01 ']'
+ :
+ '[' 0280 -eq 01 ']'
+ :
+ return 1
+ read line
++ echo 'drwxrwxr-x   1     1994     1994        0 Sep 19 16:07 1.0-7664'
++ gawk '$9 !~ /latest\.txt/ { print $9 }'
+ nv_beta_version=1.0-7664
+ nv_update_available 280.13 1.0-7664
+ local itok1 itok2 itok3 stok1 stok2 stok3
++ echo 280.13
++ awk -F . '{ print $1 }'
+ itok1=280
++ echo 1.0-7664
++ awk -F . '{ print $1 }'
+ stok1=1
+ '[' 0280 -lt 01 ']'
+ :
+ '[' 0280 -eq 01 ']'
+ :
+ return 1
+ read line
++ echo 'drwxrwxr-x   1     1994     1994        0 Sep 19 16:07 1.0-7667'
++ gawk '$9 !~ /latest\.txt/ { print $9 }'
+ nv_beta_version=1.0-7667
+ nv_update_available 280.13 1.0-7667
+ local itok1 itok2 itok3 stok1 stok2 stok3
++ echo 280.13
++ awk -F . '{ print $1 }'
+ itok1=280
++ echo 1.0-7667
++ awk -F . '{ print $1 }'
+ stok1=1
+ '[' 0280 -lt 01 ']'
+ :
+ '[' 0280 -eq 01 ']'
+ :
+ return 1
+ read line
++ echo 'drwxrwxr-x   1     1994     1994        0 Sep 19 16:07 1.0-7676'
++ gawk '$9 !~ /latest\.txt/ { print $9 }'
+ nv_beta_version=1.0-7676
+ nv_update_available 280.13 1.0-7676
+ local itok1 itok2 itok3 stok1 stok2 stok3
++ echo 280.13
++ awk -F . '{ print $1 }'
+ itok1=280
++ echo 1.0-7676
++ awk -F . '{ print $1 }'
+ stok1=1
+ '[' 0280 -lt 01 ']'
+ :
+ '[' 0280 -eq 01 ']'
+ :
+ return 1
+ read line
++ echo 'drwxrwxr-x   1     1994     1994        0 Sep 19 17:16 1.0-8174'
++ gawk '$9 !~ /latest\.txt/ { print $9 }'
+ nv_beta_version=1.0-8174
+ nv_update_available 280.13 1.0-8174
+ local itok1 itok2 itok3 stok1 stok2 stok3
++ echo 280.13
++ awk -F . '{ print $1 }'
+ itok1=280
++ echo 1.0-8174
++ awk -F . '{ print $1 }'
+ stok1=1
+ '[' 0280 -lt 01 ']'
+ :
+ '[' 0280 -eq 01 ']'
+ :
+ return 1
+ read line
++ echo 'drwxrwxr-x   1     1994     1994        0 Sep 19 16:56 1.0-8178'
++ gawk '$9 !~ /latest\.txt/ { print $9 }'
+ nv_beta_version=1.0-8178
+ nv_update_available 280.13 1.0-8178
+ local itok1 itok2 itok3 stok1 stok2 stok3
++ echo 280.13
++ awk -F . '{ print $1 }'
+ itok1=280
++ echo 1.0-8178
++ awk -F . '{ print $1 }'
+ stok1=1
+ '[' 0280 -lt 01 ']'
+ :
+ '[' 0280 -eq 01 ']'
+ :
+ return 1
+ read line
++ echo 'drwxrwxr-x   1     1994     1994        0 Sep 19 16:07 1.0-8181'
++ gawk '$9 !~ /latest\.txt/ { print $9 }'
+ nv_beta_version=1.0-8181
+ nv_update_available 280.13 1.0-8181
+ local itok1 itok2 itok3 stok1 stok2 stok3
++ echo 280.13
++ awk -F . '{ print $1 }'
+ itok1=280
++ echo 1.0-8181
++ awk -F . '{ print $1 }'
+ stok1=1
+ '[' 0280 -lt 01 ']'
+ :
+ '[' 0280 -eq 01 ']'
+ :
+ return 1
+ read line
++ echo 'drwxrwxr-x   1     1994     1994        0 Sep 19 16:57 1.0-8756'
++ gawk '$9 !~ /latest\.txt/ { print $9 }'
+ nv_beta_version=1.0-8756
+ nv_update_available 280.13 1.0-8756
+ local itok1 itok2 itok3 stok1 stok2 stok3
++ echo 280.13
++ awk -F . '{ print $1 }'
+ itok1=280
++ echo 1.0-8756
++ awk -F . '{ print $1 }'
+ stok1=1
+ '[' 0280 -lt 01 ']'
+ :
+ '[' 0280 -eq 01 ']'
+ :
+ return 1
+ read line
++ echo 'drwxrwxr-x   1     1994     1994        0 Sep 19 16:57 1.0-8762'
++ gawk '$9 !~ /latest\.txt/ { print $9 }'
+ nv_beta_version=1.0-8762
+ nv_update_available 280.13 1.0-8762
+ local itok1 itok2 itok3 stok1 stok2 stok3
++ echo 280.13
++ awk -F . '{ print $1 }'
+ itok1=280
++ echo 1.0-8762
++ awk -F . '{ print $1 }'
+ stok1=1
+ '[' 0280 -lt 01 ']'
+ :
+ '[' 0280 -eq 01 ']'
+ :
+ return 1
+ read line
++ echo 'drwxrwxr-x   1     1994     1994        0 Sep 19 16:57 1.0-8774'
++ gawk '$9 !~ /latest\.txt/ { print $9 }'
+ nv_beta_version=1.0-8774
+ nv_update_available 280.13 1.0-8774
+ local itok1 itok2 itok3 stok1 stok2 stok3
++ echo 280.13
++ awk -F . '{ print $1 }'
+ itok1=280
++ echo 1.0-8774
++ awk -F . '{ print $1 }'
+ stok1=1
+ '[' 0280 -lt 01 ']'
+ :
+ '[' 0280 -eq 01 ']'
+ :
+ return 1
+ read line
++ echo 'drwxrwxr-x   1     1994     1994        0 Sep 19 16:57 1.0-8776'
++ gawk '$9 !~ /latest\.txt/ { print $9 }'
+ nv_beta_version=1.0-8776
+ nv_update_available 280.13 1.0-8776
+ local itok1 itok2 itok3 stok1 stok2 stok3
++ echo 280.13
++ awk -F . '{ print $1 }'
+ itok1=280
++ echo 1.0-8776
++ awk -F . '{ print $1 }'
+ stok1=1
+ '[' 0280 -lt 01 ']'
+ :
+ '[' 0280 -eq 01 ']'
+ :
+ return 1
+ read line
++ echo 'drwxrwxr-x   1     1994     1994        0 Sep 19 16:57 1.0-9625'
++ gawk '$9 !~ /latest\.txt/ { print $9 }'
+ nv_beta_version=1.0-9625
+ nv_update_available 280.13 1.0-9625
+ local itok1 itok2 itok3 stok1 stok2 stok3
++ echo 280.13
++ awk -F . '{ print $1 }'
+ itok1=280
++ echo 1.0-9625
++ awk -F . '{ print $1 }'
+ stok1=1
+ '[' 0280 -lt 01 ']'
+ :
+ '[' 0280 -eq 01 ']'
+ :
+ return 1
+ read line
++ echo 'drwxrwxr-x   1     1994     1994        0 Sep 19 16:57 1.0-9626'
++ gawk '$9 !~ /latest\.txt/ { print $9 }'
+ nv_beta_version=1.0-9626
+ nv_update_available 280.13 1.0-9626
+ local itok1 itok2 itok3 stok1 stok2 stok3
++ echo 280.13
++ awk -F . '{ print $1 }'
+ itok1=280
++ echo 1.0-9626
++ awk -F . '{ print $1 }'
+ stok1=1
+ '[' 0280 -lt 01 ']'
+ :
+ '[' 0280 -eq 01 ']'
+ :
+ return 1
+ read line
++ echo 'drwxrwxr-x   1     1994     1994        0 Sep 19 16:57 1.0-9629'
++ gawk '$9 !~ /latest\.txt/ { print $9 }'
+ nv_beta_version=1.0-9629
+ nv_update_available 280.13 1.0-9629
+ local itok1 itok2 itok3 stok1 stok2 stok3
++ echo 280.13
++ awk -F . '{ print $1 }'
+ itok1=280
++ echo 1.0-9629
++ awk -F . '{ print $1 }'
+ stok1=1
+ '[' 0280 -lt 01 ']'
+ :
+ '[' 0280 -eq 01 ']'
+ :
+ return 1
+ read line
++ echo 'drwxrwxr-x   1     1994     1994        0 Sep 19 16:58 1.0-9631'
++ gawk '$9 !~ /latest\.txt/ { print $9 }'
+ nv_beta_version=1.0-9631
+ nv_update_available 280.13 1.0-9631
+ local itok1 itok2 itok3 stok1 stok2 stok3
++ echo 280.13
++ awk -F . '{ print $1 }'
+ itok1=280
++ echo 1.0-9631
++ awk -F . '{ print $1 }'
+ stok1=1
+ '[' 0280 -lt 01 ']'
+ :
+ '[' 0280 -eq 01 ']'
+ :
+ return 1
+ read line
++ echo 'drwxrwxr-x   1     1994     1994        0 Sep 19 16:58 1.0-9639'
++ gawk '$9 !~ /latest\.txt/ { print $9 }'
+ nv_beta_version=1.0-9639
+ nv_update_available 280.13 1.0-9639
+ local itok1 itok2 itok3 stok1 stok2 stok3
++ echo 280.13
++ awk -F . '{ print $1 }'
+ itok1=280
++ echo 1.0-9639
++ awk -F . '{ print $1 }'
+ stok1=1
+ '[' 0280 -lt 01 ']'
+ :
+ '[' 0280 -eq 01 ']'
+ :
+ return 1
+ read line
++ echo 'drwxrwxr-x   1     1994     1994        0 Sep 19 16:58 1.0-9746'
++ gawk '$9 !~ /latest\.txt/ { print $9 }'
+ nv_beta_version=1.0-9746
+ nv_update_available 280.13 1.0-9746
+ local itok1 itok2 itok3 stok1 stok2 stok3
++ echo 280.13
++ awk -F . '{ print $1 }'
+ itok1=280
++ echo 1.0-9746
++ awk -F . '{ print $1 }'
+ stok1=1
+ '[' 0280 -lt 01 ']'
+ :
+ '[' 0280 -eq 01 ']'
+ :
+ return 1
+ read line
++ echo 'drwxrwxr-x   1     1994     1994        0 Sep 19 16:58 1.0-9755'
++ gawk '$9 !~ /latest\.txt/ { print $9 }'
+ nv_beta_version=1.0-9755
+ nv_update_available 280.13 1.0-9755
+ local itok1 itok2 itok3 stok1 stok2 stok3
++ echo 280.13
++ awk -F . '{ print $1 }'
+ itok1=280
++ echo 1.0-9755
++ awk -F . '{ print $1 }'
+ stok1=1
+ '[' 0280 -lt 01 ']'
+ :
+ '[' 0280 -eq 01 ']'
+ :
+ return 1
+ read line
++ echo 'drwxrwxr-x   1     1994     1994        0 Sep 19 16:58 1.0-9762'
++ gawk '$9 !~ /latest\.txt/ { print $9 }'
+ nv_beta_version=1.0-9762
+ nv_update_available 280.13 1.0-9762
+ local itok1 itok2 itok3 stok1 stok2 stok3
++ echo 280.13
++ awk -F . '{ print $1 }'
+ itok1=280
++ echo 1.0-9762
++ awk -F . '{ print $1 }'
+ stok1=1
+ '[' 0280 -lt 01 ']'
+ :
+ '[' 0280 -eq 01 ']'
+ :
+ return 1
+ read line
++ echo 'drwxrwxr-x   1     1994     1994        0 Sep 19 16:58 100.14.03'
++ gawk '$9 !~ /latest\.txt/ { print $9 }'
+ nv_beta_version=100.14.03
+ nv_update_available 280.13 100.14.03
+ local itok1 itok2 itok3 stok1 stok2 stok3
++ echo 280.13
++ awk -F . '{ print $1 }'
+ itok1=280
++ echo 100.14.03
++ awk -F . '{ print $1 }'
+ stok1=100
+ '[' 0280 -lt 0100 ']'
+ :
+ '[' 0280 -eq 0100 ']'
+ :
+ return 1
+ read line
++ echo 'drwxrwxr-x   1     1994     1994        0 Sep 19 16:58 100.14.06'
++ gawk '$9 !~ /latest\.txt/ { print $9 }'
+ nv_beta_version=100.14.06
+ nv_update_available 280.13 100.14.06
+ local itok1 itok2 itok3 stok1 stok2 stok3
++ echo 280.13
++ awk -F . '{ print $1 }'
+ itok1=280
++ echo 100.14.06
++ awk -F . '{ print $1 }'
+ stok1=100
+ '[' 0280 -lt 0100 ']'
+ :
+ '[' 0280 -eq 0100 ']'
+ :
+ return 1
+ read line
++ echo 'drwxrwxr-x   1     1994     1994        0 Sep 19 16:59 100.14.09'
++ gawk '$9 !~ /latest\.txt/ { print $9 }'
+ nv_beta_version=100.14.09
+ nv_update_available 280.13 100.14.09
+ local itok1 itok2 itok3 stok1 stok2 stok3
++ echo 280.13
++ awk -F . '{ print $1 }'
+ itok1=280
++ echo 100.14.09
++ awk -F . '{ print $1 }'
+ stok1=100
+ '[' 0280 -lt 0100 ']'
+ :
+ '[' 0280 -eq 0100 ']'
+ :
+ return 1
+ read line
++ echo 'drwxrwxr-x   1     1994     1994        0 Sep 19 16:59 100.14.11'
++ gawk '$9 !~ /latest\.txt/ { print $9 }'
+ nv_beta_version=100.14.11
+ nv_update_available 280.13 100.14.11
+ local itok1 itok2 itok3 stok1 stok2 stok3
++ echo 280.13
++ awk -F . '{ print $1 }'
+ itok1=280
++ echo 100.14.11
++ awk -F . '{ print $1 }'
+ stok1=100
+ '[' 0280 -lt 0100 ']'
+ :
+ '[' 0280 -eq 0100 ']'
+ :
+ return 1
+ read line
++ echo 'drwxrwxr-x   1     1994     1994        0 Sep 19 16:59 100.14.19'
++ gawk '$9 !~ /latest\.txt/ { print $9 }'
+ nv_beta_version=100.14.19
+ nv_update_available 280.13 100.14.19
+ local itok1 itok2 itok3 stok1 stok2 stok3
++ echo 280.13
++ awk -F . '{ print $1 }'
+ itok1=280
++ echo 100.14.19
++ awk -F . '{ print $1 }'
+ stok1=100
+ '[' 0280 -lt 0100 ']'
+ :
+ '[' 0280 -eq 0100 ']'
+ :
+ return 1
+ read line
++ echo 'drwxrwxr-x   1     1994     1994        0 Sep 19 16:59 100.14.23'
++ gawk '$9 !~ /latest\.txt/ { print $9 }'
+ nv_beta_version=100.14.23
+ nv_update_available 280.13 100.14.23
+ local itok1 itok2 itok3 stok1 stok2 stok3
++ echo 280.13
++ awk -F . '{ print $1 }'
+ itok1=280
++ echo 100.14.23
++ awk -F . '{ print $1 }'
+ stok1=100
+ '[' 0280 -lt 0100 ']'
+ :
+ '[' 0280 -eq 0100 ']'
+ :
+ return 1
+ read line
++ echo 'drwxrwxr-x   1     1994     1994        0 Sep 19 16:59 165.33.09'
++ gawk '$9 !~ /latest\.txt/ { print $9 }'
+ nv_beta_version=165.33.09
+ nv_update_available 280.13 165.33.09
+ local itok1 itok2 itok3 stok1 stok2 stok3
++ awk -F . '{ print $1 }'
++ echo 280.13
+ itok1=280
++ echo 165.33.09
++ awk -F . '{ print $1 }'
+ stok1=165
+ '[' 0280 -lt 0165 ']'
+ :
+ '[' 0280 -eq 0165 ']'
+ :
+ return 1
+ read line
++ echo 'drwxrwxr-x   1     1994     1994        0 Sep 19 16:59 169.04'
++ gawk '$9 !~ /latest\.txt/ { print $9 }'
+ nv_beta_version=169.04
+ nv_update_available 280.13 169.04
+ local itok1 itok2 itok3 stok1 stok2 stok3
++ echo 280.13
++ awk -F . '{ print $1 }'
+ itok1=280
++ echo 169.04
++ awk -F . '{ print $1 }'
+ stok1=169
+ '[' 0280 -lt 0169 ']'
+ :
+ '[' 0280 -eq 0169 ']'
+ :
+ return 1
+ read line
++ echo 'drwxrwxr-x   1     1994     1994        0 Sep 19 16:59 169.07'
++ gawk '$9 !~ /latest\.txt/ { print $9 }'
+ nv_beta_version=169.07
+ nv_update_available 280.13 169.07
+ local itok1 itok2 itok3 stok1 stok2 stok3
++ echo 280.13
++ awk -F . '{ print $1 }'
+ itok1=280
++ echo 169.07
++ awk -F . '{ print $1 }'
+ stok1=169
+ '[' 0280 -lt 0169 ']'
+ :
+ '[' 0280 -eq 0169 ']'
+ :
+ return 1
+ read line
++ echo 'drwxrwxr-x   1     1994     1994        0 Sep 19 17:00 169.09'
++ gawk '$9 !~ /latest\.txt/ { print $9 }'
+ nv_beta_version=169.09
+ nv_update_available 280.13 169.09
+ local itok1 itok2 itok3 stok1 stok2 stok3
++ echo 280.13
++ awk -F . '{ print $1 }'
+ itok1=280
++ echo 169.09
++ awk -F . '{ print $1 }'
+ stok1=169
+ '[' 0280 -lt 0169 ']'
+ :
+ '[' 0280 -eq 0169 ']'
+ :
+ return 1
+ read line
++ echo 'drwxrwxr-x   1     1994     1994        0 Sep 19 17:00 169.12'
++ gawk '$9 !~ /latest\.txt/ { print $9 }'
+ nv_beta_version=169.12
+ nv_update_available 280.13 169.12
+ local itok1 itok2 itok3 stok1 stok2 stok3
++ echo 280.13
++ awk -F . '{ print $1 }'
+ itok1=280
++ echo 169.12
++ awk -F . '{ print $1 }'
+ stok1=169
+ '[' 0280 -lt 0169 ']'
+ :
+ '[' 0280 -eq 0169 ']'
+ :
+ return 1
+ read line
++ echo 'drwxrwxr-x   1     1994     1994        0 Sep 19 17:00 171.05'
++ gawk '$9 !~ /latest\.txt/ { print $9 }'
+ nv_beta_version=171.05
+ nv_update_available 280.13 171.05
+ local itok1 itok2 itok3 stok1 stok2 stok3
++ echo 280.13
++ awk -F . '{ print $1 }'
+ itok1=280
++ echo 171.05
++ awk -F . '{ print $1 }'
+ stok1=171
+ '[' 0280 -lt 0171 ']'
+ :
+ '[' 0280 -eq 0171 ']'
+ :
+ return 1
+ read line
++ echo 'drwxrwxr-x   1     1994     1994        0 Sep 19 17:00 171.06'
++ gawk '$9 !~ /latest\.txt/ { print $9 }'
+ nv_beta_version=171.06
+ nv_update_available 280.13 171.06
+ local itok1 itok2 itok3 stok1 stok2 stok3
++ echo 280.13
++ awk -F . '{ print $1 }'
+ itok1=280
++ echo 171.06
++ awk -F . '{ print $1 }'
+ stok1=171
+ '[' 0280 -lt 0171 ']'
+ :
+ '[' 0280 -eq 0171 ']'
+ :
+ return 1
+ read line
++ echo 'drwxrwxr-x   1     1994     1994        0 Sep 19 17:00 171.06.01'
++ gawk '$9 !~ /latest\.txt/ { print $9 }'
+ nv_beta_version=171.06.01
+ nv_update_available 280.13 171.06.01
+ local itok1 itok2 itok3 stok1 stok2 stok3
++ echo 280.13
++ awk -F . '{ print $1 }'
+ itok1=280
++ echo 171.06.01
++ awk -F . '{ print $1 }'
+ stok1=171
+ '[' 0280 -lt 0171 ']'
+ :
+ '[' 0280 -eq 0171 ']'
+ :
+ return 1
+ read line
++ echo 'drwxrwxr-x   1     1994     1994        0 Sep 19 17:01 173.08'
++ gawk '$9 !~ /latest\.txt/ { print $9 }'
+ nv_beta_version=173.08
+ nv_update_available 280.13 173.08
+ local itok1 itok2 itok3 stok1 stok2 stok3
++ echo 280.13
++ awk -F . '{ print $1 }'
+ itok1=280
++ echo 173.08
++ awk -F . '{ print $1 }'
+ stok1=173
+ '[' 0280 -lt 0173 ']'
+ :
+ '[' 0280 -eq 0173 ']'
+ :
+ return 1
+ read line
++ echo 'drwxrwxr-x   1     1994     1994        0 Sep 19 17:01 173.14.05'
++ gawk '$9 !~ /latest\.txt/ { print $9 }'
+ nv_beta_version=173.14.05
+ nv_update_available 280.13 173.14.05
+ local itok1 itok2 itok3 stok1 stok2 stok3
++ echo 280.13
++ awk -F . '{ print $1 }'
+ itok1=280
++ echo 173.14.05
++ awk -F . '{ print $1 }'
+ stok1=173
+ '[' 0280 -lt 0173 ']'
+ :
+ '[' 0280 -eq 0173 ']'
+ :
+ return 1
+ read line
++ echo 'drwxrwxr-x   1     1994     1994        0 Sep 19 17:01 173.14.12'
++ gawk '$9 !~ /latest\.txt/ { print $9 }'
+ nv_beta_version=173.14.12
+ nv_update_available 280.13 173.14.12
+ local itok1 itok2 itok3 stok1 stok2 stok3
++ echo 280.13
++ awk -F . '{ print $1 }'
+ itok1=280
++ echo 173.14.12
++ awk -F . '{ print $1 }'
+ stok1=173
+ '[' 0280 -lt 0173 ']'
+ :
+ '[' 0280 -eq 0173 ']'
+ :
+ return 1
+ read line
++ echo 'drwxrwxr-x   1     1994     1994        0 Sep 19 17:01 173.14.15'
++ gawk '$9 !~ /latest\.txt/ { print $9 }'
+ nv_beta_version=173.14.15
+ nv_update_available 280.13 173.14.15
+ local itok1 itok2 itok3 stok1 stok2 stok3
++ echo 280.13
++ awk -F . '{ print $1 }'
+ itok1=280
++ echo 173.14.15
++ awk -F . '{ print $1 }'
+ stok1=173
+ '[' 0280 -lt 0173 ']'
+ :
+ '[' 0280 -eq 0173 ']'
+ :
+ return 1
+ read line
++ echo 'drwxrwxr-x   1     1994     1994        0 Sep 19 17:01 173.14.16'
++ gawk '$9 !~ /latest\.txt/ { print $9 }'
+ nv_beta_version=173.14.16
+ nv_update_available 280.13 173.14.16
+ local itok1 itok2 itok3 stok1 stok2 stok3
++ echo 280.13
++ awk -F . '{ print $1 }'
+ itok1=280
++ echo 173.14.16
++ awk -F . '{ print $1 }'
+ stok1=173
+ '[' 0280 -lt 0173 ']'
+ :
+ '[' 0280 -eq 0173 ']'
+ :
+ return 1
+ read line
++ echo 'drwxrwxr-x   1     1994     1994        0 Sep 19 17:01 173.14.17'
++ gawk '$9 !~ /latest\.txt/ { print $9 }'
+ nv_beta_version=173.14.17
+ nv_update_available 280.13 173.14.17
+ local itok1 itok2 itok3 stok1 stok2 stok3
++ echo 280.13
++ awk -F . '{ print $1 }'
+ itok1=280
++ echo 173.14.17
++ awk -F . '{ print $1 }'
+ stok1=173
+ '[' 0280 -lt 0173 ']'
+ :
+ '[' 0280 -eq 0173 ']'
+ :
+ return 1
+ read line
++ echo 'drwxrwxr-x   1     1994     1994        0 Sep 19 17:01 173.14.18'
++ gawk '$9 !~ /latest\.txt/ { print $9 }'
+ nv_beta_version=173.14.18
+ nv_update_available 280.13 173.14.18
+ local itok1 itok2 itok3 stok1 stok2 stok3
++ echo 280.13
++ awk -F . '{ print $1 }'
+ itok1=280
++ echo 173.14.18
++ awk -F . '{ print $1 }'
+ stok1=173
+ '[' 0280 -lt 0173 ']'
+ :
+ '[' 0280 -eq 0173 ']'
+ :
+ return 1
+ read line
++ echo 'drwxrwxr-x   1     1994     1994        0 Sep 19 17:02 173.14.19'
++ gawk '$9 !~ /latest\.txt/ { print $9 }'
+ nv_beta_version=173.14.19
+ nv_update_available 280.13 173.14.19
+ local itok1 itok2 itok3 stok1 stok2 stok3
++ echo 280.13
++ awk -F . '{ print $1 }'
+ itok1=280
++ echo 173.14.19
++ awk -F . '{ print $1 }'
+ stok1=173
+ '[' 0280 -lt 0173 ']'
+ :
+ '[' 0280 -eq 0173 ']'
+ :
+ return 1
+ read line
++ echo 'drwxrwxr-x   1     1994     1994        0 Sep 19 17:02 173.14.20'
++ gawk '$9 !~ /latest\.txt/ { print $9 }'
+ nv_beta_version=173.14.20
+ nv_update_available 280.13 173.14.20
+ local itok1 itok2 itok3 stok1 stok2 stok3
++ echo 280.13
++ awk -F . '{ print $1 }'
+ itok1=280
++ echo 173.14.20
++ awk -F . '{ print $1 }'
+ stok1=173
+ '[' 0280 -lt 0173 ']'
+ :
+ '[' 0280 -eq 0173 ']'
+ :
+ return 1
+ read line
++ echo 'drwxrwxr-x   1     1994     1994        0 Sep 19 17:02 173.14.22'
++ gawk '$9 !~ /latest\.txt/ { print $9 }'
+ nv_beta_version=173.14.22
+ nv_update_available 280.13 173.14.22
+ local itok1 itok2 itok3 stok1 stok2 stok3
++ echo 280.13
++ awk -F . '{ print $1 }'
+ itok1=280
++ echo 173.14.22
++ awk -F . '{ print $1 }'
+ stok1=173
+ '[' 0280 -lt 0173 ']'
+ :
+ '[' 0280 -eq 0173 ']'
+ :
+ return 1
+ read line
++ echo 'drwxrwxr-x   1     1994     1994        0 Sep 19 17:02 173.14.25'
++ gawk '$9 !~ /latest\.txt/ { print $9 }'
+ nv_beta_version=173.14.25
+ nv_update_available 280.13 173.14.25
+ local itok1 itok2 itok3 stok1 stok2 stok3
++ echo 280.13
++ awk -F . '{ print $1 }'
+ itok1=280
++ echo 173.14.25
++ awk -F . '{ print $1 }'
+ stok1=173
+ '[' 0280 -lt 0173 ']'
+ :
+ '[' 0280 -eq 0173 ']'
+ :
+ return 1
+ read line
++ echo 'drwxrwxr-x   1     1994     1994        0 Sep 19 17:02 173.14.27'
++ gawk '$9 !~ /latest\.txt/ { print $9 }'
+ nv_beta_version=173.14.27
+ nv_update_available 280.13 173.14.27
+ local itok1 itok2 itok3 stok1 stok2 stok3
++ echo 280.13
++ awk -F . '{ print $1 }'
+ itok1=280
++ echo 173.14.27
++ awk -F . '{ print $1 }'
+ stok1=173
+ '[' 0280 -lt 0173 ']'
+ :
+ '[' 0280 -eq 0173 ']'
+ :
+ return 1
+ read line
++ echo 'drwxrwxr-x   1     1994     1994        0 Sep 19 17:02 173.14.28'
++ gawk '$9 !~ /latest\.txt/ { print $9 }'
+ nv_beta_version=173.14.28
+ nv_update_available 280.13 173.14.28
+ local itok1 itok2 itok3 stok1 stok2 stok3
++ echo 280.13
++ awk -F . '{ print $1 }'
+ itok1=280
++ echo 173.14.28
++ awk -F . '{ print $1 }'
+ stok1=173
+ '[' 0280 -lt 0173 ']'
+ :
+ '[' 0280 -eq 0173 ']'
+ :
+ return 1
+ read line
++ echo 'drwxrwxr-x   1     1994     1994        0 Sep 19 17:02 173.14.30'
++ gawk '$9 !~ /latest\.txt/ { print $9 }'
+ nv_beta_version=173.14.30
+ nv_update_available 280.13 173.14.30
+ local itok1 itok2 itok3 stok1 stok2 stok3
++ echo 280.13
++ awk -F . '{ print $1 }'
+ itok1=280
++ echo 173.14.30
++ awk -F . '{ print $1 }'
+ stok1=173
+ '[' 0280 -lt 0173 ']'
+ :
+ '[' 0280 -eq 0173 ']'
+ :
+ return 1
+ read line
++ echo 'drwxrwxr-x   1     1994     1994        0 Sep 19 17:15 173.14.31'
++ gawk '$9 !~ /latest\.txt/ { print $9 }'
+ nv_beta_version=173.14.31
+ nv_update_available 280.13 173.14.31
+ local itok1 itok2 itok3 stok1 stok2 stok3
++ echo 280.13
++ awk -F . '{ print $1 }'
+ itok1=280
++ echo 173.14.31
++ awk -F . '{ print $1 }'
+ stok1=173
+ '[' 0280 -lt 0173 ']'
+ :
+ '[' 0280 -eq 0173 ']'
+ :
+ return 1
+ read line
++ echo 'drwxrwxr-x   1     1994     1994        0 Sep 19 16:11 177.61.02'
++ gawk '$9 !~ /latest\.txt/ { print $9 }'
+ nv_beta_version=177.61.02
+ nv_update_available 280.13 177.61.02
+ local itok1 itok2 itok3 stok1 stok2 stok3
++ awk -F . '{ print $1 }'
++ echo 280.13
+ itok1=280
++ echo 177.61.02
++ awk -F . '{ print $1 }'
+ stok1=177
+ '[' 0280 -lt 0177 ']'
+ :
+ '[' 0280 -eq 0177 ']'
+ :
+ return 1
+ read line
++ echo 'drwxrwxr-x   1     1994     1994        0 Sep 19 17:03 177.67'
++ gawk '$9 !~ /latest\.txt/ { print $9 }'
+ nv_beta_version=177.67
+ nv_update_available 280.13 177.67
+ local itok1 itok2 itok3 stok1 stok2 stok3
++ echo 280.13
++ awk -F . '{ print $1 }'
+ itok1=280
++ echo 177.67
++ awk -F . '{ print $1 }'
+ stok1=177
+ '[' 0280 -lt 0177 ']'
+ :
+ '[' 0280 -eq 0177 ']'
+ :
+ return 1
+ read line
++ echo 'drwxrwxr-x   1     1994     1994        0 Sep 19 17:03 177.68'
++ gawk '$9 !~ /latest\.txt/ { print $9 }'
+ nv_beta_version=177.68
+ nv_update_available 280.13 177.68
+ local itok1 itok2 itok3 stok1 stok2 stok3
++ echo 280.13
++ awk -F . '{ print $1 }'
+ itok1=280
++ echo 177.68
++ awk -F . '{ print $1 }'
+ stok1=177
+ '[' 0280 -lt 0177 ']'
+ :
+ '[' 0280 -eq 0177 ']'
+ :
+ return 1
+ read line
++ echo 'drwxrwxr-x   1     1994     1994        0 Sep 19 17:03 177.70'
++ gawk '$9 !~ /latest\.txt/ { print $9 }'
+ nv_beta_version=177.70
+ nv_update_available 280.13 177.70
+ local itok1 itok2 itok3 stok1 stok2 stok3
++ echo 280.13
++ awk -F . '{ print $1 }'
+ itok1=280
++ echo 177.70
++ awk -F . '{ print $1 }'
+ stok1=177
+ '[' 0280 -lt 0177 ']'
+ :
+ '[' 0280 -eq 0177 ']'
+ :
+ return 1
+ read line
++ echo 'drwxrwxr-x   1     1994     1994        0 Sep 19 17:03 177.76'
++ gawk '$9 !~ /latest\.txt/ { print $9 }'
+ nv_beta_version=177.76
+ nv_update_available 280.13 177.76
+ local itok1 itok2 itok3 stok1 stok2 stok3
++ echo 280.13
++ awk -F . '{ print $1 }'
+ itok1=280
++ echo 177.76
++ awk -F . '{ print $1 }'
+ stok1=177
+ '[' 0280 -lt 0177 ']'
+ :
+ '[' 0280 -eq 0177 ']'
+ :
+ return 1
+ read line
++ echo 'drwxrwxr-x   1     1994     1994        0 Sep 19 17:03 177.78'
++ gawk '$9 !~ /latest\.txt/ { print $9 }'
+ nv_beta_version=177.78
+ nv_update_available 280.13 177.78
+ local itok1 itok2 itok3 stok1 stok2 stok3
++ echo 280.13
++ awk -F . '{ print $1 }'
+ itok1=280
++ echo 177.78
++ awk -F . '{ print $1 }'
+ stok1=177
+ '[' 0280 -lt 0177 ']'
+ :
+ '[' 0280 -eq 0177 ']'
+ :
+ return 1
+ read line
++ echo 'drwxrwxr-x   1     1994     1994        0 Sep 19 17:03 177.80'
++ gawk '$9 !~ /latest\.txt/ { print $9 }'
+ nv_beta_version=177.80
+ nv_update_available 280.13 177.80
+ local itok1 itok2 itok3 stok1 stok2 stok3
++ echo 280.13
++ awk -F . '{ print $1 }'
+ itok1=280
++ echo 177.80
++ awk -F . '{ print $1 }'
+ stok1=177
+ '[' 0280 -lt 0177 ']'
+ :
+ '[' 0280 -eq 0177 ']'
+ :
+ return 1
+ read line
++ echo 'drwxrwxr-x   1     1994     1994        0 Sep 19 17:03 177.82'
++ gawk '$9 !~ /latest\.txt/ { print $9 }'
+ nv_beta_version=177.82
+ nv_update_available 280.13 177.82
+ local itok1 itok2 itok3 stok1 stok2 stok3
++ echo 280.13
++ awk -F . '{ print $1 }'
+ itok1=280
++ echo 177.82
++ awk -F . '{ print $1 }'
+ stok1=177
+ '[' 0280 -lt 0177 ']'
+ :
+ '[' 0280 -eq 0177 ']'
+ :
+ return 1
+ read line
++ echo 'drwxrwxr-x   1     1994     1994        0 Sep 19 17:04 180.06'
++ gawk '$9 !~ /latest\.txt/ { print $9 }'
+ nv_beta_version=180.06
+ nv_update_available 280.13 180.06
+ local itok1 itok2 itok3 stok1 stok2 stok3
++ echo 280.13
++ awk -F . '{ print $1 }'
+ itok1=280
++ echo 180.06
++ awk -F . '{ print $1 }'
+ stok1=180
+ '[' 0280 -lt 0180 ']'
+ :
+ '[' 0280 -eq 0180 ']'
+ :
+ return 1
+ read line
++ echo 'drwxrwxr-x   1     1994     1994        0 Sep 19 17:04 180.08'
++ gawk '$9 !~ /latest\.txt/ { print $9 }'
+ nv_beta_version=180.08
+ nv_update_available 280.13 180.08
+ local itok1 itok2 itok3 stok1 stok2 stok3
++ echo 280.13
++ awk -F . '{ print $1 }'
+ itok1=280
++ echo 180.08
++ awk -F . '{ print $1 }'
+ stok1=180
+ '[' 0280 -lt 0180 ']'
+ :
+ '[' 0280 -eq 0180 ']'
+ :
+ return 1
+ read line
++ echo 'drwxrwxr-x   1     1994     1994        0 Sep 19 17:04 180.11'
++ gawk '$9 !~ /latest\.txt/ { print $9 }'
+ nv_beta_version=180.11
+ nv_update_available 280.13 180.11
+ local itok1 itok2 itok3 stok1 stok2 stok3
++ echo 280.13
++ awk -F . '{ print $1 }'
+ itok1=280
++ echo 180.11
++ awk -F . '{ print $1 }'
+ stok1=180
+ '[' 0280 -lt 0180 ']'
+ :
+ '[' 0280 -eq 0180 ']'
+ :
+ return 1
+ read line
++ echo 'drwxrwxr-x   1     1994     1994        0 Sep 19 17:04 180.11.02'
++ gawk '$9 !~ /latest\.txt/ { print $9 }'
+ nv_beta_version=180.11.02
+ nv_update_available 280.13 180.11.02
+ local itok1 itok2 itok3 stok1 stok2 stok3
++ echo 280.13
++ awk -F . '{ print $1 }'
+ itok1=280
++ echo 180.11.02
++ awk -F . '{ print $1 }'
+ stok1=180
+ '[' 0280 -lt 0180 ']'
+ :
+ '[' 0280 -eq 0180 ']'
+ :
+ return 1
+ read line
++ echo 'drwxrwxr-x   1     1994     1994        0 Sep 19 17:04 180.16'
++ gawk '$9 !~ /latest\.txt/ { print $9 }'
+ nv_beta_version=180.16
+ nv_update_available 280.13 180.16
+ local itok1 itok2 itok3 stok1 stok2 stok3
++ echo 280.13
++ awk -F . '{ print $1 }'
+ itok1=280
++ echo 180.16
++ awk -F . '{ print $1 }'
+ stok1=180
+ '[' 0280 -lt 0180 ']'
+ :
+ '[' 0280 -eq 0180 ']'
+ :
+ return 1
+ read line
++ echo 'drwxrwxr-x   1     1994     1994        0 Sep 19 17:04 180.18'
++ gawk '$9 !~ /latest\.txt/ { print $9 }'
+ nv_beta_version=180.18
+ nv_update_available 280.13 180.18
+ local itok1 itok2 itok3 stok1 stok2 stok3
++ echo 280.13
++ awk -F . '{ print $1 }'
+ itok1=280
++ echo 180.18
++ awk -F . '{ print $1 }'
+ stok1=180
+ '[' 0280 -lt 0180 ']'
+ :
+ '[' 0280 -eq 0180 ']'
+ :
+ return 1
+ read line
++ echo 'drwxrwxr-x   1     1994     1994        0 Sep 19 17:04 180.22'
++ gawk '$9 !~ /latest\.txt/ { print $9 }'
+ nv_beta_version=180.22
+ nv_update_available 280.13 180.22
+ local itok1 itok2 itok3 stok1 stok2 stok3
++ echo 280.13
++ awk -F . '{ print $1 }'
+ itok1=280
++ echo 180.22
++ awk -F . '{ print $1 }'
+ stok1=180
+ '[' 0280 -lt 0180 ']'
+ :
+ '[' 0280 -eq 0180 ']'
+ :
+ return 1
+ read line
++ echo 'drwxrwxr-x   1     1994     1994        0 Sep 19 17:05 180.25'
++ gawk '$9 !~ /latest\.txt/ { print $9 }'
+ nv_beta_version=180.25
+ nv_update_available 280.13 180.25
+ local itok1 itok2 itok3 stok1 stok2 stok3
++ echo 280.13
++ awk -F . '{ print $1 }'
+ itok1=280
++ echo 180.25
++ awk -F . '{ print $1 }'
+ stok1=180
+ '[' 0280 -lt 0180 ']'
+ :
+ '[' 0280 -eq 0180 ']'
+ :
+ return 1
+ read line
++ echo 'drwxrwxr-x   1     1994     1994        0 Sep 19 17:05 180.27'
++ gawk '$9 !~ /latest\.txt/ { print $9 }'
+ nv_beta_version=180.27
+ nv_update_available 280.13 180.27
+ local itok1 itok2 itok3 stok1 stok2 stok3
++ echo 280.13
++ awk -F . '{ print $1 }'
+ itok1=280
++ echo 180.27
++ awk -F . '{ print $1 }'
+ stok1=180
+ '[' 0280 -lt 0180 ']'
+ :
+ '[' 0280 -eq 0180 ']'
+ :
+ return 1
+ read line
++ echo 'drwxrwxr-x   1     1994     1994        0 Sep 19 17:05 180.29'
++ gawk '$9 !~ /latest\.txt/ { print $9 }'
+ nv_beta_version=180.29
+ nv_update_available 280.13 180.29
+ local itok1 itok2 itok3 stok1 stok2 stok3
++ echo 280.13
++ awk -F . '{ print $1 }'
+ itok1=280
++ echo 180.29
++ awk -F . '{ print $1 }'
+ stok1=180
+ '[' 0280 -lt 0180 ']'
+ :
+ '[' 0280 -eq 0180 ']'
+ :
+ return 1
+ read line
++ echo 'drwxrwxr-x   1     1994     1994        0 Sep 19 17:05 180.35'
++ gawk '$9 !~ /latest\.txt/ { print $9 }'
+ nv_beta_version=180.35
+ nv_update_available 280.13 180.35
+ local itok1 itok2 itok3 stok1 stok2 stok3
++ echo 280.13
++ awk -F . '{ print $1 }'
+ itok1=280
++ echo 180.35
++ awk -F . '{ print $1 }'
+ stok1=180
+ '[' 0280 -lt 0180 ']'
+ :
+ '[' 0280 -eq 0180 ']'
+ :
+ return 1
+ read line
++ echo 'drwxrwxr-x   1     1994     1994        0 Sep 19 17:05 180.37'
++ gawk '$9 !~ /latest\.txt/ { print $9 }'
+ nv_beta_version=180.37
+ nv_update_available 280.13 180.37
+ local itok1 itok2 itok3 stok1 stok2 stok3
++ echo 280.13
++ awk -F . '{ print $1 }'
+ itok1=280
++ echo 180.37
++ awk -F . '{ print $1 }'
+ stok1=180
+ '[' 0280 -lt 0180 ']'
+ :
+ '[' 0280 -eq 0180 ']'
+ :
+ return 1
+ read line
++ echo 'drwxrwxr-x   1     1994     1994        0 Sep 19 17:05 180.37.05'
++ gawk '$9 !~ /latest\.txt/ { print $9 }'
+ nv_beta_version=180.37.05
+ nv_update_available 280.13 180.37.05
+ local itok1 itok2 itok3 stok1 stok2 stok3
++ echo 280.13
++ awk -F . '{ print $1 }'
+ itok1=280
++ echo 180.37.05
++ awk -F . '{ print $1 }'
+ stok1=180
+ '[' 0280 -lt 0180 ']'
+ :
+ '[' 0280 -eq 0180 ']'
+ :
+ return 1
+ read line
++ echo 'drwxrwxr-x   1     1994     1994        0 Sep 19 17:06 180.41'
++ gawk '$9 !~ /latest\.txt/ { print $9 }'
+ nv_beta_version=180.41
+ nv_update_available 280.13 180.41
+ local itok1 itok2 itok3 stok1 stok2 stok3
++ echo 280.13
++ awk -F . '{ print $1 }'
+ itok1=280
++ echo 180.41
++ awk -F . '{ print $1 }'
+ stok1=180
+ '[' 0280 -lt 0180 ']'
+ :
+ '[' 0280 -eq 0180 ']'
+ :
+ return 1
+ read line
++ echo 'drwxrwxr-x   1     1994     1994        0 Sep 19 17:06 180.44'
++ gawk '$9 !~ /latest\.txt/ { print $9 }'
+ nv_beta_version=180.44
+ nv_update_available 280.13 180.44
+ local itok1 itok2 itok3 stok1 stok2 stok3
++ echo 280.13
++ awk -F . '{ print $1 }'
+ itok1=280
++ awk -F . '{ print $1 }'
++ echo 180.44
+ stok1=180
+ '[' 0280 -lt 0180 ']'
+ :
+ '[' 0280 -eq 0180 ']'
+ :
+ return 1
+ read line
++ gawk '$9 !~ /latest\.txt/ { print $9 }'
++ echo 'drwxrwxr-x   1     1994     1994        0 Sep 19 17:06 180.50'
+ nv_beta_version=180.50
+ nv_update_available 280.13 180.50
+ local itok1 itok2 itok3 stok1 stok2 stok3
++ awk -F . '{ print $1 }'
++ echo 280.13
+ itok1=280
++ echo 180.50
++ awk -F . '{ print $1 }'
+ stok1=180
+ '[' 0280 -lt 0180 ']'
+ :
+ '[' 0280 -eq 0180 ']'
+ :
+ return 1
+ read line
++ echo 'drwxrwxr-x   1     1994     1994        0 Sep 19 17:06 180.51'
++ gawk '$9 !~ /latest\.txt/ { print $9 }'
+ nv_beta_version=180.51
+ nv_update_available 280.13 180.51
+ local itok1 itok2 itok3 stok1 stok2 stok3
++ echo 280.13
++ awk -F . '{ print $1 }'
+ itok1=280
++ echo 180.51
++ awk -F . '{ print $1 }'
+ stok1=180
+ '[' 0280 -lt 0180 ']'
+ :
+ '[' 0280 -eq 0180 ']'
+ :
+ return 1
+ read line
++ echo 'drwxrwxr-x   1     1994     1994        0 Sep 19 17:06 180.53'
++ gawk '$9 !~ /latest\.txt/ { print $9 }'
+ nv_beta_version=180.53
+ nv_update_available 280.13 180.53
+ local itok1 itok2 itok3 stok1 stok2 stok3
++ echo 280.13
++ awk -F . '{ print $1 }'
+ itok1=280
++ echo 180.53
++ awk -F . '{ print $1 }'
+ stok1=180
+ '[' 0280 -lt 0180 ']'
+ :
+ '[' 0280 -eq 0180 ']'
+ :
+ return 1
+ read line
++ echo 'drwxrwxr-x   1     1994     1994        0 Sep 19 17:06 180.60'
++ gawk '$9 !~ /latest\.txt/ { print $9 }'
+ nv_beta_version=180.60
+ nv_update_available 280.13 180.60
+ local itok1 itok2 itok3 stok1 stok2 stok3
++ echo 280.13
++ awk -F . '{ print $1 }'
+ itok1=280
++ echo 180.60
++ awk -F . '{ print $1 }'
+ stok1=180
+ '[' 0280 -lt 0180 ']'
+ :
+ '[' 0280 -eq 0180 ']'
+ :
+ return 1
+ read line
++ echo 'drwxrwxr-x   1     1994     1994        0 Sep 19 17:07 185.13'
++ gawk '$9 !~ /latest\.txt/ { print $9 }'
+ nv_beta_version=185.13
+ nv_update_available 280.13 185.13
+ local itok1 itok2 itok3 stok1 stok2 stok3
++ echo 280.13
++ awk -F . '{ print $1 }'
+ itok1=280
++ echo 185.13
++ awk -F . '{ print $1 }'
+ stok1=185
+ '[' 0280 -lt 0185 ']'
+ :
+ '[' 0280 -eq 0185 ']'
+ :
+ return 1
+ read line
++ echo 'drwxrwxr-x   1     1994     1994        0 Sep 19 17:07 185.18.04'
++ gawk '$9 !~ /latest\.txt/ { print $9 }'
+ nv_beta_version=185.18.04
+ nv_update_available 280.13 185.18.04
+ local itok1 itok2 itok3 stok1 stok2 stok3
++ echo 280.13
++ awk -F . '{ print $1 }'
+ itok1=280
++ echo 185.18.04
++ awk -F . '{ print $1 }'
+ stok1=185
+ '[' 0280 -lt 0185 ']'
+ :
+ '[' 0280 -eq 0185 ']'
+ :
+ return 1
+ read line
++ echo 'drwxrwxr-x   1     1994     1994        0 Sep 19 17:07 185.18.08'
++ gawk '$9 !~ /latest\.txt/ { print $9 }'
+ nv_beta_version=185.18.08
+ nv_update_available 280.13 185.18.08
+ local itok1 itok2 itok3 stok1 stok2 stok3
++ echo 280.13
++ awk -F . '{ print $1 }'
+ itok1=280
++ echo 185.18.08
++ awk -F . '{ print $1 }'
+ stok1=185
+ '[' 0280 -lt 0185 ']'
+ :
+ '[' 0280 -eq 0185 ']'
+ :
+ return 1
+ read line
++ echo 'drwxrwxr-x   1     1994     1994        0 Sep 19 17:07 185.18.10'
++ gawk '$9 !~ /latest\.txt/ { print $9 }'
+ nv_beta_version=185.18.10
+ nv_update_available 280.13 185.18.10
+ local itok1 itok2 itok3 stok1 stok2 stok3
++ awk -F . '{ print $1 }'
++ echo 280.13
+ itok1=280
++ echo 185.18.10
++ awk -F . '{ print $1 }'
+ stok1=185
+ '[' 0280 -lt 0185 ']'
+ :
+ '[' 0280 -eq 0185 ']'
+ :
+ return 1
+ read line
++ gawk '$9 !~ /latest\.txt/ { print $9 }'
++ echo 'drwxrwxr-x   1     1994     1994        0 Sep 19 17:07 185.18.14'
+ nv_beta_version=185.18.14
+ nv_update_available 280.13 185.18.14
+ local itok1 itok2 itok3 stok1 stok2 stok3
++ echo 280.13
++ awk -F . '{ print $1 }'
+ itok1=280
++ echo 185.18.14
++ awk -F . '{ print $1 }'
+ stok1=185
+ '[' 0280 -lt 0185 ']'
+ :
+ '[' 0280 -eq 0185 ']'
+ :
+ return 1
+ read line
++ echo 'drwxrwxr-x   1     1994     1994        0 Sep 19 17:07 185.18.29'
++ gawk '$9 !~ /latest\.txt/ { print $9 }'
+ nv_beta_version=185.18.29
+ nv_update_available 280.13 185.18.29
+ local itok1 itok2 itok3 stok1 stok2 stok3
++ echo 280.13
++ awk -F . '{ print $1 }'
+ itok1=280
++ echo 185.18.29
++ awk -F . '{ print $1 }'
+ stok1=185
+ '[' 0280 -lt 0185 ']'
+ :
+ '[' 0280 -eq 0185 ']'
+ :
+ return 1
+ read line
++ echo 'drwxrwxr-x   1     1994     1994        0 Sep 19 17:07 185.18.31'
++ gawk '$9 !~ /latest\.txt/ { print $9 }'
+ nv_beta_version=185.18.31
+ nv_update_available 280.13 185.18.31
+ local itok1 itok2 itok3 stok1 stok2 stok3
++ echo 280.13
++ awk -F . '{ print $1 }'
+ itok1=280
++ echo 185.18.31
++ awk -F . '{ print $1 }'
+ stok1=185
+ '[' 0280 -lt 0185 ']'
+ :
+ '[' 0280 -eq 0185 ']'
+ :
+ return 1
+ read line
++ echo 'drwxrwxr-x   1     1994     1994        0 Sep 19 17:08 185.18.36'
++ gawk '$9 !~ /latest\.txt/ { print $9 }'
+ nv_beta_version=185.18.36
+ nv_update_available 280.13 185.18.36
+ local itok1 itok2 itok3 stok1 stok2 stok3
++ echo 280.13
++ awk -F . '{ print $1 }'
+ itok1=280
++ echo 185.18.36
++ awk -F . '{ print $1 }'
+ stok1=185
+ '[' 0280 -lt 0185 ']'
+ :
+ '[' 0280 -eq 0185 ']'
+ :
+ return 1
+ read line
++ echo 'drwxrwxr-x   1     1994     1994        0 Sep 19 17:08 185.19'
++ gawk '$9 !~ /latest\.txt/ { print $9 }'
+ nv_beta_version=185.19
+ nv_update_available 280.13 185.19
+ local itok1 itok2 itok3 stok1 stok2 stok3
++ echo 280.13
++ awk -F . '{ print $1 }'
+ itok1=280
++ echo 185.19
++ awk -F . '{ print $1 }'
+ stok1=185
+ '[' 0280 -lt 0185 ']'
+ :
+ '[' 0280 -eq 0185 ']'
+ :
+ return 1
+ read line
++ echo 'drwxrwxr-x   1     1994     1994        0 Sep 19 17:08 190.18'
++ gawk '$9 !~ /latest\.txt/ { print $9 }'
+ nv_beta_version=190.18
+ nv_update_available 280.13 190.18
+ local itok1 itok2 itok3 stok1 stok2 stok3
++ echo 280.13
++ awk -F . '{ print $1 }'
+ itok1=280
++ echo 190.18
++ awk -F . '{ print $1 }'
+ stok1=190
+ '[' 0280 -lt 0190 ']'
+ :
+ '[' 0280 -eq 0190 ']'
+ :
+ return 1
+ read line
++ echo 'drwxrwxr-x   1     1994     1994        0 Sep 19 17:08 190.18.05'
++ gawk '$9 !~ /latest\.txt/ { print $9 }'
+ nv_beta_version=190.18.05
+ nv_update_available 280.13 190.18.05
+ local itok1 itok2 itok3 stok1 stok2 stok3
++ echo 280.13
++ awk -F . '{ print $1 }'
+ itok1=280
++ echo 190.18.05
++ awk -F . '{ print $1 }'
+ stok1=190
+ '[' 0280 -lt 0190 ']'
+ :
+ '[' 0280 -eq 0190 ']'
+ :
+ return 1
+ read line
++ echo 'drwxrwxr-x   1     1994     1994        0 Sep 19 17:08 190.25'
++ gawk '$9 !~ /latest\.txt/ { print $9 }'
+ nv_beta_version=190.25
+ nv_update_available 280.13 190.25
+ local itok1 itok2 itok3 stok1 stok2 stok3
++ echo 280.13
++ awk -F . '{ print $1 }'
+ itok1=280
++ echo 190.25
++ awk -F . '{ print $1 }'
+ stok1=190
+ '[' 0280 -lt 0190 ']'
+ :
+ '[' 0280 -eq 0190 ']'
+ :
+ return 1
+ read line
++ echo 'drwxrwxr-x   1     1994     1994        0 Sep 19 17:08 190.32'
++ gawk '$9 !~ /latest\.txt/ { print $9 }'
+ nv_beta_version=190.32
+ nv_update_available 280.13 190.32
+ local itok1 itok2 itok3 stok1 stok2 stok3
++ echo 280.13
++ awk -F . '{ print $1 }'
+ itok1=280
++ echo 190.32
++ awk -F . '{ print $1 }'
+ stok1=190
+ '[' 0280 -lt 0190 ']'
+ :
+ '[' 0280 -eq 0190 ']'
+ :
+ return 1
+ read line
++ echo 'drwxrwxr-x   1     1994     1994        0 Sep 19 17:08 190.36'
++ gawk '$9 !~ /latest\.txt/ { print $9 }'
+ nv_beta_version=190.36
+ nv_update_available 280.13 190.36
+ local itok1 itok2 itok3 stok1 stok2 stok3
++ echo 280.13
++ awk -F . '{ print $1 }'
+ itok1=280
++ echo 190.36
++ awk -F . '{ print $1 }'
+ stok1=190
+ '[' 0280 -lt 0190 ']'
+ :
+ '[' 0280 -eq 0190 ']'
+ :
+ return 1
+ read line
++ echo 'drwxrwxr-x   1     1994     1994        0 Sep 19 17:09 190.40'
++ gawk '$9 !~ /latest\.txt/ { print $9 }'
+ nv_beta_version=190.40
+ nv_update_available 280.13 190.40
+ local itok1 itok2 itok3 stok1 stok2 stok3
++ echo 280.13
++ awk -F . '{ print $1 }'
+ itok1=280
++ echo 190.40
++ awk -F . '{ print $1 }'
+ stok1=190
+ '[' 0280 -lt 0190 ']'
+ :
+ '[' 0280 -eq 0190 ']'
+ :
+ return 1
+ read line
++ echo 'drwxrwxr-x   1     1994     1994        0 Sep 19 17:09 190.42'
++ gawk '$9 !~ /latest\.txt/ { print $9 }'
+ nv_beta_version=190.42
+ nv_update_available 280.13 190.42
+ local itok1 itok2 itok3 stok1 stok2 stok3
++ echo 280.13
++ awk -F . '{ print $1 }'
+ itok1=280
++ echo 190.42
++ awk -F . '{ print $1 }'
+ stok1=190
+ '[' 0280 -lt 0190 ']'
+ :
+ '[' 0280 -eq 0190 ']'
+ :
+ return 1
+ read line
++ echo 'drwxrwxr-x   1     1994     1994        0 Sep 19 17:09 190.53'
++ gawk '$9 !~ /latest\.txt/ { print $9 }'
+ nv_beta_version=190.53
+ nv_update_available 280.13 190.53
+ local itok1 itok2 itok3 stok1 stok2 stok3
++ awk -F . '{ print $1 }'
++ echo 280.13
+ itok1=280
++ echo 190.53
++ awk -F . '{ print $1 }'
+ stok1=190
+ '[' 0280 -lt 0190 ']'
+ :
+ '[' 0280 -eq 0190 ']'
+ :
+ return 1
+ read line
++ echo 'drwxrwxr-x   1     1994     1994        0 Sep 19 17:09 195.22'
++ gawk '$9 !~ /latest\.txt/ { print $9 }'
+ nv_beta_version=195.22
+ nv_update_available 280.13 195.22
+ local itok1 itok2 itok3 stok1 stok2 stok3
++ echo 280.13
++ awk -F . '{ print $1 }'
+ itok1=280
++ echo 195.22
++ awk -F . '{ print $1 }'
+ stok1=195
+ '[' 0280 -lt 0195 ']'
+ :
+ '[' 0280 -eq 0195 ']'
+ :
+ return 1
+ read line
++ echo 'drwxrwxr-x   1     1994     1994        0 Sep 19 17:09 195.30'
++ gawk '$9 !~ /latest\.txt/ { print $9 }'
+ nv_beta_version=195.30
+ nv_update_available 280.13 195.30
+ local itok1 itok2 itok3 stok1 stok2 stok3
++ echo 280.13
++ awk -F . '{ print $1 }'
+ itok1=280
++ echo 195.30
++ awk -F . '{ print $1 }'
+ stok1=195
+ '[' 0280 -lt 0195 ']'
+ :
+ '[' 0280 -eq 0195 ']'
+ :
+ return 1
+ read line
++ echo 'drwxrwxr-x   1     1994     1994        0 Sep 19 17:09 195.36.15'
++ gawk '$9 !~ /latest\.txt/ { print $9 }'
+ nv_beta_version=195.36.15
+ nv_update_available 280.13 195.36.15
+ local itok1 itok2 itok3 stok1 stok2 stok3
++ echo 280.13
++ awk -F . '{ print $1 }'
+ itok1=280
++ echo 195.36.15
++ awk -F . '{ print $1 }'
+ stok1=195
+ '[' 0280 -lt 0195 ']'
+ :
+ '[' 0280 -eq 0195 ']'
+ :
+ return 1
+ read line
++ echo 'drwxrwxr-x   1     1994     1994        0 Sep 19 17:09 195.36.24'
++ gawk '$9 !~ /latest\.txt/ { print $9 }'
+ nv_beta_version=195.36.24
+ nv_update_available 280.13 195.36.24
+ local itok1 itok2 itok3 stok1 stok2 stok3
++ echo 280.13
++ awk -F . '{ print $1 }'
+ itok1=280
++ echo 195.36.24
++ awk -F . '{ print $1 }'
+ stok1=195
+ '[' 0280 -lt 0195 ']'
+ :
+ '[' 0280 -eq 0195 ']'
+ :
+ return 1
+ read line
++ echo 'drwxrwxr-x   1     1994     1994        0 Sep 19 17:10 195.36.31'
++ gawk '$9 !~ /latest\.txt/ { print $9 }'
+ nv_beta_version=195.36.31
+ nv_update_available 280.13 195.36.31
+ local itok1 itok2 itok3 stok1 stok2 stok3
++ echo 280.13
++ awk -F . '{ print $1 }'
+ itok1=280
++ echo 195.36.31
++ awk -F . '{ print $1 }'
+ stok1=195
+ '[' 0280 -lt 0195 ']'
+ :
+ '[' 0280 -eq 0195 ']'
+ :
+ return 1
+ read line
++ echo 'drwxrwxr-x   1     1994     1994        0 Sep 19 17:10 256.25'
++ gawk '$9 !~ /latest\.txt/ { print $9 }'
+ nv_beta_version=256.25
+ nv_update_available 280.13 256.25
+ local itok1 itok2 itok3 stok1 stok2 stok3
++ echo 280.13
++ awk -F . '{ print $1 }'
+ itok1=280
++ echo 256.25
++ awk -F . '{ print $1 }'
+ stok1=256
+ '[' 0280 -lt 0256 ']'
+ :
+ '[' 0280 -eq 0256 ']'
+ :
+ return 1
+ read line
++ echo 'drwxrwxr-x   1     1994     1994        0 Sep 19 17:10 256.29'
++ gawk '$9 !~ /latest\.txt/ { print $9 }'
+ nv_beta_version=256.29
+ nv_update_available 280.13 256.29
+ local itok1 itok2 itok3 stok1 stok2 stok3
++ echo 280.13
++ awk -F . '{ print $1 }'
+ itok1=280
++ echo 256.29
++ awk -F . '{ print $1 }'
+ stok1=256
+ '[' 0280 -lt 0256 ']'
+ :
+ '[' 0280 -eq 0256 ']'
+ :
+ return 1
+ read line
++ echo 'drwxrwxr-x   1     1994     1994        0 Sep 19 17:10 256.35'
++ gawk '$9 !~ /latest\.txt/ { print $9 }'
+ nv_beta_version=256.35
+ nv_update_available 280.13 256.35
+ local itok1 itok2 itok3 stok1 stok2 stok3
++ echo 280.13
++ awk -F . '{ print $1 }'
+ itok1=280
++ echo 256.35
++ awk -F . '{ print $1 }'
+ stok1=256
+ '[' 0280 -lt 0256 ']'
+ :
+ '[' 0280 -eq 0256 ']'
+ :
+ return 1
+ read line
++ echo 'drwxrwxr-x   1     1994     1994        0 Sep 19 17:10 256.38.02'
++ gawk '$9 !~ /latest\.txt/ { print $9 }'
+ nv_beta_version=256.38.02
+ nv_update_available 280.13 256.38.02
+ local itok1 itok2 itok3 stok1 stok2 stok3
++ echo 280.13
++ awk -F . '{ print $1 }'
+ itok1=280
++ echo 256.38.02
++ awk -F . '{ print $1 }'
+ stok1=256
+ '[' 0280 -lt 0256 ']'
+ :
+ '[' 0280 -eq 0256 ']'
+ :
+ return 1
+ read line
++ echo 'drwxrwxr-x   1     1994     1994        0 Sep 19 17:10 256.38.03'
++ gawk '$9 !~ /latest\.txt/ { print $9 }'
+ nv_beta_version=256.38.03
+ nv_update_available 280.13 256.38.03
+ local itok1 itok2 itok3 stok1 stok2 stok3
++ echo 280.13
++ awk -F . '{ print $1 }'
+ itok1=280
++ echo 256.38.03
++ awk -F . '{ print $1 }'
+ stok1=256
+ '[' 0280 -lt 0256 ']'
+ :
+ '[' 0280 -eq 0256 ']'
+ :
+ return 1
+ read line
++ echo 'drwxrwxr-x   1     1994     1994        0 Sep 19 17:10 256.44'
++ gawk '$9 !~ /latest\.txt/ { print $9 }'
+ nv_beta_version=256.44
+ nv_update_available 280.13 256.44
+ local itok1 itok2 itok3 stok1 stok2 stok3
++ echo 280.13
++ awk -F . '{ print $1 }'
+ itok1=280
++ echo 256.44
++ awk -F . '{ print $1 }'
+ stok1=256
+ '[' 0280 -lt 0256 ']'
+ :
+ '[' 0280 -eq 0256 ']'
+ :
+ return 1
+ read line
++ echo 'drwxrwxr-x   1     1994     1994        0 Sep 19 17:10 256.52'
++ gawk '$9 !~ /latest\.txt/ { print $9 }'
+ nv_beta_version=256.52
+ nv_update_available 280.13 256.52
+ local itok1 itok2 itok3 stok1 stok2 stok3
++ echo 280.13
++ awk -F . '{ print $1 }'
+ itok1=280
++ echo 256.52
++ awk -F . '{ print $1 }'
+ stok1=256
+ '[' 0280 -lt 0256 ']'
+ :
+ '[' 0280 -eq 0256 ']'
+ :
+ return 1
+ read line
++ echo 'drwxrwxr-x   1     1994     1994        0 Sep 19 17:11 256.53'
++ gawk '$9 !~ /latest\.txt/ { print $9 }'
+ nv_beta_version=256.53
+ nv_update_available 280.13 256.53
+ local itok1 itok2 itok3 stok1 stok2 stok3
++ echo 280.13
++ awk -F . '{ print $1 }'
+ itok1=280
++ echo 256.53
++ awk -F . '{ print $1 }'
+ stok1=256
+ '[' 0280 -lt 0256 ']'
+ :
+ '[' 0280 -eq 0256 ']'
+ :
+ return 1
+ read line
++ echo 'drwxrwxr-x   1     1994     1994        0 Sep 19 17:11 260.19.04'
++ gawk '$9 !~ /latest\.txt/ { print $9 }'
+ nv_beta_version=260.19.04
+ nv_update_available 280.13 260.19.04
+ local itok1 itok2 itok3 stok1 stok2 stok3
++ echo 280.13
++ awk -F . '{ print $1 }'
+ itok1=280
++ echo 260.19.04
++ awk -F . '{ print $1 }'
+ stok1=260
+ '[' 0280 -lt 0260 ']'
+ :
+ '[' 0280 -eq 0260 ']'
+ :
+ return 1
+ read line
++ echo 'drwxrwxr-x   1     1994     1994        0 Sep 19 17:11 260.19.06'
++ gawk '$9 !~ /latest\.txt/ { print $9 }'
+ nv_beta_version=260.19.06
+ nv_update_available 280.13 260.19.06
+ local itok1 itok2 itok3 stok1 stok2 stok3
++ echo 280.13
++ awk -F . '{ print $1 }'
+ itok1=280
++ echo 260.19.06
++ awk -F . '{ print $1 }'
+ stok1=260
+ '[' 0280 -lt 0260 ']'
+ :
+ '[' 0280 -eq 0260 ']'
+ :
+ return 1
+ read line
++ echo 'drwxrwxr-x   1     1994     1994        0 Sep 19 17:11 260.19.12'
++ gawk '$9 !~ /latest\.txt/ { print $9 }'
+ nv_beta_version=260.19.12
+ nv_update_available 280.13 260.19.12
+ local itok1 itok2 itok3 stok1 stok2 stok3
++ echo 280.13
++ awk -F . '{ print $1 }'
+ itok1=280
++ echo 260.19.12
++ awk -F . '{ print $1 }'
+ stok1=260
+ '[' 0280 -lt 0260 ']'
+ :
+ '[' 0280 -eq 0260 ']'
+ :
+ return 1
+ read line
++ echo 'drwxrwxr-x   1     1994     1994        0 Sep 19 17:11 260.19.21'
++ gawk '$9 !~ /latest\.txt/ { print $9 }'
+ nv_beta_version=260.19.21
+ nv_update_available 280.13 260.19.21
+ local itok1 itok2 itok3 stok1 stok2 stok3
++ echo 280.13
++ awk -F . '{ print $1 }'
+ itok1=280
++ echo 260.19.21
++ awk -F . '{ print $1 }'
+ stok1=260
+ '[' 0280 -lt 0260 ']'
+ :
+ '[' 0280 -eq 0260 ']'
+ :
+ return 1
+ read line
++ echo 'drwxrwxr-x   1     1994     1994        0 Sep 19 17:11 260.19.26'
++ gawk '$9 !~ /latest\.txt/ { print $9 }'
+ nv_beta_version=260.19.26
+ nv_update_available 280.13 260.19.26
+ local itok1 itok2 itok3 stok1 stok2 stok3
++ echo 280.13
++ awk -F . '{ print $1 }'
+ itok1=280
++ echo 260.19.26
++ awk -F . '{ print $1 }'
+ stok1=260
+ '[' 0280 -lt 0260 ']'
+ :
+ '[' 0280 -eq 0260 ']'
+ :
+ return 1
+ read line
++ echo 'drwxrwxr-x   1     1994     1994        0 Sep 19 17:12 260.19.29'
++ gawk '$9 !~ /latest\.txt/ { print $9 }'
+ nv_beta_version=260.19.29
+ nv_update_available 280.13 260.19.29
+ local itok1 itok2 itok3 stok1 stok2 stok3
++ echo 280.13
++ awk -F . '{ print $1 }'
+ itok1=280
++ echo 260.19.29
++ awk -F . '{ print $1 }'
+ stok1=260
+ '[' 0280 -lt 0260 ']'
+ :
+ '[' 0280 -eq 0260 ']'
+ :
+ return 1
+ read line
++ echo 'drwxrwxr-x   1     1994     1994        0 Sep 19 17:12 260.19.36'
++ gawk '$9 !~ /latest\.txt/ { print $9 }'
+ nv_beta_version=260.19.36
+ nv_update_available 280.13 260.19.36
+ local itok1 itok2 itok3 stok1 stok2 stok3
++ echo 280.13
++ awk -F . '{ print $1 }'
+ itok1=280
++ echo 260.19.36
++ awk -F . '{ print $1 }'
+ stok1=260
+ '[' 0280 -lt 0260 ']'
+ :
+ '[' 0280 -eq 0260 ']'
+ :
+ return 1
+ read line
++ echo 'drwxrwxr-x   1     1994     1994        0 Sep 19 17:12 260.19.44'
++ gawk '$9 !~ /latest\.txt/ { print $9 }'
+ nv_beta_version=260.19.44
+ nv_update_available 280.13 260.19.44
+ local itok1 itok2 itok3 stok1 stok2 stok3
++ echo 280.13
++ awk -F . '{ print $1 }'
+ itok1=280
++ echo 260.19.44
++ awk -F . '{ print $1 }'
+ stok1=260
+ '[' 0280 -lt 0260 ']'
+ :
+ '[' 0280 -eq 0260 ']'
+ :
+ return 1
+ read line
++ echo 'drwxrwxr-x   1     1994     1994        0 Sep 19 17:11 270.18'
++ gawk '$9 !~ /latest\.txt/ { print $9 }'
+ nv_beta_version=270.18
+ nv_update_available 280.13 270.18
+ local itok1 itok2 itok3 stok1 stok2 stok3
++ echo 280.13
++ awk -F . '{ print $1 }'
+ itok1=280
++ echo 270.18
++ awk -F . '{ print $1 }'
+ stok1=270
+ '[' 0280 -lt 0270 ']'
+ :
+ '[' 0280 -eq 0270 ']'
+ :
+ return 1
+ read line
++ echo 'drwxrwxr-x   1     1994     1994        0 Sep 19 17:12 270.26'
++ gawk '$9 !~ /latest\.txt/ { print $9 }'
+ nv_beta_version=270.26
+ nv_update_available 280.13 270.26
+ local itok1 itok2 itok3 stok1 stok2 stok3
++ echo 280.13
++ awk -F . '{ print $1 }'
+ itok1=280
++ echo 270.26
++ awk -F . '{ print $1 }'
+ stok1=270
+ '[' 0280 -lt 0270 ']'
+ :
+ '[' 0280 -eq 0270 ']'
+ :
+ return 1
+ read line
++ echo 'drwxrwxr-x   1     1994     1994        0 Sep 19 17:12 270.29'
++ gawk '$9 !~ /latest\.txt/ { print $9 }'
+ nv_beta_version=270.29
+ nv_update_available 280.13 270.29
+ local itok1 itok2 itok3 stok1 stok2 stok3
++ echo 280.13
++ awk -F . '{ print $1 }'
+ itok1=280
++ echo 270.29
++ awk -F . '{ print $1 }'
+ stok1=270
+ '[' 0280 -lt 0270 ']'
+ :
+ '[' 0280 -eq 0270 ']'
+ :
+ return 1
+ read line
++ echo 'drwxrwxr-x   1     1994     1994        0 Sep 19 17:12 270.30'
++ gawk '$9 !~ /latest\.txt/ { print $9 }'
+ nv_beta_version=270.30
+ nv_update_available 280.13 270.30
+ local itok1 itok2 itok3 stok1 stok2 stok3
++ echo 280.13
++ awk -F . '{ print $1 }'
+ itok1=280
++ awk -F . '{ print $1 }'
++ echo 270.30
+ stok1=270
+ '[' 0280 -lt 0270 ']'
+ :
+ '[' 0280 -eq 0270 ']'
+ :
+ return 1
+ read line
++ echo 'drwxrwxr-x   1     1994     1994        0 Sep 19 17:12 270.41.03'
++ gawk '$9 !~ /latest\.txt/ { print $9 }'
+ nv_beta_version=270.41.03
+ nv_update_available 280.13 270.41.03
+ local itok1 itok2 itok3 stok1 stok2 stok3
++ echo 280.13
++ awk -F . '{ print $1 }'
+ itok1=280
++ echo 270.41.03
++ awk -F . '{ print $1 }'
+ stok1=270
+ '[' 0280 -lt 0270 ']'
+ :
+ '[' 0280 -eq 0270 ']'
+ :
+ return 1
+ read line
++ echo 'drwxrwxr-x   1     1994     1994        0 Sep 19 17:12 270.41.06'
++ gawk '$9 !~ /latest\.txt/ { print $9 }'
+ nv_beta_version=270.41.06
+ nv_update_available 280.13 270.41.06
+ local itok1 itok2 itok3 stok1 stok2 stok3
++ echo 280.13
++ awk -F . '{ print $1 }'
+ itok1=280
++ echo 270.41.06
++ awk -F . '{ print $1 }'
+ stok1=270
+ '[' 0280 -lt 0270 ']'
+ :
+ '[' 0280 -eq 0270 ']'
+ :
+ return 1
+ read line
++ echo 'drwxrwxr-x   1     1994     1994        0 Sep 19 17:13 270.41.19'
++ gawk '$9 !~ /latest\.txt/ { print $9 }'
+ nv_beta_version=270.41.19
+ nv_update_available 280.13 270.41.19
+ local itok1 itok2 itok3 stok1 stok2 stok3
++ echo 280.13
++ awk -F . '{ print $1 }'
+ itok1=280
++ echo 270.41.19
++ awk -F . '{ print $1 }'
+ stok1=270
+ '[' 0280 -lt 0270 ']'
+ :
+ '[' 0280 -eq 0270 ']'
+ :
+ return 1
+ read line
++ echo 'drwxrwxr-x   1     1994     1994        0 Sep 19 17:13 275.09'
++ gawk '$9 !~ /latest\.txt/ { print $9 }'
+ nv_beta_version=275.09
+ nv_update_available 280.13 275.09
+ local itok1 itok2 itok3 stok1 stok2 stok3
++ echo 280.13
++ awk -F . '{ print $1 }'
+ itok1=280
++ echo 275.09
++ awk -F . '{ print $1 }'
+ stok1=275
+ '[' 0280 -lt 0275 ']'
+ :
+ '[' 0280 -eq 0275 ']'
+ :
+ return 1
+ read line
++ echo 'drwxrwxr-x   1     1994     1994        0 Sep 19 17:15 275.09.04'
++ gawk '$9 !~ /latest\.txt/ { print $9 }'
+ nv_beta_version=275.09.04
+ nv_update_available 280.13 275.09.04
+ local itok1 itok2 itok3 stok1 stok2 stok3
++ echo 280.13
++ awk -F . '{ print $1 }'
+ itok1=280
++ echo 275.09.04
++ awk -F . '{ print $1 }'
+ stok1=275
+ '[' 0280 -lt 0275 ']'
+ :
+ '[' 0280 -eq 0275 ']'
+ :
+ return 1
+ read line
++ echo 'drwxrwxr-x   1     1994     1994        0 Sep 19 17:15 275.09.07'
++ gawk '$9 !~ /latest\.txt/ { print $9 }'
+ nv_beta_version=275.09.07
+ nv_update_available 280.13 275.09.07
+ local itok1 itok2 itok3 stok1 stok2 stok3
++ echo 280.13
++ awk -F . '{ print $1 }'
+ itok1=280
++ echo 275.09.07
++ awk -F . '{ print $1 }'
+ stok1=275
+ '[' 0280 -lt 0275 ']'
+ :
+ '[' 0280 -eq 0275 ']'
+ :
+ return 1
+ read line
++ echo 'drwxrwxr-x   1     1994     1994        0 Sep 19 17:15 275.19'
++ gawk '$9 !~ /latest\.txt/ { print $9 }'
+ nv_beta_version=275.19
+ nv_update_available 280.13 275.19
+ local itok1 itok2 itok3 stok1 stok2 stok3
++ echo 280.13
++ awk -F . '{ print $1 }'
+ itok1=280
++ echo 275.19
++ awk -F . '{ print $1 }'
+ stok1=275
+ '[' 0280 -lt 0275 ']'
+ :
+ '[' 0280 -eq 0275 ']'
+ :
+ return 1
+ read line
++ echo 'drwxrwxr-x   1     1994     1994        0 Sep 19 17:15 275.21'
++ gawk '$9 !~ /latest\.txt/ { print $9 }'
+ nv_beta_version=275.21
+ nv_update_available 280.13 275.21
+ local itok1 itok2 itok3 stok1 stok2 stok3
++ echo 280.13
++ awk -F . '{ print $1 }'
+ itok1=280
++ echo 275.21
++ awk -F . '{ print $1 }'
+ stok1=275
+ '[' 0280 -lt 0275 ']'
+ :
+ '[' 0280 -eq 0275 ']'
+ :
+ return 1
+ read line
++ echo 'drwxrwxr-x   1     1994     1994        0 Sep 19 17:16 275.28'
++ gawk '$9 !~ /latest\.txt/ { print $9 }'
+ nv_beta_version=275.28
+ nv_update_available 280.13 275.28
+ local itok1 itok2 itok3 stok1 stok2 stok3
++ echo 280.13
++ awk -F . '{ print $1 }'
+ itok1=280
++ echo 275.28
++ awk -F . '{ print $1 }'
+ stok1=275
+ '[' 0280 -lt 0275 ']'
+ :
+ '[' 0280 -eq 0275 ']'
+ :
+ return 1
+ read line
++ echo 'drwxrwxr-x   1     1994     1994        0 Sep 19 17:15 280.04'
++ gawk '$9 !~ /latest\.txt/ { print $9 }'
+ nv_beta_version=280.04
+ nv_update_available 280.13 280.04
+ local itok1 itok2 itok3 stok1 stok2 stok3
++ echo 280.13
++ awk -F . '{ print $1 }'
+ itok1=280
++ echo 280.04
++ awk -F . '{ print $1 }'
+ stok1=280
+ '[' 0280 -lt 0280 ']'
+ :
+ '[' 0280 -eq 0280 ']'
++ echo 280.13
++ awk -F . '{ print $2 }'
+ itok2=13
++ echo 280.04
++ awk -F . '{ print $2 }'
+ stok2=04
+ '[' 013 -lt 004 ']'
+ '[' 013 -eq 004 ']'
+ :
+ return 1
+ read line
++ echo 'drwxrwxr-x   1     1994     1994        0 Sep 19 17:15 280.11'
++ gawk '$9 !~ /latest\.txt/ { print $9 }'
+ nv_beta_version=280.11
+ nv_update_available 280.13 280.11
+ local itok1 itok2 itok3 stok1 stok2 stok3
++ echo 280.13
++ awk -F . '{ print $1 }'
+ itok1=280
++ echo 280.11
++ awk -F . '{ print $1 }'
+ stok1=280
+ '[' 0280 -lt 0280 ']'
+ :
+ '[' 0280 -eq 0280 ']'
++ echo 280.13
++ awk -F . '{ print $2 }'
+ itok2=13
++ echo 280.11
++ awk -F . '{ print $2 }'
+ stok2=11
+ '[' 013 -lt 011 ']'
+ '[' 013 -eq 011 ']'
+ :
+ return 1
+ read line
++ echo 'drwxrwxr-x   1     1994     1994        0 Sep 19 17:16 280.13'
++ gawk '$9 !~ /latest\.txt/ { print $9 }'
+ nv_beta_version=280.13
+ nv_update_available 280.13 280.13
+ local itok1 itok2 itok3 stok1 stok2 stok3
++ echo 280.13
++ awk -F . '{ print $1 }'
+ itok1=280
++ echo 280.13
++ awk -F . '{ print $1 }'
+ stok1=280
+ '[' 0280 -lt 0280 ']'
+ :
+ '[' 0280 -eq 0280 ']'
++ echo 280.13
++ awk -F . '{ print $2 }'
+ itok2=13
++ awk -F . '{ print $2 }'
++ echo 280.13
+ stok2=13
+ '[' 013 -lt 013 ']'
+ '[' 013 -eq 013 ']'
++ echo 280.13
++ awk -F . '{ print $3 }'
+ itok3=
++ echo 280.13
++ awk -F . '{ print $3 }'
+ stok3=
+ '[' 0 -lt 0 ']'
+ :
+ return 1
+ read line
++ echo 'drwxrwxr-x   1     1994     1994        0 Sep 19 17:13 71.86.01'
++ gawk '$9 !~ /latest\.txt/ { print $9 }'
+ nv_beta_version=71.86.01
+ nv_update_available 280.13 71.86.01
+ local itok1 itok2 itok3 stok1 stok2 stok3
++ echo 280.13
++ awk -F . '{ print $1 }'
+ itok1=280
++ echo 71.86.01
++ awk -F . '{ print $1 }'
+ stok1=71
+ '[' 0280 -lt 071 ']'
+ :
+ '[' 0280 -eq 071 ']'
+ :
+ return 1
+ read line
++ echo 'drwxrwxr-x   1     1994     1994        0 Sep 19 17:13 71.86.04'
++ gawk '$9 !~ /latest\.txt/ { print $9 }'
+ nv_beta_version=71.86.04
+ nv_update_available 280.13 71.86.04
+ local itok1 itok2 itok3 stok1 stok2 stok3
++ echo 280.13
++ awk -F . '{ print $1 }'
+ itok1=280
++ echo 71.86.04
++ awk -F . '{ print $1 }'
+ stok1=71
+ '[' 0280 -lt 071 ']'
+ :
+ '[' 0280 -eq 071 ']'
+ :
+ return 1
+ read line
++ echo 'drwxrwxr-x   1     1994     1994        0 Sep 19 17:13 71.86.07'
++ gawk '$9 !~ /latest\.txt/ { print $9 }'
+ nv_beta_version=71.86.07
+ nv_update_available 280.13 71.86.07
+ local itok1 itok2 itok3 stok1 stok2 stok3
++ echo 280.13
++ awk -F . '{ print $1 }'
+ itok1=280
++ echo 71.86.07
++ awk -F . '{ print $1 }'
+ stok1=71
+ '[' 0280 -lt 071 ']'
+ :
+ '[' 0280 -eq 071 ']'
+ :
+ return 1
+ read line
++ echo 'drwxrwxr-x   1     1994     1994        0 Sep 19 17:13 71.86.08'
++ gawk '$9 !~ /latest\.txt/ { print $9 }'
+ nv_beta_version=71.86.08
+ nv_update_available 280.13 71.86.08
+ local itok1 itok2 itok3 stok1 stok2 stok3
++ echo 280.13
++ awk -F . '{ print $1 }'
+ itok1=280
++ echo 71.86.08
++ awk -F . '{ print $1 }'
+ stok1=71
+ '[' 0280 -lt 071 ']'
+ :
+ '[' 0280 -eq 071 ']'
+ :
+ return 1
+ read line
++ echo 'drwxrwxr-x   1     1994     1994        0 Sep 19 17:13 71.86.09'
++ gawk '$9 !~ /latest\.txt/ { print $9 }'
+ nv_beta_version=71.86.09
+ nv_update_available 280.13 71.86.09
+ local itok1 itok2 itok3 stok1 stok2 stok3
++ echo 280.13
++ awk -F . '{ print $1 }'
+ itok1=280
++ echo 71.86.09
++ awk -F . '{ print $1 }'
+ stok1=71
+ '[' 0280 -lt 071 ']'
+ :
+ '[' 0280 -eq 071 ']'
+ :
+ return 1
+ read line
++ echo 'drwxrwxr-x   1     1994     1994        0 Sep 19 17:13 71.86.10'
++ gawk '$9 !~ /latest\.txt/ { print $9 }'
+ nv_beta_version=71.86.10
+ nv_update_available 280.13 71.86.10
+ local itok1 itok2 itok3 stok1 stok2 stok3
++ echo 280.13
++ awk -F . '{ print $1 }'
+ itok1=280
++ echo 71.86.10
++ awk -F . '{ print $1 }'
+ stok1=71
+ '[' 0280 -lt 071 ']'
+ :
+ '[' 0280 -eq 071 ']'
+ :
+ return 1
+ read line
++ echo 'drwxrwxr-x   1     1994     1994        0 Sep 19 17:13 71.86.11'
++ gawk '$9 !~ /latest\.txt/ { print $9 }'
+ nv_beta_version=71.86.11
+ nv_update_available 280.13 71.86.11
+ local itok1 itok2 itok3 stok1 stok2 stok3
++ echo 280.13
++ awk -F . '{ print $1 }'
+ itok1=280
++ echo 71.86.11
++ awk -F . '{ print $1 }'
+ stok1=71
+ '[' 0280 -lt 071 ']'
+ :
+ '[' 0280 -eq 071 ']'
+ :
+ return 1
+ read line
++ echo 'drwxrwxr-x   1     1994     1994        0 Sep 19 17:13 71.86.13'
++ gawk '$9 !~ /latest\.txt/ { print $9 }'
+ nv_beta_version=71.86.13
+ nv_update_available 280.13 71.86.13
+ local itok1 itok2 itok3 stok1 stok2 stok3
++ echo 280.13
++ awk -F . '{ print $1 }'
+ itok1=280
++ echo 71.86.13
++ awk -F . '{ print $1 }'
+ stok1=71
+ '[' 0280 -lt 071 ']'
+ :
+ '[' 0280 -eq 071 ']'
+ :
+ return 1
+ read line
++ echo 'drwxrwxr-x   1     1994     1994        0 Sep 19 17:13 71.86.14'
++ gawk '$9 !~ /latest\.txt/ { print $9 }'
+ nv_beta_version=71.86.14
+ nv_update_available 280.13 71.86.14
+ local itok1 itok2 itok3 stok1 stok2 stok3
++ echo 280.13
++ awk -F . '{ print $1 }'
+ itok1=280
++ echo 71.86.14
++ awk -F . '{ print $1 }'
+ stok1=71
+ '[' 0280 -lt 071 ']'
+ :
+ '[' 0280 -eq 071 ']'
+ :
+ return 1
+ read line
++ echo 'drwxrwxr-x   1     1994     1994        0 Sep 19 17:15 71.86.15'
++ gawk '$9 !~ /latest\.txt/ { print $9 }'
+ nv_beta_version=71.86.15
+ nv_update_available 280.13 71.86.15
+ local itok1 itok2 itok3 stok1 stok2 stok3
++ echo 280.13
++ awk -F . '{ print $1 }'
+ itok1=280
++ echo 71.86.15
++ awk -F . '{ print $1 }'
+ stok1=71
+ '[' 0280 -lt 071 ']'
+ :
+ '[' 0280 -eq 071 ']'
+ :
+ return 1
+ read line
++ echo 'drwxrwxr-x   1     1994     1994        0 Sep 19 17:13 96.43.01'
++ gawk '$9 !~ /latest\.txt/ { print $9 }'
+ nv_beta_version=96.43.01
+ nv_update_available 280.13 96.43.01
+ local itok1 itok2 itok3 stok1 stok2 stok3
++ echo 280.13
++ awk -F . '{ print $1 }'
+ itok1=280
++ echo 96.43.01
++ awk -F . '{ print $1 }'
+ stok1=96
+ '[' 0280 -lt 096 ']'
+ :
+ '[' 0280 -eq 096 ']'
+ :
+ return 1
+ read line
++ echo 'drwxrwxr-x   1     1994     1994        0 Sep 19 17:13 96.43.05'
++ gawk '$9 !~ /latest\.txt/ { print $9 }'
+ nv_beta_version=96.43.05
+ nv_update_available 280.13 96.43.05
+ local itok1 itok2 itok3 stok1 stok2 stok3
++ echo 280.13
++ awk -F . '{ print $1 }'
+ itok1=280
++ echo 96.43.05
++ awk -F . '{ print $1 }'
+ stok1=96
+ '[' 0280 -lt 096 ']'
+ :
+ '[' 0280 -eq 096 ']'
+ :
+ return 1
+ read line
++ echo 'drwxrwxr-x   1     1994     1994        0 Sep 19 17:13 96.43.09'
++ gawk '$9 !~ /latest\.txt/ { print $9 }'
+ nv_beta_version=96.43.09
+ nv_update_available 280.13 96.43.09
+ local itok1 itok2 itok3 stok1 stok2 stok3
++ echo 280.13
++ awk -F . '{ print $1 }'
+ itok1=280
++ awk -F . '{ print $1 }'
++ echo 96.43.09
+ stok1=96
+ '[' 0280 -lt 096 ']'
+ :
+ '[' 0280 -eq 096 ']'
+ :
+ return 1
+ read line
++ gawk '$9 !~ /latest\.txt/ { print $9 }'
++ echo 'drwxrwxr-x   1     1994     1994        0 Sep 19 17:13 96.43.10'
+ nv_beta_version=96.43.10
+ nv_update_available 280.13 96.43.10
+ local itok1 itok2 itok3 stok1 stok2 stok3
++ awk -F . '{ print $1 }'
++ echo 280.13
+ itok1=280
++ echo 96.43.10
++ awk -F . '{ print $1 }'
+ stok1=96
+ '[' 0280 -lt 096 ']'
+ :
+ '[' 0280 -eq 096 ']'
+ :
+ return 1
+ read line
++ echo 'drwxrwxr-x   1     1994     1994        0 Sep 19 17:13 96.43.11'
++ gawk '$9 !~ /latest\.txt/ { print $9 }'
+ nv_beta_version=96.43.11
+ nv_update_available 280.13 96.43.11
+ local itok1 itok2 itok3 stok1 stok2 stok3
++ echo 280.13
++ awk -F . '{ print $1 }'
+ itok1=280
++ echo 96.43.11
++ awk -F . '{ print $1 }'
+ stok1=96
+ '[' 0280 -lt 096 ']'
+ :
+ '[' 0280 -eq 096 ']'
+ :
+ return 1
+ read line
++ echo 'drwxrwxr-x   1     1994     1994        0 Sep 19 17:14 96.43.12'
++ gawk '$9 !~ /latest\.txt/ { print $9 }'
+ nv_beta_version=96.43.12
+ nv_update_available 280.13 96.43.12
+ local itok1 itok2 itok3 stok1 stok2 stok3
++ echo 280.13
++ awk -F . '{ print $1 }'
+ itok1=280
++ echo 96.43.12
++ awk -F . '{ print $1 }'
+ stok1=96
+ '[' 0280 -lt 096 ']'
+ :
+ '[' 0280 -eq 096 ']'
+ :
+ return 1
+ read line
++ echo 'drwxrwxr-x   1     1994     1994        0 Sep 19 17:14 96.43.13'
++ gawk '$9 !~ /latest\.txt/ { print $9 }'
+ nv_beta_version=96.43.13
+ nv_update_available 280.13 96.43.13
+ local itok1 itok2 itok3 stok1 stok2 stok3
++ echo 280.13
++ awk -F . '{ print $1 }'
+ itok1=280
++ echo 96.43.13
++ awk -F . '{ print $1 }'
+ stok1=96
+ '[' 0280 -lt 096 ']'
+ :
+ '[' 0280 -eq 096 ']'
+ :
+ return 1
+ read line
++ echo 'drwxrwxr-x   1     1994     1994        0 Sep 19 17:14 96.43.14'
++ gawk '$9 !~ /latest\.txt/ { print $9 }'
+ nv_beta_version=96.43.14
+ nv_update_available 280.13 96.43.14
+ local itok1 itok2 itok3 stok1 stok2 stok3
++ echo 280.13
++ awk -F . '{ print $1 }'
+ itok1=280
++ echo 96.43.14
++ awk -F . '{ print $1 }'
+ stok1=96
+ '[' 0280 -lt 096 ']'
+ :
+ '[' 0280 -eq 096 ']'
+ :
+ return 1
+ read line
++ echo 'drwxrwxr-x   1     1994     1994        0 Sep 19 17:14 96.43.16'
++ gawk '$9 !~ /latest\.txt/ { print $9 }'
+ nv_beta_version=96.43.16
+ nv_update_available 280.13 96.43.16
+ local itok1 itok2 itok3 stok1 stok2 stok3
++ echo 280.13
++ awk -F . '{ print $1 }'
+ itok1=280
++ echo 96.43.16
++ awk -F . '{ print $1 }'
+ stok1=96
+ '[' 0280 -lt 096 ']'
+ :
+ '[' 0280 -eq 096 ']'
+ :
+ return 1
+ read line
++ echo 'drwxrwxr-x   1     1994     1994        0 Sep 19 17:14 96.43.17'
++ gawk '$9 !~ /latest\.txt/ { print $9 }'
+ nv_beta_version=96.43.17
+ nv_update_available 280.13 96.43.17
+ local itok1 itok2 itok3 stok1 stok2 stok3
++ echo 280.13
++ awk -F . '{ print $1 }'
+ itok1=280
++ echo 96.43.17
++ awk -F . '{ print $1 }'
+ stok1=96
+ '[' 0280 -lt 096 ']'
+ :
+ '[' 0280 -eq 096 ']'
+ :
+ return 1
+ read line
++ echo 'drwxrwxr-x   1     1994     1994        0 Sep 19 17:14 96.43.18'
++ gawk '$9 !~ /latest\.txt/ { print $9 }'
+ nv_beta_version=96.43.18
+ nv_update_available 280.13 96.43.18
+ local itok1 itok2 itok3 stok1 stok2 stok3
++ echo 280.13
++ awk -F . '{ print $1 }'
+ itok1=280
++ echo 96.43.18
++ awk -F . '{ print $1 }'
+ stok1=96
+ '[' 0280 -lt 096 ']'
+ :
+ '[' 0280 -eq 096 ']'
+ :
+ return 1
+ read line
++ echo 'drwxrwxr-x   1     1994     1994        0 Sep 19 17:14 96.43.19'
++ gawk '$9 !~ /latest\.txt/ { print $9 }'
+ nv_beta_version=96.43.19
+ nv_update_available 280.13 96.43.19
+ local itok1 itok2 itok3 stok1 stok2 stok3
++ echo 280.13
++ awk -F . '{ print $1 }'
+ itok1=280
++ echo 96.43.19
++ awk -F . '{ print $1 }'
+ stok1=96
+ '[' 0280 -lt 096 ']'
+ :
+ '[' 0280 -eq 096 ']'
+ :
+ return 1
+ read line
++ echo 'drwxrwxr-x   1     1994     1994        0 Sep 19 17:15 96.43.20'
++ gawk '$9 !~ /latest\.txt/ { print $9 }'
+ nv_beta_version=96.43.20
+ nv_update_available 280.13 96.43.20
+ local itok1 itok2 itok3 stok1 stok2 stok3
++ echo 280.13
++ awk -F . '{ print $1 }'
+ itok1=280
++ echo 96.43.20
++ awk -F . '{ print $1 }'
+ stok1=96
+ '[' 0280 -lt 096 ']'
+ :
+ '[' 0280 -eq 096 ']'
+ :
+ return 1
+ read line
++ echo '-rw-rw-r--   1     1994     1994       45 Sep 19 15:46 latest.txt'
++ gawk '$9 !~ /latest\.txt/ { print $9 }'
+ nv_beta_version=
+ nv_update_available 280.13 ''
+ local itok1 itok2 itok3 stok1 stok2 stok3
++ echo 280.13
++ awk -F . '{ print $1 }'
+ itok1=280
++ echo
++ awk -F . '{ print $1 }'
+ stok1=
+ '[' 0280 -lt 0 ']'
+ :
+ '[' 0280 -eq 0 ']'
+ :
+ return 1
+ read line
+ nvidia_installed
+ local r=1
+ nvidiasource=distribution
+ alternatives_in_use
+ local x11_ld_so_conf nvidia_current_ld_so_conf nvidia_current_updates_ld_so_conf r=1
++ dirname /usr/lib/mesa/libGL.so.1
+ x11_ld_so_conf=/usr/lib/mesa/ld.so.conf
++ find /usr/lib -name ld.so.conf
++ grep -i 'nvidia-current[^-]'
+ nvidia_current_ld_so_conf=/usr/lib/nvidia-current/ld.so.conf
+ nvidia_current_ld_so_conf=/usr/lib/nvidia-current/ld.so.conf
++ find /usr/lib -name ld.so.conf
++ grep -i nvidia-current-updates
+ nvidia_current_updates_ld_so_conf=
+ nvidia_current_updates_ld_so_conf=
+ alternative=mesa/ld.so.conf
+ echo mesa/ld.so.conf
+ grep -qs '^mesa'
+ alternative=gl_conf
+ '[' -f /usr/lib/mesa/ld.so.conf ']'
+ '[' -f /usr/lib/nvidia-current/ld.so.conf -o -f '' ']'
+ update-alternatives --list gl_conf
+ grep -qs /usr/lib/mesa/ld.so.conf
+ update-alternatives --list gl_conf
+ grep -Eqs '/usr/lib/nvidia-current/ld.so.conf|'
+ is_installed nvidia-current
+ r=0
+ return 0
+ r=0
+ is_installed nvidia-current-updates
+ is_installed nvidia-current
++ dpkg-query -W '-f=${Version}' nvidia-current
++ awk -F - '{ print $1 }'
+ nvidiaversion=280.13
++ which nvsetup-uninstall
++ which nvidia-uninstall
+ return 0
+ notquiet -e '     - nvidia version \033[1m280.13\033[0m seems to be installed (from distribution)'
+ false
+ echo -e '     - nvidia version \033[1m280.13\033[0m seems to be installed (from distribution)'
+ return 0
+ notquiet -e '     INFO:'
+ false
+ echo -e '     INFO:'
+ return 0
+ notquiet -e '     - newest available stable driver available for download from nvidia ftp-server is \033[1m280.13\033[0m'
+ false
+ echo -e '     - newest available stable driver available for download from nvidia ftp-server is \033[1m280.13\033[0m'
+ return 0
+ nv_beta_available
+ local betadriver
++ ls -1 /tmp/tmp.bz7uZBJgvU/beta
+ echo ''
+ grep -Eqs '[[:digit:]]{2,3}\.[[:digit:]]{2,4}\.{0,1}[[:digit:]]{0,3}'
+ return 1
+ nvidia_installed
+ local r=1
+ nvidiasource=distribution
+ alternatives_in_use
+ local x11_ld_so_conf nvidia_current_ld_so_conf nvidia_current_updates_ld_so_conf r=1
++ dirname /usr/lib/mesa/libGL.so.1
+ x11_ld_so_conf=/usr/lib/mesa/ld.so.conf
++ find /usr/lib -name ld.so.conf
++ grep -i 'nvidia-current[^-]'
+ nvidia_current_ld_so_conf=/usr/lib/nvidia-current/ld.so.conf
+ nvidia_current_ld_so_conf=/usr/lib/nvidia-current/ld.so.conf
++ find /usr/lib -name ld.so.conf
++ grep -i nvidia-current-updates
+ nvidia_current_updates_ld_so_conf=
+ nvidia_current_updates_ld_so_conf=
+ alternative=mesa/ld.so.conf
+ echo mesa/ld.so.conf
+ grep -qs '^mesa'
+ alternative=gl_conf
+ '[' -f /usr/lib/mesa/ld.so.conf ']'
+ '[' -f /usr/lib/nvidia-current/ld.so.conf -o -f '' ']'
+ update-alternatives --list gl_conf
+ grep -qs /usr/lib/mesa/ld.so.conf
+ update-alternatives --list gl_conf
+ grep -Eqs '/usr/lib/nvidia-current/ld.so.conf|'
+ is_installed nvidia-current
+ r=0
+ return 0
+ r=0
+ is_installed nvidia-current-updates
+ is_installed nvidia-current
++ dpkg-query -W '-f=${Version}' nvidia-current
++ awk -F - '{ print $1 }'
+ nvidiaversion=280.13
++ which nvsetup-uninstall
++ which nvidia-uninstall
+ return 0
+ ask '       Modify nvidia-driver installation' no
+ local answer= yes= no=
+ '[' -z '' ']'
+ yes='[y]es'
+ '[' -z '' ']'
+ no='[n]o'
+ :
+ false
+ lastline='       Modify nvidia-driver installation'
++ echo '       Modify nvidia-driver installation'
++ sed 's/\\033\[[012]\{1\}m//g'
+ lastline='       Modify nvidia-driver installation'
++ expr 40 + 5 + 4 + 2
+ '[' 51 -gt 65 ']'
+ newline=' '
+ echo -en '       Modify nvidia-driver installation? ([y]es or [n]o) [\033[1mno\033[0m]: '
+ read answer
++ tolower n
++ echo n
++ tr '[:upper:]' '[:lower:]'
+ answer=n
+++ flat '[y]es'
+++ echo '[y]es'
+++ sed -e 's/\[//' -e 's/\]//'
++ tolower yes
++ echo yes
++ tr '[:upper:]' '[:lower:]'
+++ abrv '[y]es'
+++ sed -e 's/.*\[//' -e 's/\].*//'
+++ echo '[y]es'
++ tolower y
++ echo y
++ tr '[:upper:]' '[:lower:]'
+ '[' n = yes -o n = y ']'
+++ flat '[n]o'
+++ echo '[n]o'
+++ sed -e 's/\[//' -e 's/\]//'
++ tolower no
++ echo no
++ tr '[:upper:]' '[:lower:]'
+++ abrv '[n]o'
+++ sed -e 's/.*\[//' -e 's/\].*//'
+++ echo '[n]o'
++ tolower n
++ echo n
++ tr '[:upper:]' '[:lower:]'
+ '[' n = no -o n = n ']'
+ return 1
+ return 0
+ nvidia_installed
+ local r=1
+ nvidiasource=distribution
+ alternatives_in_use
+ local x11_ld_so_conf nvidia_current_ld_so_conf nvidia_current_updates_ld_so_conf r=1
++ dirname /usr/lib/mesa/libGL.so.1
+ x11_ld_so_conf=/usr/lib/mesa/ld.so.conf
++ grep -i 'nvidia-current[^-]'
++ find /usr/lib -name ld.so.conf
+ nvidia_current_ld_so_conf=/usr/lib/nvidia-current/ld.so.conf
+ nvidia_current_ld_so_conf=/usr/lib/nvidia-current/ld.so.conf
++ grep -i nvidia-current-updates
++ find /usr/lib -name ld.so.conf
+ nvidia_current_updates_ld_so_conf=
+ nvidia_current_updates_ld_so_conf=
+ alternative=mesa/ld.so.conf
+ echo mesa/ld.so.conf
+ grep -qs '^mesa'
+ alternative=gl_conf
+ '[' -f /usr/lib/mesa/ld.so.conf ']'
+ '[' -f /usr/lib/nvidia-current/ld.so.conf -o -f '' ']'
+ update-alternatives --list gl_conf
+ grep -qs /usr/lib/mesa/ld.so.conf
+ update-alternatives --list gl_conf
+ grep -Eqs '/usr/lib/nvidia-current/ld.so.conf|'
+ is_installed nvidia-current
+ r=0
+ return 0
+ r=0
+ is_installed nvidia-current-updates
+ is_installed nvidia-current
++ dpkg-query -W '-f=${Version}' nvidia-current
++ awk -F - '{ print $1 }'
+ nvidiaversion=280.13
++ which nvsetup-uninstall
++ which nvidia-uninstall
+ return 0
+ check_xorg_nvidia
+ local xorg_ok=false
+ '[' -f /etc/X11/xorg.conf.NVIDIA ']'
+ xorgNVIDIA=/etc/X11/xorg.conf.NVIDIA
+ '[' -n /etc/X11/xorg.conf.NVIDIA ']'
+ grep -A 4 '^Section[[:space:]]*"Device"' /etc/X11/xorg.conf.NVIDIA
+ grep -qs '^[[:space:]]*Driver[[:space:]]*"nvidia"'
+ xorg_ok=:
+ '[' -n /etc/X11/xorg.conf.NVIDIA ']'
+ grep -qs '# nvidia-xconfig: X configuration file generated by nvidia-xconfig' /etc/X11/xorg.conf.NVIDIA
+ xorg_ok=:
+ :
+ :
+ :
+ notquiet
+ false
+ echo '' ''
+ return 0
+ nvidia_logo
+ grep -qs '^[[:space:]]*Option[[:space:]]*"NoLogo"[[:space:]]*"True"' /etc/X11/xorg.conf.NVIDIA
+ nologo=false
+ false
+ ask '     - nVidia StartLogo is currently visible. Hide' no
+ local answer= yes= no=
+ '[' -z '' ']'
+ yes='[y]es'
+ '[' -z '' ']'
+ no='[n]o'
+ :
+ false
+ lastline='     - nVidia StartLogo is currently visible. Hide'
++ echo '     - nVidia StartLogo is currently visible. Hide'
++ sed 's/\\033\[[012]\{1\}m//g'
+ lastline='     - nVidia StartLogo is currently visible. Hide'
++ expr 50 + 5 + 4 + 2
+ '[' 61 -gt 65 ']'
+ newline=' '
+ echo -en '     - nVidia StartLogo is currently visible. Hide? ([y]es or [n]o) [\033[1mno\033[0m]: '
+ read answer
++ tolower n
++ echo n
++ tr '[:upper:]' '[:lower:]'
+ answer=n
+++ flat '[y]es'
+++ echo '[y]es'
+++ sed -e 's/\[//' -e 's/\]//'
++ tolower yes
++ echo yes
++ tr '[:upper:]' '[:lower:]'
+++ abrv '[y]es'
+++ sed -e 's/.*\[//' -e 's/\].*//'
+++ echo '[y]es'
++ tolower y
++ echo y
++ tr '[:upper:]' '[:lower:]'
+ '[' n = yes -o n = y ']'
+++ flat '[n]o'
+++ sed -e 's/\[//' -e 's/\]//'
+++ echo '[n]o'
++ tolower no
++ echo no
++ tr '[:upper:]' '[:lower:]'
+++ abrv '[n]o'
+++ echo '[n]o'
+++ sed -e 's/.*\[//' -e 's/\].*//'
++ tolower n
++ tr '[:upper:]' '[:lower:]'
++ echo n
+ '[' n = no -o n = n ']'
+ return 1
+ :
+ debs install nvclock
+ local deb action=install
+ shift
+ for deb in '$@'
+ eval install_deb nvclock
++ install_deb nvclock
++ local deb=nvclock
++ is_installed nvclock
++ is_installed nvclock
+ check_update acpi_create_nv_event 'tiki-download_file.php?fileId=1' /usr/share/sony-laptop /usr/local/bin
+ tmp_upd_new=
+ upd=acpi_create_nv_event
+ server_upd='tiki-download_file.php?fileId=1'
+ localdir=/usr/share/sony-laptop
+ symlinkdir=/usr/local/bin
+ r=1
+ defaultchanged=false
+ mkdir -p /usr/share/sony-laptop
+ notquiet -e '\n    check the version of "\033[1m/usr/share/sony-laptop/acpi_create_nv_event\033[0m"'
+ false
+ echo -e '\n    check the version of "\033[1m/usr/share/sony-laptop/acpi_create_nv_event\033[0m"'
+ return 0
+ is_host_online global-social.net
+ local host=global-social.net r=1
+ ping -qc 1 global-social.net
+ r=0
+ return 0
+ '[' -f /tmp/tmp.w7d1qRy1tu/11-09-20_02:14:50-sohrab@xxxxxxxxxxxxxxxxx ']'
+ load_cookie='--load-cookies /tmp/tmp.w7d1qRy1tu/11-09-20_02:14:50-sohrab@xxxxxxxxxxxxxxxxx'
++ mktemp -d
+ wget -P /tmp/tmp.aSRLEFOE5S --load-cookies /tmp/tmp.w7d1qRy1tu/11-09-20_02:14:50-sohrab@xxxxxxxxxxxxxxxxx -U 'sony-VGN-Zseries-janitor (http://global-social.net/sony-VGN-Z#janitor) 2.6.38-11-generic #48-Ubuntu SMP Fri Jul 29 19:02:55 UTC 2011 x86_64 Ubuntu/11.04 (natty) VGN-Z620N R4044M3' 'http://global-social.net/tiki-download_file.php?fileId=1'
+ '[' -f /usr/share/sony-laptop/acpi_create_nv_event ']'
++ unparsed_date_from /usr/share/sony-laptop/acpi_create_nv_event
++ awk '/^# Last changes:/ { print $4 "_" $5 }' /usr/share/sony-laptop/acpi_create_nv_event
+ installed_version 12.12.2009_02:03
+ notquiet -e '     - installed version: "\033[1m12.12.2009_02:03\033[0m"'
+ false
+ echo -e '     - installed version: "\033[1m12.12.2009_02:03\033[0m"'
+ return 0
++ unparsed_date_from '/tmp/tmp.aSRLEFOE5S/tiki-download_file.php?fileId=1'
++ awk '/^# Last changes:/ { print $4 "_" $5 }' '/tmp/tmp.aSRLEFOE5S/tiki-download_file.php?fileId=1'
+ available_version 12.12.2009_02:03
+ notquiet -e '     - available version: "\033[1m12.12.2009_02:03\033[0m"'
+ false
+ echo -e '     - available version: "\033[1m12.12.2009_02:03\033[0m"'
+ return 0
++ date_from /usr/share/sony-laptop/acpi_create_nv_event
++ local from=/usr/share/sony-laptop/acpi_create_nv_event d t
++++ awk '/^# Last changes:/ { print $4 }' /usr/share/sony-laptop/acpi_create_nv_event
+++ sort_date_tokens 12.12.2009
+++ echo 12.12.2009
+++ awk 'BEGIN { FS="[-|/|.|:]"; fmt = "%04d%02d%02d\n" }
        length($1) == 4 { printf(fmt,$1,$2,$3) }
        length($3) == 4 { printf(fmt,$3,$2,$1) }'
++ d=20091212
+++ awk '/^# Last changes:/ { gsub(":", "", $5); print $5 }' /usr/share/sony-laptop/acpi_create_nv_event
++ t=0203
++ echo 200912120203
++ date_from '/tmp/tmp.aSRLEFOE5S/tiki-download_file.php?fileId=1'
++ local 'from=/tmp/tmp.aSRLEFOE5S/tiki-download_file.php?fileId=1' d t
++++ awk '/^# Last changes:/ { print $4 }' '/tmp/tmp.aSRLEFOE5S/tiki-download_file.php?fileId=1'
+++ sort_date_tokens 12.12.2009
+++ echo 12.12.2009
+++ awk 'BEGIN { FS="[-|/|.|:]"; fmt = "%04d%02d%02d\n" }
        length($1) == 4 { printf(fmt,$1,$2,$3) }
        length($3) == 4 { printf(fmt,$3,$2,$1) }'
++ d=20091212
+++ awk '/^# Last changes:/ { gsub(":", "", $5); print $5 }' '/tmp/tmp.aSRLEFOE5S/tiki-download_file.php?fileId=1'
++ t=0203
++ echo 200912120203
+ '[' 0200912120203 -eq 0200912120203 ']'
+ is_newest_version 'acpi_create_nv_event script'
+ notquiet -n '       newest version of the '
+ false
+ echo -n '       newest version of the '
+ return 0
+ '[' 27 -gt 48 ']'
+ notquiet -en '\033[1macpi_create_nv_event script\033[0m'
+ false
+ echo -en '\033[1macpi_create_nv_event script\033[0m'
+ return 0
+ '[' 27 -lt 48 -a 27 -gt 29 ']'
+ '[' 27 -gt 50 ']'
+ notquiet ' already installed.'
+ false
+ echo ' already installed.' ''
+ return 0
++ date_from /usr/share/sony-laptop/acpi_create_nv_event
++ local from=/usr/share/sony-laptop/acpi_create_nv_event d t
++++ awk '/^# Last changes:/ { print $4 }' /usr/share/sony-laptop/acpi_create_nv_event
+++ sort_date_tokens 12.12.2009
+++ echo 12.12.2009
+++ awk 'BEGIN { FS="[-|/|.|:]"; fmt = "%04d%02d%02d\n" }
        length($1) == 4 { printf(fmt,$1,$2,$3) }
        length($3) == 4 { printf(fmt,$3,$2,$1) }'
++ d=20091212
+++ awk '/^# Last changes:/ { gsub(":", "", $5); print $5 }' /usr/share/sony-laptop/acpi_create_nv_event
++ t=0203
++ echo 200912120203
++ date_from '/tmp/tmp.aSRLEFOE5S/tiki-download_file.php?fileId=1'
++ local 'from=/tmp/tmp.aSRLEFOE5S/tiki-download_file.php?fileId=1' d t
++++ awk '/^# Last changes:/ { print $4 }' '/tmp/tmp.aSRLEFOE5S/tiki-download_file.php?fileId=1'
+++ sort_date_tokens 12.12.2009
+++ echo 12.12.2009
+++ awk 'BEGIN { FS="[-|/|.|:]"; fmt = "%04d%02d%02d\n" }
        length($1) == 4 { printf(fmt,$1,$2,$3) }
        length($3) == 4 { printf(fmt,$3,$2,$1) }'
++ d=20091212
+++ awk '/^# Last changes:/ { gsub(":", "", $5); print $5 }' '/tmp/tmp.aSRLEFOE5S/tiki-download_file.php?fileId=1'
++ t=0203
++ echo 200912120203
+ '[' 0200912120203 -lt 0200912120203 ']'
+ remove /tmp/tmp.aSRLEFOE5S
+ '[' -L /tmp/tmp.aSRLEFOE5S ']'
+ '[' -f /tmp/tmp.aSRLEFOE5S ']'
+ '[' -d /tmp/tmp.aSRLEFOE5S ']'
+ rm -fr /tmp/tmp.aSRLEFOE5S
+ false
+ return 0
+ '[' -f /usr/share/sony-laptop/acpi_create_nv_event ']'
++ awk '{ print $1 }'
++ ls -o /usr/share/sony-laptop/acpi_create_nv_event
+ [[ -rwxr--r-- == -rwxr--r-- ]]
+ '[' -d /usr/local/bin ']'
+ '[' -h /usr/local/bin/acpi_create_nv_event ']'
+ return 1
+ '[' 3 -eq 2 ']'
+ remove /tmp/tmp.w7d1qRy1tu/
+ '[' -L /tmp/tmp.w7d1qRy1tu/ ']'
+ '[' -f /tmp/tmp.w7d1qRy1tu/ ']'
+ '[' -d /tmp/tmp.w7d1qRy1tu/ ']'
+ rm -fr /tmp/tmp.w7d1qRy1tu/
+ false
+ return 0
+ nvidia_installed
+ local r=1
+ nvidiasource=distribution
+ alternatives_in_use
+ local x11_ld_so_conf nvidia_current_ld_so_conf nvidia_current_updates_ld_so_conf r=1
++ dirname /usr/lib/mesa/libGL.so.1
+ x11_ld_so_conf=/usr/lib/mesa/ld.so.conf
++ find /usr/lib -name ld.so.conf
++ grep -i 'nvidia-current[^-]'
+ nvidia_current_ld_so_conf=/usr/lib/nvidia-current/ld.so.conf
+ nvidia_current_ld_so_conf=/usr/lib/nvidia-current/ld.so.conf
++ find /usr/lib -name ld.so.conf
++ grep -i nvidia-current-updates
+ nvidia_current_updates_ld_so_conf=
+ nvidia_current_updates_ld_so_conf=
+ alternative=mesa/ld.so.conf
+ echo mesa/ld.so.conf
+ grep -qs '^mesa'
+ alternative=gl_conf
+ '[' -f /usr/lib/mesa/ld.so.conf ']'
+ '[' -f /usr/lib/nvidia-current/ld.so.conf -o -f '' ']'
+ update-alternatives --list gl_conf
+ grep -qs /usr/lib/mesa/ld.so.conf
+ update-alternatives --list gl_conf
+ grep -Eqs '/usr/lib/nvidia-current/ld.so.conf|'
+ is_installed nvidia-current
+ r=0
+ return 0
+ r=0
+ is_installed nvidia-current-updates
+ is_installed nvidia-current
++ dpkg-query -W '-f=${Version}' nvidia-current
++ awk -F - '{ print $1 }'
+ nvidiaversion=280.13
++ which nvsetup-uninstall
++ which nvidia-uninstall
+ return 0
+ make_inventory
+ local package list au=false nd=false
+ for package in '$packages'
+ check_installed_version xserver-xorg-core
+ local package=xserver-xorg-core installed available
+ notquiet -e '\n    checking installed version of "\033[1mxserver-xorg-core\033[0m":'
+ false
+ echo -e '\n    checking installed version of "\033[1mxserver-xorg-core\033[0m":'
+ return 0
++ apt-cache policy xserver-xorg-core
++ awk 'BEGIN { RS=""; FS="\n" } { sub (/.* /, "", $2); print $2 }'
+ installed=2:1.10.1-1ubuntu1.2
++ apt-cache policy xserver-xorg-core
++ awk 'BEGIN { RS=""; FS="\n" } { sub (/.* /, "", $3); print $3 }'
+ available=2:1.10.1-1ubuntu1.2
+ installed_version 2:1.10.1-1ubuntu1.2
+ notquiet -e '     - installed version: "\033[1m2:1.10.1-1ubuntu1.2\033[0m"'
+ false
+ echo -e '     - installed version: "\033[1m2:1.10.1-1ubuntu1.2\033[0m"'
+ return 0
+ available_version 2:1.10.1-1ubuntu1.2
+ notquiet -e '     - available version: "\033[1m2:1.10.1-1ubuntu1.2\033[0m"'
+ false
+ echo -e '     - available version: "\033[1m2:1.10.1-1ubuntu1.2\033[0m"'
+ return 0
+ '[' 2:1.10.1-1ubuntu1.2 = 2:1.10.1-1ubuntu1.2 ']'
+ is_newest_version xserver-xorg-core
+ notquiet -n '       newest version of the '
+ false
+ echo -n '       newest version of the '
+ return 0
+ '[' 17 -gt 48 ']'
+ notquiet -en '\033[1mxserver-xorg-core\033[0m'
+ false
+ echo -en '\033[1mxserver-xorg-core\033[0m'
+ return 0
+ '[' 17 -lt 48 -a 17 -gt 29 ']'
+ '[' 17 -gt 50 ']'
+ notquiet ' already installed.'
+ false
+ echo ' already installed.' ''
+ return 0
+ grep -qs xserver-xorg-core_2:1.10.1-1ubuntu1.2
+++ find_highest_version xserver-xorg-core
+++ grep xserver-xorg-core_
+++ awk 'BEGIN { RS=""; FS="\n" } { print $NF }'
+++ ls /var/cache/apt/archives/
++ ls /var/cache/apt/archives/
+ urldecode lock partial thunderbird_6.0.2+build2+nobinonly-0ubuntu0.11.04.1~mts1_amd64.deb thunderbird-globalmenu_6.0.2+build2+nobinonly-0ubuntu0.11.04.1~mts1_amd64.deb thunderbird-gnome-support_6.0.2+build2+nobinonly-0ubuntu0.11.04.1~mts1_amd64.deb
+ echo lock
+ sed -e 's/%20/ /g' -e 's/%21/!/g' -e 's/%22/"/g' -e s/%23/#/g -e 's/%24/$/g' -e s/%25/%/g -e 's/%26/&/g' -e 's/%28/(/g' -e 's/%29/)/g' -e 's/%2a/*/g' -e s/%2b/+/g -e s/%2c/,/g -e s/%2d/-/g -e s/%2e/./g -e s/%3a/:/g -e 's/%3b/;/g' -e 's/%3c/</g' -e s/%3d/=/g -e 's/%3e/>/g' -e 's/%3f/?/g' -e s/%40/@/g -e 's/%5e/^/g' -e s/%5f/_/g -e 's/%7b/{/g' -e 's/%7c/|/g' -e 's/%7d/}/g' -e s/%7e/~/g
+ false
+ myecho '        - but package not found in apt-cache, marked package as "needed to download".'
+ false
+ return 0
+ needed_to_download=' xserver-xorg-core'
+ for package in '$packages'
+ check_installed_version libgl1-mesa-glx
+ local package=libgl1-mesa-glx installed available
+ notquiet -e '\n    checking installed version of "\033[1mlibgl1-mesa-glx\033[0m":'
+ false
+ echo -e '\n    checking installed version of "\033[1mlibgl1-mesa-glx\033[0m":'
+ return 0
++ apt-cache policy libgl1-mesa-glx
++ awk 'BEGIN { RS=""; FS="\n" } { sub (/.* /, "", $2); print $2 }'
+ installed=7.10.2-0ubuntu2
++ awk 'BEGIN { RS=""; FS="\n" } { sub (/.* /, "", $3); print $3 }'
++ apt-cache policy libgl1-mesa-glx
+ available=7.10.2-0ubuntu2
+ installed_version 7.10.2-0ubuntu2
+ notquiet -e '     - installed version: "\033[1m7.10.2-0ubuntu2\033[0m"'
+ false
+ echo -e '     - installed version: "\033[1m7.10.2-0ubuntu2\033[0m"'
+ return 0
+ available_version 7.10.2-0ubuntu2
+ notquiet -e '     - available version: "\033[1m7.10.2-0ubuntu2\033[0m"'
+ false
+ echo -e '     - available version: "\033[1m7.10.2-0ubuntu2\033[0m"'
+ return 0
+ '[' 7.10.2-0ubuntu2 = 7.10.2-0ubuntu2 ']'
+ is_newest_version libgl1-mesa-glx
+ notquiet -n '       newest version of the '
+ false
+ echo -n '       newest version of the '
+ return 0
+ '[' 15 -gt 48 ']'
+ notquiet -en '\033[1mlibgl1-mesa-glx\033[0m'
+ false
+ echo -en '\033[1mlibgl1-mesa-glx\033[0m'
+ return 0
+ '[' 15 -lt 48 -a 15 -gt 29 ']'
+ '[' 15 -gt 50 ']'
+ notquiet ' already installed.'
+ false
+ echo ' already installed.' ''
+ return 0
+ grep -qs libgl1-mesa-glx_7.10.2-0ubuntu2
+++ find_highest_version libgl1-mesa-glx
+++ ls /var/cache/apt/archives/
+++ awk 'BEGIN { RS=""; FS="\n" } { print $NF }'
+++ grep libgl1-mesa-glx_
++ ls /var/cache/apt/archives/
+ urldecode lock partial thunderbird_6.0.2+build2+nobinonly-0ubuntu0.11.04.1~mts1_amd64.deb thunderbird-globalmenu_6.0.2+build2+nobinonly-0ubuntu0.11.04.1~mts1_amd64.deb thunderbird-gnome-support_6.0.2+build2+nobinonly-0ubuntu0.11.04.1~mts1_amd64.deb
+ echo lock
+ sed -e 's/%20/ /g' -e 's/%21/!/g' -e 's/%22/"/g' -e s/%23/#/g -e 's/%24/$/g' -e s/%25/%/g -e 's/%26/&/g' -e 's/%28/(/g' -e 's/%29/)/g' -e 's/%2a/*/g' -e s/%2b/+/g -e s/%2c/,/g -e s/%2d/-/g -e s/%2e/./g -e s/%3a/:/g -e 's/%3b/;/g' -e 's/%3c/</g' -e s/%3d/=/g -e 's/%3e/>/g' -e 's/%3f/?/g' -e s/%40/@/g -e 's/%5e/^/g' -e s/%5f/_/g -e 's/%7b/{/g' -e 's/%7c/|/g' -e 's/%7d/}/g' -e s/%7e/~/g
+ false
+ myecho '        - but package not found in apt-cache, marked package as "needed to download".'
+ false
+ return 0
+ needed_to_download=' xserver-xorg-core libgl1-mesa-glx'
+ for package in '$packages'
+ check_installed_version libgl1-mesa-dev
+ local package=libgl1-mesa-dev installed available
+ notquiet -e '\n    checking installed version of "\033[1mlibgl1-mesa-dev\033[0m":'
+ false
+ echo -e '\n    checking installed version of "\033[1mlibgl1-mesa-dev\033[0m":'
+ return 0
++ apt-cache policy libgl1-mesa-dev
++ awk 'BEGIN { RS=""; FS="\n" } { sub (/.* /, "", $2); print $2 }'
+ installed=7.10.2-0ubuntu2
++ apt-cache policy libgl1-mesa-dev
++ awk 'BEGIN { RS=""; FS="\n" } { sub (/.* /, "", $3); print $3 }'
+ available=7.10.2-0ubuntu2
+ installed_version 7.10.2-0ubuntu2
+ notquiet -e '     - installed version: "\033[1m7.10.2-0ubuntu2\033[0m"'
+ false
+ echo -e '     - installed version: "\033[1m7.10.2-0ubuntu2\033[0m"'
+ return 0
+ available_version 7.10.2-0ubuntu2
+ notquiet -e '     - available version: "\033[1m7.10.2-0ubuntu2\033[0m"'
+ false
+ echo -e '     - available version: "\033[1m7.10.2-0ubuntu2\033[0m"'
+ return 0
+ '[' 7.10.2-0ubuntu2 = 7.10.2-0ubuntu2 ']'
+ is_newest_version libgl1-mesa-dev
+ notquiet -n '       newest version of the '
+ false
+ echo -n '       newest version of the '
+ return 0
+ '[' 15 -gt 48 ']'
+ notquiet -en '\033[1mlibgl1-mesa-dev\033[0m'
+ false
+ echo -en '\033[1mlibgl1-mesa-dev\033[0m'
+ return 0
+ '[' 15 -lt 48 -a 15 -gt 29 ']'
+ '[' 15 -gt 50 ']'
+ notquiet ' already installed.'
+ false
+ echo ' already installed.' ''
+ return 0
+ grep -qs libgl1-mesa-dev_7.10.2-0ubuntu2
+++ find_highest_version libgl1-mesa-dev
+++ ls /var/cache/apt/archives/
+++ awk 'BEGIN { RS=""; FS="\n" } { print $NF }'
+++ grep libgl1-mesa-dev_
++ ls /var/cache/apt/archives/
+ urldecode lock partial thunderbird_6.0.2+build2+nobinonly-0ubuntu0.11.04.1~mts1_amd64.deb thunderbird-globalmenu_6.0.2+build2+nobinonly-0ubuntu0.11.04.1~mts1_amd64.deb thunderbird-gnome-support_6.0.2+build2+nobinonly-0ubuntu0.11.04.1~mts1_amd64.deb
+ sed -e 's/%20/ /g' -e 's/%21/!/g' -e 's/%22/"/g' -e s/%23/#/g -e 's/%24/$/g' -e s/%25/%/g -e 's/%26/&/g' -e 's/%28/(/g' -e 's/%29/)/g' -e 's/%2a/*/g' -e s/%2b/+/g -e s/%2c/,/g -e s/%2d/-/g -e s/%2e/./g -e s/%3a/:/g -e 's/%3b/;/g' -e 's/%3c/</g' -e s/%3d/=/g -e 's/%3e/>/g' -e 's/%3f/?/g' -e s/%40/@/g -e 's/%5e/^/g' -e s/%5f/_/g -e 's/%7b/{/g' -e 's/%7c/|/g' -e 's/%7d/}/g' -e s/%7e/~/g
+ echo lock
+ false
+ myecho '        - but package not found in apt-cache, marked package as "needed to download".'
+ false
+ return 0
+ needed_to_download=' xserver-xorg-core libgl1-mesa-glx libgl1-mesa-dev'
+ for package in '$packages'
+ check_installed_version mesa-common-dev
+ local package=mesa-common-dev installed available
+ notquiet -e '\n    checking installed version of "\033[1mmesa-common-dev\033[0m":'
+ false
+ echo -e '\n    checking installed version of "\033[1mmesa-common-dev\033[0m":'
+ return 0
++ awk 'BEGIN { RS=""; FS="\n" } { sub (/.* /, "", $2); print $2 }'
++ apt-cache policy mesa-common-dev
+ installed=7.10.2-0ubuntu2
++ awk 'BEGIN { RS=""; FS="\n" } { sub (/.* /, "", $3); print $3 }'
++ apt-cache policy mesa-common-dev
+ available=7.10.2-0ubuntu2
+ installed_version 7.10.2-0ubuntu2
+ notquiet -e '     - installed version: "\033[1m7.10.2-0ubuntu2\033[0m"'
+ false
+ echo -e '     - installed version: "\033[1m7.10.2-0ubuntu2\033[0m"'
+ return 0
+ available_version 7.10.2-0ubuntu2
+ notquiet -e '     - available version: "\033[1m7.10.2-0ubuntu2\033[0m"'
+ false
+ echo -e '     - available version: "\033[1m7.10.2-0ubuntu2\033[0m"'
+ return 0
+ '[' 7.10.2-0ubuntu2 = 7.10.2-0ubuntu2 ']'
+ is_newest_version mesa-common-dev
+ notquiet -n '       newest version of the '
+ false
+ echo -n '       newest version of the '
+ return 0
+ '[' 15 -gt 48 ']'
+ notquiet -en '\033[1mmesa-common-dev\033[0m'
+ false
+ echo -en '\033[1mmesa-common-dev\033[0m'
+ return 0
+ '[' 15 -lt 48 -a 15 -gt 29 ']'
+ '[' 15 -gt 50 ']'
+ notquiet ' already installed.'
+ false
+ echo ' already installed.' ''
+ return 0
+ grep -qs mesa-common-dev_7.10.2-0ubuntu2
+++ find_highest_version mesa-common-dev
+++ grep mesa-common-dev_
+++ awk 'BEGIN { RS=""; FS="\n" } { print $NF }'
+++ ls /var/cache/apt/archives/
++ ls /var/cache/apt/archives/
+ urldecode lock partial thunderbird_6.0.2+build2+nobinonly-0ubuntu0.11.04.1~mts1_amd64.deb thunderbird-globalmenu_6.0.2+build2+nobinonly-0ubuntu0.11.04.1~mts1_amd64.deb thunderbird-gnome-support_6.0.2+build2+nobinonly-0ubuntu0.11.04.1~mts1_amd64.deb
+ echo lock
+ sed -e 's/%20/ /g' -e 's/%21/!/g' -e 's/%22/"/g' -e s/%23/#/g -e 's/%24/$/g' -e s/%25/%/g -e 's/%26/&/g' -e 's/%28/(/g' -e 's/%29/)/g' -e 's/%2a/*/g' -e s/%2b/+/g -e s/%2c/,/g -e s/%2d/-/g -e s/%2e/./g -e s/%3a/:/g -e 's/%3b/;/g' -e 's/%3c/</g' -e s/%3d/=/g -e 's/%3e/>/g' -e 's/%3f/?/g' -e s/%40/@/g -e 's/%5e/^/g' -e s/%5f/_/g -e 's/%7b/{/g' -e 's/%7c/|/g' -e 's/%7d/}/g' -e s/%7e/~/g
+ false
+ myecho '        - but package not found in apt-cache, marked package as "needed to download".'
+ false
+ return 0
+ needed_to_download=' xserver-xorg-core libgl1-mesa-glx libgl1-mesa-dev mesa-common-dev'
+ for package in '$packages'
+ check_installed_version ia32-libs
+ local package=ia32-libs installed available
+ notquiet -e '\n    checking installed version of "\033[1mia32-libs\033[0m":'
+ false
+ echo -e '\n    checking installed version of "\033[1mia32-libs\033[0m":'
+ return 0
++ awk 'BEGIN { RS=""; FS="\n" } { sub (/.* /, "", $2); print $2 }'
++ apt-cache policy ia32-libs
+ installed=20090808ubuntu13
++ apt-cache policy ia32-libs
++ awk 'BEGIN { RS=""; FS="\n" } { sub (/.* /, "", $3); print $3 }'
+ available=20090808ubuntu13
+ installed_version 20090808ubuntu13
+ notquiet -e '     - installed version: "\033[1m20090808ubuntu13\033[0m"'
+ false
+ echo -e '     - installed version: "\033[1m20090808ubuntu13\033[0m"'
+ return 0
+ available_version 20090808ubuntu13
+ notquiet -e '     - available version: "\033[1m20090808ubuntu13\033[0m"'
+ false
+ echo -e '     - available version: "\033[1m20090808ubuntu13\033[0m"'
+ return 0
+ '[' 20090808ubuntu13 = 20090808ubuntu13 ']'
+ is_newest_version ia32-libs
+ notquiet -n '       newest version of the '
+ false
+ echo -n '       newest version of the '
+ return 0
+ '[' 9 -gt 48 ']'
+ notquiet -en '\033[1mia32-libs\033[0m'
+ false
+ echo -en '\033[1mia32-libs\033[0m'
+ return 0
+ '[' 9 -lt 48 -a 9 -gt 29 ']'
+ '[' 9 -gt 50 ']'
+ notquiet ' already installed.'
+ false
+ echo ' already installed.' ''
+ return 0
+ grep -qs ia32-libs_20090808ubuntu13
+++ find_highest_version ia32-libs
+++ ls /var/cache/apt/archives/
+++ grep ia32-libs_
+++ awk 'BEGIN { RS=""; FS="\n" } { print $NF }'
++ ls /var/cache/apt/archives/
+ urldecode lock partial thunderbird_6.0.2+build2+nobinonly-0ubuntu0.11.04.1~mts1_amd64.deb thunderbird-globalmenu_6.0.2+build2+nobinonly-0ubuntu0.11.04.1~mts1_amd64.deb thunderbird-gnome-support_6.0.2+build2+nobinonly-0ubuntu0.11.04.1~mts1_amd64.deb
+ echo lock
+ sed -e 's/%20/ /g' -e 's/%21/!/g' -e 's/%22/"/g' -e s/%23/#/g -e 's/%24/$/g' -e s/%25/%/g -e 's/%26/&/g' -e 's/%28/(/g' -e 's/%29/)/g' -e 's/%2a/*/g' -e s/%2b/+/g -e s/%2c/,/g -e s/%2d/-/g -e s/%2e/./g -e s/%3a/:/g -e 's/%3b/;/g' -e 's/%3c/</g' -e s/%3d/=/g -e 's/%3e/>/g' -e 's/%3f/?/g' -e s/%40/@/g -e 's/%5e/^/g' -e s/%5f/_/g -e 's/%7b/{/g' -e 's/%7c/|/g' -e 's/%7d/}/g' -e s/%7e/~/g
+ false
+ myecho '        - but package not found in apt-cache, marked package as "needed to download".'
+ false
+ return 0
+ needed_to_download=' xserver-xorg-core libgl1-mesa-glx libgl1-mesa-dev mesa-common-dev ia32-libs'
+ for list in available_updates needed_to_download
+ eval 'available_updates="`echo' '$available_updates' '|' sed ''\''s/^[[:space:]]*//'\''`"'
+++ echo
+++ sed 's/^[[:space:]]*//'
++ available_updates=
+ for list in available_updates needed_to_download
+ eval 'needed_to_download="`echo' '$needed_to_download' '|' sed ''\''s/^[[:space:]]*//'\''`"'
+++ echo xserver-xorg-core libgl1-mesa-glx libgl1-mesa-dev mesa-common-dev ia32-libs
+++ sed 's/^[[:space:]]*//'
++ needed_to_download='xserver-xorg-core libgl1-mesa-glx libgl1-mesa-dev mesa-common-dev ia32-libs'
+ '[' -z '' ']'
+ '[' -z 'xserver-xorg-core libgl1-mesa-glx libgl1-mesa-dev mesa-common-dev ia32-libs' ']'
+ nd=:
+ false
+ notquiet -n '       No updates available'
+ false
+ echo -n '       No updates available'
+ return 0
+ false
+ :
+ false
+ notquiet
+ false
+ echo '' ''
+ return 0
+ :
+ notquiet -e '\n       downloading packages "xserver-xorg-core libgl1-mesa-glx libgl1-mesa-dev mesa-common-dev ia32-libs" into the apt-cache'
+ false
+ echo -e '\n       downloading packages "xserver-xorg-core libgl1-mesa-glx libgl1-mesa-dev mesa-common-dev ia32-libs" into the apt-cache'
+ return 0
+ do_aptget '--download-only --reinstall install' 'xserver-xorg-core libgl1-mesa-glx libgl1-mesa-dev mesa-common-dev ia32-libs'
+ local 'inst=--download-only --reinstall install' 'available_updates=xserver-xorg-core libgl1-mesa-glx libgl1-mesa-dev mesa-common-dev ia32-libs'
+ myecho -en '        -\033[2m apt-get -qq --download-only --reinstall install xserver-xorg-core libgl1-mesa-glx libgl1-mesa-dev mesa-common-dev ia32-libs\033[0m ...'
+ false
+ return 0
++ mktemp
++ mktemp
+ local diemsg=/tmp/tmp.TqcEIkq0D1 tmpjob=/tmp/tmp.cXT6cOC2oG 'actionstring=apt-get -qq --download-only --reinstall install xserver-xorg-core libgl1-mesa-glx libgl1-mesa-dev mesa-common-dev ia32-libs'
+ run_progressindicator /tmp/tmp.cXT6cOC2oG
+ eval apt-get -qq --download-only --reinstall install xserver-xorg-core libgl1-mesa-glx libgl1-mesa-dev mesa-common-dev ia32-libs
+ set +x
+ grep -qs 'Exit[[:space:]][[:digit:]]' /tmp/tmp.cXT6cOC2oG
+ myecho ' finished'
+ false
+ return 0
+ remove /tmp/tmp.cXT6cOC2oG
+ '[' -L /tmp/tmp.cXT6cOC2oG ']'
+ '[' -f /tmp/tmp.cXT6cOC2oG ']'
+ rm -f /tmp/tmp.cXT6cOC2oG
+ false
+ '[' -d /tmp/tmp.cXT6cOC2oG ']'
+ return 0
+ remove /tmp/tmp.TqcEIkq0D1
+ '[' -L /tmp/tmp.TqcEIkq0D1 ']'
+ '[' -f /tmp/tmp.TqcEIkq0D1 ']'
+ rm -f /tmp/tmp.TqcEIkq0D1
+ false
+ '[' -d /tmp/tmp.TqcEIkq0D1 ']'
+ return 0
+ false
+ alternatives_in_use
+ local x11_ld_so_conf nvidia_current_ld_so_conf nvidia_current_updates_ld_so_conf r=1
++ dirname /usr/lib/mesa/libGL.so.1
+ x11_ld_so_conf=/usr/lib/mesa/ld.so.conf
++ find /usr/lib -name ld.so.conf
++ grep -i 'nvidia-current[^-]'
+ nvidia_current_ld_so_conf=/usr/lib/nvidia-current/ld.so.conf
+ nvidia_current_ld_so_conf=/usr/lib/nvidia-current/ld.so.conf
++ find /usr/lib -name ld.so.conf
++ grep -i nvidia-current-updates
+ nvidia_current_updates_ld_so_conf=
+ nvidia_current_updates_ld_so_conf=
+ alternative=mesa/ld.so.conf
+ echo mesa/ld.so.conf
+ grep -qs '^mesa'
+ alternative=gl_conf
+ '[' -f /usr/lib/mesa/ld.so.conf ']'
+ '[' -f /usr/lib/nvidia-current/ld.so.conf -o -f '' ']'
+ grep -qs /usr/lib/mesa/ld.so.conf
+ update-alternatives --list gl_conf
+ update-alternatives --list gl_conf
+ grep -Eqs '/usr/lib/nvidia-current/ld.so.conf|'
+ is_installed nvidia-current
+ r=0
+ return 0
+ false
+ :
+ sanitize /etc/X11 updat-gl '.*update-gl.*' '' 'script and its backups'
+ local path=/etc/X11 name=updat-gl 'regex=.*update-gl.*' except= 'msg1=script and its backups' do_ask=false
++ find_regex /etc/X11 '.*update-gl.*' ''
++ local path=/etc/X11 'regex=.*update-gl.*' except=
++ '[' -z '' ']'
++ find /etc/X11 -regex '^/etc/X11.*update-gl.*'
+ [[ -n '' ]]
+ sanitize /etc/X11 switch-x-to '.*switch-x-to.*' '' 'script and its backups'
+ local path=/etc/X11 name=switch-x-to 'regex=.*switch-x-to.*' except= 'msg1=script and its backups' do_ask=false
++ find_regex /etc/X11 '.*switch-x-to.*' ''
++ local path=/etc/X11 'regex=.*switch-x-to.*' except=
++ '[' -z '' ']'
++ find /etc/X11 -regex '^/etc/X11.*switch-x-to.*'
+ [[ -n '' ]]
+ sanitize /usr/local/bin switch-x-to '.*switch-x-to.*' '' 'script and its backups'
+ local path=/usr/local/bin name=switch-x-to 'regex=.*switch-x-to.*' except= 'msg1=script and its backups' do_ask=false
++ find_regex /usr/local/bin '.*switch-x-to.*' ''
++ local path=/usr/local/bin 'regex=.*switch-x-to.*' except=
++ '[' -z '' ']'
++ find /usr/local/bin -regex '^/usr/local/bin.*switch-x-to.*'
+ [[ -n '' ]]
+ sanitize /var/log/sony-laptop-zseries tracefiles '.*log' 11-09-20_02:14:50 'these files are only for debugging'
+ local path=/var/log/sony-laptop-zseries name=tracefiles 'regex=.*log' except=11-09-20_02:14:50 'msg1=these files are only for debugging' do_ask=false
++ find_regex /var/log/sony-laptop-zseries '.*log' 11-09-20_02:14:50
++ local path=/var/log/sony-laptop-zseries 'regex=.*log' except=11-09-20_02:14:50
++ '[' -z 11-09-20_02:14:50 ']'
++ find /var/log/sony-laptop-zseries -regex '^/var/log/sony-laptop-zseries.*log'
++ grep -v 11-09-20_02:14:50
+ [[ -n '' ]]
+ sanitize /usr/local/bin sony-VGN-Zseries-janitor~ '/sony-VGN-Zseries-janitor~.*' 11-09-20 'backup file(s).'
+ local path=/usr/local/bin name=sony-VGN-Zseries-janitor~ 'regex=/sony-VGN-Zseries-janitor~.*' except=11-09-20 'msg1=backup file(s).' do_ask=false
++ find_regex /usr/local/bin '/sony-VGN-Zseries-janitor~.*' 11-09-20
++ local path=/usr/local/bin 'regex=/sony-VGN-Zseries-janitor~.*' except=11-09-20
++ '[' -z 11-09-20 ']'
++ find /usr/local/bin -regex '^/usr/local/bin/sony-VGN-Zseries-janitor~.*'
++ grep -v 11-09-20
+ [[ -n '' ]]
+ sanitize /usr/share/sony-laptop switch-x-to~ '/switch-x-to~.*' 11-09-20 'backup file(s).'
+ local path=/usr/share/sony-laptop name=switch-x-to~ 'regex=/switch-x-to~.*' except=11-09-20 'msg1=backup file(s).' do_ask=false
++ find_regex /usr/share/sony-laptop '/switch-x-to~.*' 11-09-20
++ local path=/usr/share/sony-laptop 'regex=/switch-x-to~.*' except=11-09-20
++ '[' -z 11-09-20 ']'
++ find /usr/share/sony-laptop -regex '^/usr/share/sony-laptop/switch-x-to~.*'
++ grep -v 11-09-20
+ [[ -n '' ]]
+ sanitize /usr/share/sony-laptop acpi_create_nv_event~ '/acpi_create_nv_event~.*' 11-09-20 'backup file(s).'
+ local path=/usr/share/sony-laptop name=acpi_create_nv_event~ 'regex=/acpi_create_nv_event~.*' except=11-09-20 'msg1=backup file(s).' do_ask=false
++ find_regex /usr/share/sony-laptop '/acpi_create_nv_event~.*' 11-09-20
++ local path=/usr/share/sony-laptop 'regex=/acpi_create_nv_event~.*' except=11-09-20
++ '[' -z 11-09-20 ']'
++ find /usr/share/sony-laptop -regex '^/usr/share/sony-laptop/acpi_create_nv_event~.*'
++ grep -v 11-09-20
+ [[ -n '' ]]
+ :
+ notquiet -e '\n    debug was switched on (flag \033[1m-x\033[0m or \033[1m--debug\033[0m)'
+ false
+ echo -e '\n    debug was switched on (flag \033[1m-x\033[0m or \033[1m--debug\033[0m)'
+ return 0
+ notquiet '     - tracelog of this process was dumped here:'
+ false
+ echo '     - tracelog of this process was dumped here:' ''
+ return 0
+ notquiet -e '       \033[1m/var/log/sony-laptop-zseries/sony-VGN-Zseries-janitor_trace_11-09-20_02:14:50.log\033[0m'
+ false
+ echo -e '       \033[1m/var/log/sony-laptop-zseries/sony-VGN-Zseries-janitor_trace_11-09-20_02:14:50.log\033[0m'
+ return 0
+ false
+ anykey
+ read -p 'Press ENTER to continue ' dummy
+ return 0
+ false
+ notquiet -en '\n    Thank you for using Raphael'\''s \033[1msony-VGN-Zseries-janitor\033[0m, I'\''m ready now!\n    '
+ false
+ echo -en '\n    Thank you for using Raphael'\''s \033[1msony-VGN-Zseries-janitor\033[0m, I'\''m ready now!\n    '
+ return 0
++ expr 46 + 24
+ repeat_bash_cmd 0.003 70 notquiet -n =
+ set +x
+ notquiet -e '\n\n'
+ false
+ echo -e '\n\n'
+ return 0
+ abort 0
+ :
+ anykey
+ read -p 'Press ENTER to continue ' dummy
+ return 0
+ exit 0

References