freebsd-ports/sysutils/avfs/files/patch-scripts_mountavs
Muhammad Moinur Rahman 25edd878fe sysutils/avfs: Revive and update version 0.9.9=>1.0.2
- Unbreak
- Pass maintainership to submitter
- Add LICENSE(LGPL20 GPLv2)
- Remove OPTIONS LIBRARY to make default as most of the dependent ports
  require the library
- Make proper use of OPTIONSNG to declutter ${PORT_OPTIONS:M*}

PR:			196942
Differential Revision:	https://reviews.freebsd.org/D1795
Submitted by:		mp39590@gmail.com
Approved by:		marino(mentor)
2015-02-07 13:04:38 +00:00

11 lines
328 B
Text

--- scripts/mountavfs.orig 2015-02-07 16:14:05.773404035 +0600
+++ scripts/mountavfs 2015-02-07 16:14:56.488399333 +0600
@@ -14,7 +14,7 @@
MntDir=${HOME}/.avfs
fi
-grep -qE "avfsd ${MntDir}" /proc/mounts || {
+mount -p | grep -qE "${MntDir}.*fusefs" || {
if [ ! -e "$MntDir" ]; then
mkdir -p "$MntDir"
fi