nfs: Bump release to install rpcbind dependency

This update will pull in rpcbind as new dependency which
will automatically remove portmap when installed.

Signed-off-by: Michael Tremer <michael.tremer@ipfire.org>
This commit is contained in:
Michael Tremer
2016-05-18 16:41:51 +01:00
parent 3fcc9b67fc
commit 1193d00f51
2 changed files with 11 additions and 3 deletions

View File

@@ -32,7 +32,7 @@ DL_FROM = $(URL_IPFIRE)
DIR_APP = $(DIR_SRC)/$(THISAPP)
TARGET = $(DIR_INFO)/$(THISAPP)
PROG = nfs
PAK_VER = 7
PAK_VER = 8
DEPS = "rpcbind"

View File

@@ -22,9 +22,17 @@
############################################################################
#
. /opt/pakfire/lib/functions.sh
# remove portmap
/etc/init.d/portmap stop
rm -rf /etc/rc.d/rc*.d/*portmap /sbin/portmap /etc/rc.d/init.d/portmap
if [ -e "/opt/pakfire/db/installed/meta-portmap" ]; then
/etc/init.d/portmap stop
rm -rf /etc/rc.d/rc*.d/*portmap \
/sbin/portmap \
/etc/rc.d/init.d/portmap \
/opt/pakfire/db/installed/meta-portmap \
/opt/pakfire/db/rootfiles/portmap
fi
# install rpcbind
extract_files
start_service --background ${NAME}