Correct type on Shorewall-core install script

Signed-off-by: Tom Eastep <teastep@shorewall.net>
This commit is contained in:
Tom Eastep 2012-03-27 20:30:26 -07:00
parent c2fa5ae78f
commit 62f37e6b23

View File

@ -329,7 +329,7 @@ chmod 644 ${DESTDIR}${SHAREDIR}/shorewall/coreversion
cp $file ${DESTDIR}${SHAREDIR}/shorewall/shorewallrc
if [ -z "${DESTDIR}" -n ${HOME} ]; then
if [ -z "${DESTDIR}" -a -n ${HOME} ]; then
[ -f ${HOME}/.shorewallrc ] || cp $file ${HOME}/.shorewallrc
fi
#