diff --git a/xCAT-client/debian/control b/xCAT-client/debian/control index eef687468..410888dd8 100644 --- a/xCAT-client/debian/control +++ b/xCAT-client/debian/control @@ -7,6 +7,6 @@ Standards-Version: 3.7.2 Package: xcat-client Architecture: all -Depends: ${perl:Depends}, nmap +Depends: ${perl:Depends}, nmap, perl-xCAT Description: Core executables and data of the xCAT management project xCAT-client provides the fundamental xCAT commands (chtab, chnode, rpower, etc) helpful in administrating systems at scale, with particular attention paid to large HPC clusters. diff --git a/xCAT-client/debian/dirs b/xCAT-client/debian/dirs index 811caec27..cc7a0a320 100644 --- a/xCAT-client/debian/dirs +++ b/xCAT-client/debian/dirs @@ -7,9 +7,9 @@ opt/xcat/share/man/man3 opt/xcat/share/man/man5 opt/xcat/share/man/man8 opt/xcat/share/doc/packages/xCAT-client -opt/xcat/share/doc/man1 -opt/xcat/share/doc/man3 -opt/xcat/share/doc/man5 -opt/xcat/share/doc/man8 +#opt/xcat/share/doc/man1 +#opt/xcat/share/doc/man3 +#opt/xcat/share/doc/man5 +#opt/xcat/share/doc/man8 opt/xcat/share/doc opt/xcat/share/xcat/rvid diff --git a/xCAT-client/debian/postinst b/xCAT-client/debian/postinst index 26055fc43..5acff496f 100644 --- a/xCAT-client/debian/postinst +++ b/xCAT-client/debian/postinst @@ -23,10 +23,20 @@ case "$1" in cat << EOF > /etc/profile.d/xcat.sh XCATROOT=/opt/xcat -PATH=\$PATH:\$XCATROOT/bin:\$XCATROOT/sbin -MANPATH=\$MANPATH:\$XCATROOT/share/man: +PATH=\$XCATROOT/bin:\$XCATROOT/sbin:\$PATH +MANPATH \$XCATROOT/share/man:\$MANPATH export XCATROOT PATH MANPATH export PERL_BADLANG=0 +EOF + cat << EOF > /etc/profile.d/xcat.csh +setenv XCATROOT "/opt/xcat" +setenv PATH \${XCATROOT}/bin:\${XCATROOT}/sbin:\${PATH} +if !(\$?MANPATH) then + setenv MANPATH \${XCATROOT}/share/man: +else + setenv MANPATH \${XCATROOT}/share/man:\${MANPATH} +endif +setenv PERL_BADLANG 0 EOF chmod 755 /etc/profile.d/xcat.* diff --git a/xCAT-client/debian/xcat-client.links b/xCAT-client/debian/xcat-client.links index 1698d275f..26c86715a 100644 --- a/xCAT-client/debian/xcat-client.links +++ b/xCAT-client/debian/xcat-client.links @@ -30,6 +30,7 @@ opt/xcat/bin/xcatclient opt/xcat/bin/renergy opt/xcat/bin/xcatclient opt/xcat/bin/litetree opt/xcat/bin/xcatclient opt/xcat/bin/litefile opt/xcat/bin/xcatclient opt/xcat/bin/lslite +opt/xcat/bin/xcatclient opt/xcat/bin/lstree opt/xcat/bin/xcatclient opt/xcat/bin/lsflexnode opt/xcat/bin/xcatclient opt/xcat/bin/rmflexnode opt/xcat/bin/xcatclient opt/xcat/bin/mkflexnode @@ -39,6 +40,7 @@ opt/xcat/bin/xcatclientnnr opt/xcat/bin/swapnodes opt/xcat/bin/xcatclientnnr opt/xcat/bin/nodegrpch opt/xcat/bin/xcatclientnnr opt/xcat/sbin/tabdump opt/xcat/bin/xcatclientnnr opt/xcat/sbin/tabprune +opt/xcat/bin/xcatclientnnr opt/xcat/sbin/tabch opt/xcat/bin/xcatclientnnr opt/xcat/sbin/packimage opt/xcat/bin/xcatclientnnr opt/xcat/sbin/rmimage opt/xcat/bin/xcatclient opt/xcat/sbin/makedns