fix for bug 3497125: warning message for plain_pkgs

git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/branches/2.7@12177 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
This commit is contained in:
ligc 2012-04-10 11:38:18 +00:00
parent d401f59d7f
commit 9f34f9989b

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