smart package manager unterstuetzung

Stephan Hermann sh at sourcecode.de
Wed Jun 27 12:59:56 CEST 2007


Moins,

Thomas, can you add this to fai 3.1.8 or to fai TRUNK?

smart is a good package manager for all distros. It supports apt repos,
rpm xml metadata repos (like for yum) and yast repositories.

Thx,

\sh

------------------



diff -ur fai-3.1.8.orig/bin/install_packages
fai-3.1.8/bin/install_packages
--- fai-3.1.8.orig/bin/install_packages 2006-10-10 01:30:53.000000000
+0200
+++ fai-3.1.8/bin/install_packages      2007-06-27 12:56:32.725215223
+0200
@@ -65,7 +65,7 @@
 
 my $aptopt='-y -o Dpkg::Options::="--force-confdef" -o
Dpkg::Options::="--force-confold"';
 
- at commands = qw/y2i y2r yast rpmr urpmi urpme yumgroup yumi yumr hold
taskrm taskinst clean aptitude aptitude-r install unpack remove
dselect-upgrade/;
+ at commands = qw/y2i y2r yast rpmr urpmi urpme yumgroup yumi yumr hold
taskrm taskinst clean aptitude aptitude-r install unpack remove
dselect-upgrade smarti smartr/;
 %command = (
            install => "apt-get $aptopt --fix-missing install",
           ninstall => "apt-get $aptopt --fix-missing -s install",
@@ -90,6 +90,8 @@
              y2r   => "y2pmsh remove",
              yast  => "yast -i",
               rpmr => "rpm -e",
+           smarti  => "smart -y install",
+           smartr  => "smart -y remove",
 );
 
 $test = 0;



-- 
Stephan Hermann
eMail: sh at sourcecode.de         Blog: http://linux.blogweb.de/
JID: sh at linux-server.org        
OSS-Developer and Admin

-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 189 bytes
Desc: Dies ist ein digital signierter Nachrichtenteil
Url : http://lists.uni-koeln.de/pipermail/linux-fai/attachments/20070627/205241be/attachment.bin 


More information about the linux-fai mailing list