forked from extern/shorewall_code
Create symbolic links for the CLI programs
Signed-off-by: Tom Eastep <teastep@shorewall.net>
This commit is contained in:
parent
089ff4eb33
commit
154395c20f
@ -379,6 +379,7 @@ delete_file ${DESTDIR}/usr/share/$PRODUCT/xmodules
|
||||
mkdir -p ${DESTDIR}${CONFDIR}/$PRODUCT
|
||||
mkdir -p ${DESTDIR}${SHAREDIR}/$PRODUCT
|
||||
mkdir -p ${DESTDIR}${LIBEXECDIR}/$PRODUCT
|
||||
mkdir -p ${DESTDIR}${SBINDIR}
|
||||
mkdir -p ${DESTDIR}${VARDIR}
|
||||
|
||||
chmod 755 ${DESTDIR}${CONFDIR}/$PRODUCT
|
||||
@ -529,7 +530,11 @@ fi
|
||||
delete_file ${DESTDIR}${SHAREDIR}/$PRODUCT/lib.common
|
||||
delete_file ${DESTDIR}${SHAREDIR}/$PRODUCT/lib.cli
|
||||
delete_file ${DESTDIR}${SHAREDIR}/$PRODUCT/wait4ifup
|
||||
delete_file ${DESTDIR}${SBINDIR}/$PRODUCT
|
||||
|
||||
#
|
||||
# Creatae the symbolic link for the CLI
|
||||
#
|
||||
ln -sf shorewall ${DESTDIR}${SBINDIR}/${PRODUCT}
|
||||
|
||||
#
|
||||
# Note -- not all packages will have the SYSCONFFILE so we need to check for its existance here
|
||||
|
@ -464,7 +464,6 @@ if [ -z "$first_install" ]; then
|
||||
delete_file ${DESTDIR}/usr/share/shorewall6/lib.cli
|
||||
delete_file ${DESTDIR}/usr/share/shorewall6/lib.common
|
||||
delete_file ${DESTDIR}/usr/share/shorewall6/wait4ifup
|
||||
delete_file ${DESTDIR}/${SBINDIR}/shorewall6
|
||||
fi
|
||||
|
||||
delete_file ${DESTDIR}/usr/share/$PRODUCT/prog.header6
|
||||
@ -1101,6 +1100,10 @@ if [ $PRODUCT = shorewall6 ]; then
|
||||
# Symbolically link 'functions' to lib.base
|
||||
#
|
||||
ln -sf lib.base ${DESTDIR}${SHAREDIR}/$PRODUCT/functions
|
||||
#
|
||||
# And create a sybolic link for the CLI
|
||||
#
|
||||
ln -sf shorewall ${DESTDIR}${SBINDIR}/shorewall6
|
||||
fi
|
||||
|
||||
if [ -d Perl ]; then
|
||||
|
Loading…
Reference in New Issue
Block a user