Merge trunk r3938:
Existence of package management files is tested even if PKGMNGT=n. Fix that. Thanks to Michael D.L. for reporting
This commit is contained in:
parent
3d48216613
commit
90f822ab03
1 changed files with 20 additions and 18 deletions
|
@ -202,8 +202,9 @@ inline_doc
|
|||
;;
|
||||
|
||||
# Case of PKGMNGT: two files, packageManager.xml and packInstall.sh
|
||||
# must exist in $PKGMNGTDIR:
|
||||
# must exist in $PKGMNGTDIR if PKGMNGT='y':
|
||||
PKGMNGT) echo -e "`eval echo $PARAM_VALS`"
|
||||
if [ "$PKGMNGT" = y ]; then
|
||||
if [ ! -e "$PKGMNGTDIR/packageManager.xml" ]; then
|
||||
write_pkg_and_die $PKGMNGTDIR/packageManager.xml does not exist
|
||||
fi
|
||||
|
@ -222,6 +223,7 @@ inline_doc
|
|||
if [ ! -r "$PKGMNGTDIR/packInstall.sh" ]; then
|
||||
write_pkg_and_die $PKGMNGTDIR/packInstall.sh is not readable
|
||||
fi
|
||||
fi
|
||||
;;
|
||||
# Display non-validated envars found in ${PROGNAME}_PARAM_LIST
|
||||
* ) echo -e "`eval echo $PARAM_VALS`" ;;
|
||||
|
|
Reference in a new issue