Install nautilus hooks even when ~/.local/share/nautilus/ does not yet exist, since it is not automatically created for Gnome 3 users.

This commit is contained in:
Joey Hess 2014-07-16 17:19:39 -04:00
parent 3cdbeb5e3c
commit 67016b5123
2 changed files with 5 additions and 3 deletions

View file

@ -92,7 +92,7 @@ installNautilus :: FilePath -> IO ()
#ifdef linux_HOST_OS #ifdef linux_HOST_OS
installNautilus program = do installNautilus program = do
scriptdir <- (\d -> d </> "nautilus" </> "scripts") <$> userDataDir scriptdir <- (\d -> d </> "nautilus" </> "scripts") <$> userDataDir
whenM (doesDirectoryExist scriptdir) $ do createDirectoryIfMissing True scriptdir
genscript scriptdir "get" genscript scriptdir "get"
genscript scriptdir "drop" genscript scriptdir "drop"
where where

2
debian/changelog vendored
View file

@ -22,6 +22,8 @@ git-annex (5.20140710) UNRELEASED; urgency=medium
This is a security/usability tradeoff. To avoid exposing the gpg key This is a security/usability tradeoff. To avoid exposing the gpg key
ids who can decrypt the repository, users can unset ids who can decrypt the repository, users can unset
gcrypt-publish-participants. gcrypt-publish-participants.
* Install nautilus hooks even when ~/.local/share/nautilus/ does not yet
exist, since it is not automatically created for Gnome 3 users.
-- Joey Hess <joeyh@debian.org> Wed, 09 Jul 2014 23:29:21 -0400 -- Joey Hess <joeyh@debian.org> Wed, 09 Jul 2014 23:29:21 -0400