Skip to content

Commit

Permalink
Merge pull request #1456 from Auto-unmount repos in pre-install
Browse files Browse the repository at this point in the history
  • Loading branch information
alameenshah authored Aug 20, 2019
2 parents e073946 + 6a4485d commit b19d2a5
Show file tree
Hide file tree
Showing 2 changed files with 8 additions and 1 deletion.
2 changes: 1 addition & 1 deletion GVFS/GVFS.Installer.Mac/scripts/Distribution.xml
Original file line number Diff line number Diff line change
Expand Up @@ -34,7 +34,7 @@

function GetBlockingProcesses()
{
var watchList = [ "GVFS.Mount", "git", "gitk", "Wish" ];
var watchList = [ "git", "gitk", "Wish" ];
var blockingProcesses = new Array();
for (var process of watchList)
{
Expand Down
7 changes: 7 additions & 0 deletions GVFS/GVFS.Installer.Mac/scripts/preinstall
Original file line number Diff line number Diff line change
Expand Up @@ -17,3 +17,10 @@ if [ "$isKextLoaded" -gt 0 ]; then
echo $unloadCmd
eval $unloadCmd || exit 1
fi

GVFSBINPATH="/usr/local/vfsforgit/gvfs"
if [ -f "${GVFSBINPATH}" ]; then
unmountCmd="${GVFSBINPATH} service --unmount-all"
echo $unmountCmd
eval $unmountCmd || exit 1
fi

0 comments on commit b19d2a5

Please sign in to comment.