fix for bug 3497125: warning message for plain_pkgs

git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@12178 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
This commit is contained in:
ligc 2012-04-10 11:38:40 +00:00
parent f1152ae54d
commit 778b0b915a

View File

@ -580,6 +580,8 @@ while [ $op_index -le $OTHERPKGS_INDEX ]; do
#Handle the rest with rpm
if [ "$plain_pkgs" != "" ]; then
echo "Warning: the packages $plain_pkgs could not be found in the repository, falling back to rpm command, did you forget to run createrepo?"
logger -p local4.info -t xcat "Warning: the packages $plain_pkgs could not be found in the repository, falling back to rpm command, did you forget to run createrepo?"
if [ $mounted -eq 0 ]; then
dir_no_ftproot=${OTHERPKGDIR#*$INSTALLDIR/}
mkdir -p /xcatpost/$dir_no_ftproot