mirror of
https://gitlab.com/shorewall/code.git
synced 2025-06-19 17:28:35 +02:00
Avoid error message during initial install
Signed-off-by: Tom Eastep <teastep@shorewall.net>
This commit is contained in:
parent
20946f0711
commit
b6c3d9cae1
@ -393,12 +393,13 @@ if [ -z "${DESTDIR}" ]; then
|
|||||||
|
|
||||||
echo 'VARDIR=${VARLIB}/${PRODUCT}' >> $file
|
echo 'VARDIR=${VARLIB}/${PRODUCT}' >> $file
|
||||||
fi
|
fi
|
||||||
|
|
||||||
[ ! -f ~/.shorewallrc ] && cp ${SHAREDIR}/shorewall/shorewallrc ~/.shorewallrc
|
|
||||||
fi
|
fi
|
||||||
|
|
||||||
[ $file != "${DESTDIR}${SHAREDIR}/shorewall/shorewallrc" ] && cp $file ${DESTDIR}${SHAREDIR}/shorewall/shorewallrc
|
[ $file != "${DESTDIR}${SHAREDIR}/shorewall/shorewallrc" ] && cp $file ${DESTDIR}${SHAREDIR}/shorewall/shorewallrc
|
||||||
|
|
||||||
|
|
||||||
|
[ -z "${DESTDIR}" ] && [ ! -f ~/.shorewallrc ] && cp ${SHAREDIR}/shorewall/shorewallrc ~/.shorewallrc
|
||||||
|
|
||||||
if [ ${SHAREDIR} != /usr/share ]; then
|
if [ ${SHAREDIR} != /usr/share ]; then
|
||||||
for f in lib.*; do
|
for f in lib.*; do
|
||||||
if [ $BUILD != apple ]; then
|
if [ $BUILD != apple ]; then
|
||||||
|
Loading…
x
Reference in New Issue
Block a user