multipath: check for existance before trying to install

master
Harald Hoyer 2010-01-12 10:31:51 +01:00
parent 0a19e31886
commit c5488692d4
1 changed files with 1 additions and 1 deletions

View File

@ -21,7 +21,7 @@ for f in \
/etc/xdrdevices.conf \ /etc/xdrdevices.conf \
$(ls $LIBDIR/libmultipath* $LIBDIR/multipath/* 2>/dev/null) \ $(ls $LIBDIR/libmultipath* $LIBDIR/multipath/* 2>/dev/null) \
;do ;do
inst $f [ -e "$f" ] && inst "$f"
done done


inst_hook pre-trigger 02 "$moddir/multipathd.sh" inst_hook pre-trigger 02 "$moddir/multipathd.sh"