~ocsinventory-dev/ocsinventory-server/stable-2.0

« back to all changes in this revision

Viewing changes to setup.sh

  • Committer: mortheres
  • Date: 2011-09-01 22:47:13 UTC
  • Revision ID: guillaume.protet@mortheres.info-20110901224713-oxop9dadzqqkednl
Fix RPM packages names in setup.sh

Show diffs side-by-side

added added

removed removed

Lines of Context:
742
742
                     echo "RedHat based automatic installation"
743
743
                     if [ $DBI=1 ]
744
744
                     then
745
 
                         PACKAGE="$PACKAGE 'perl(DBI)'"
 
745
                         PACKAGE="$PACKAGE perl-DBI"
746
746
                     fi
747
747
                     if [ $APACHE_DBI=1 ]
748
748
                     then
749
 
                         PACKAGE="$PACKAGE 'perl(Apache-DBI)'"
 
749
                         PACKAGE="$PACKAGE perl-Apache-DBI"
750
750
                     fi
751
751
                     if [ $DBD_MYSQL=1 ]
752
752
                     then
753
 
                         PACKAGE="$PACKAGE 'perl(DBD-MySQL)'"
 
753
                         PACKAGE="$PACKAGE perl-DBD-MySQL"
754
754
                     fi
755
755
                     if [ $COMPRESS_ZLIB=1 ]
756
756
                     then
757
 
                         PACKAGE="$PACKAGE 'perl(Compress-Zlib)'"
 
757
                         PACKAGE="$PACKAGE perl-Compress-Zlib"
758
758
                     fi
759
759
                     if [ $XML_SIMPLE=1 ]
760
760
                     then
761
 
                         PACKAGE="$PACKAGE 'perl(XML-Simple)'"
 
761
                         PACKAGE="$PACKAGE perl-XML-Simple"
762
762
                     fi
763
763
                     if [ $NET_IP=1 ]
764
764
                     then
765
 
                         PACKAGE="$PACKAGE 'perl(Net-IP)'"
 
765
                         PACKAGE="$PACKAGE perl-Net-IP"
766
766
                     fi
767
767
                     yum update
768
768
                     yum install $PACKAGE