mirror of
https://gitlab.com/shorewall/code.git
synced 2025-01-03 03:59:16 +01:00
Move lib modification from installation to build
Signed-off-by: Tom Eastep <teastep@shorewall.net>
This commit is contained in:
parent
299701e466
commit
749b893a46
@ -301,8 +301,6 @@ for f in lib.* ; do
|
|||||||
fi
|
fi
|
||||||
done
|
done
|
||||||
|
|
||||||
eval sed -i \'s\|g_program:=shorewall\|g_program:=shorewall-lite\|\' ${DESTDIR}/usr/share/shorewall-lite/lib.base
|
|
||||||
|
|
||||||
ln -sf lib.base ${DESTDIR}/usr/share/shorewall-lite/functions
|
ln -sf lib.base ${DESTDIR}/usr/share/shorewall-lite/functions
|
||||||
|
|
||||||
echo "Common functions linked through ${DESTDIR}/usr/share/shorewall-lite/functions"
|
echo "Common functions linked through ${DESTDIR}/usr/share/shorewall-lite/functions"
|
||||||
|
@ -301,9 +301,6 @@ for f in lib.* ; do
|
|||||||
fi
|
fi
|
||||||
done
|
done
|
||||||
|
|
||||||
eval sed -i \'s\|g_program:=shorewall\|g_program:=shorewall6-lite\|\' ${DESTDIR}/usr/share/shorewall6-lite/lib.base
|
|
||||||
eval sed -i \'s\|g_family:=4\|g_family:=6\|\' ${DESTDIR}/usr/share/shorewall6-lite/lib.base
|
|
||||||
|
|
||||||
ln -sf lib.base ${DESTDIR}/usr/share/shorewall6-lite/functions
|
ln -sf lib.base ${DESTDIR}/usr/share/shorewall6-lite/functions
|
||||||
|
|
||||||
echo "Common functions linked through ${DESTDIR}/usr/share/shorewall6-lite/functions"
|
echo "Common functions linked through ${DESTDIR}/usr/share/shorewall6-lite/functions"
|
||||||
|
Loading…
Reference in New Issue
Block a user