[Slapt-get-devel] Choose package to install

Arnaldo de Moraes Pereira arnaldo at sp-dhn.com.br
Wed Apr 14 23:27:20 EDT 2004


	Hello Jason,

	What do you think of the capability to choose the package to install
when there's more than one pattern (package) found ? It looks nice to
me. I've made a patch to illustrate the idea.
	The patch works on the install transaction. ie.:

root at minor:/home/arnaldo/slapt-get-0.9.8c-test# ./slapt-get --install
aterm
Reading Package Lists... Done
1: aterm 0.4.2-i486-1
2: aterm 0.4.2-i686-1
3: aterm 0.4.2-i386-1
4: aterm 0.4.2-i586-1
Which package do you want me to install ? (default: 4) 2
The following NEW packages will be installed:
  aterm 
0 upgraded, 1 newly installed, 0 to remove and 0 not upgraded.
Need to get 195K of archives.
After unpacking 640K of additional disk space will be used.
Downloading http://slackpacks.tchelinux.com.br/ aterm 0.4.2-i686-1
[27K]...

	If you like it I can write it in a more elegant way (and adding a
command line option for it ?) and submit a patch.
	
	Take care.


-- 
Arnaldo de Moraes Pereira <arnaldo at sp-dhn.com.br>
DHN




More information about the Slapt-get-devel mailing list