mirror of
https://gitlab.com/shorewall/code.git
synced 2025-02-08 14:01:47 +01:00
Replace lib.base with symbolic link
Signed-off-by: Tom Eastep <teastep@shorewall.net>
This commit is contained in:
parent
9ca82d8bf6
commit
98f4a1c545
@ -389,16 +389,12 @@ install_file configpath ${DESTDIR}${SHAREDIR}/$PRODUCT/configpath 0644
|
|||||||
echo "Default config path file installed as ${DESTDIR}${SHAREDIR}/$PRODUCT/configpath"
|
echo "Default config path file installed as ${DESTDIR}${SHAREDIR}/$PRODUCT/configpath"
|
||||||
|
|
||||||
#
|
#
|
||||||
# Install the libraries
|
# Install the library symlinks
|
||||||
#
|
#
|
||||||
for f in lib.* ; do
|
|
||||||
if [ -f $f ]; then
|
|
||||||
install_file $f ${DESTDIR}${SHAREDIR}/$PRODUCT/$f 0644
|
|
||||||
echo "Library ${f#*.} file installed as ${DESTDIR}/${SHAREDIR}/$PRODUCT/$f"
|
|
||||||
fi
|
|
||||||
done
|
|
||||||
|
|
||||||
ln -sf lib.base ${DESTDIR}${SHAREDIR}/$PRODUCT/functions
|
for f in functions lib.base; do
|
||||||
|
ln -sf ../shorewall/lib.base ${DESTDIR}${SHAREDIR}/$PRODUCT/$f
|
||||||
|
done
|
||||||
|
|
||||||
echo "Common functions linked through ${DESTDIR}${SHAREDIR}/$PRODUCT/functions"
|
echo "Common functions linked through ${DESTDIR}${SHAREDIR}/$PRODUCT/functions"
|
||||||
|
|
||||||
|
@ -978,12 +978,16 @@ cd ..
|
|||||||
#
|
#
|
||||||
# Install the libraries
|
# Install the libraries
|
||||||
#
|
#
|
||||||
|
if [ $PRODUCT = shorewall ]; then
|
||||||
for f in lib.* ; do
|
for f in lib.* ; do
|
||||||
if [ -f $f ]; then
|
if [ -f $f ]; then
|
||||||
install_file $f ${DESTDIR}${SHAREDIR}/$PRODUCT/$f 0644
|
install_file $f ${DESTDIR}${SHAREDIR}/shorewall/$f 0644
|
||||||
echo "Library ${f#*.} file installed as ${DESTDIR}${SHAREDIR}/$PRODUCT/$f"
|
echo "Library ${f#*.} file installed as ${DESTDIR}${SHAREDIR}/shorewall/$f"
|
||||||
fi
|
fi
|
||||||
done
|
done
|
||||||
|
else
|
||||||
|
ln -sf ../shorewall/lib.base ${DESTDIR}${SHAREDIR}/lib.base
|
||||||
|
done
|
||||||
|
|
||||||
if [ $PRODUCT = shorewall6 ]; then
|
if [ $PRODUCT = shorewall6 ]; then
|
||||||
#
|
#
|
||||||
|
Loading…
Reference in New Issue
Block a user