From 7c4e4f267a99b4e4bfc92c9d1adfe30ac5d6816c Mon Sep 17 00:00:00 2001 From: Joey Hess Date: Sun, 19 Aug 2018 23:22:04 -0400 Subject: propellor spin --- src/Propellor/Property/SiteSpecific/JoeySites.hs | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/Propellor/Property/SiteSpecific/JoeySites.hs b/src/Propellor/Property/SiteSpecific/JoeySites.hs index 0ea6937e..2425ddb9 100644 --- a/src/Propellor/Property/SiteSpecific/JoeySites.hs +++ b/src/Propellor/Property/SiteSpecific/JoeySites.hs @@ -1233,8 +1233,8 @@ autoMountDrive label (USBHubPort port) malias = propertyList desc $ props & File.ownerGroup mountpoint (User "joey") (Group "joey") & File.dirExists mountpoint & case malias of - Just t -> mountpoint `File.isSymlinkedTo` - File.LinkTarget ("/media/joey/" ++ t) + Just t -> ("/media/joey/" ++ t) `File.isSymlinkedTo` + File.LinkTarget mountpoint Nothing -> doNothing doNothing & File.hasContent ("/etc/systemd/system/" ++ mount) [ "[Unit]" -- cgit v1.2.3