diff --git a/lfs/nfs b/lfs/nfs index ee9b3a059..42ac5b586 100644 --- a/lfs/nfs +++ b/lfs/nfs @@ -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" diff --git a/src/paks/rpcbind/install.sh b/src/paks/rpcbind/install.sh index e523183d8..aa699f2cb 100644 --- a/src/paks/rpcbind/install.sh +++ b/src/paks/rpcbind/install.sh @@ -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}