diff options
Diffstat (limited to 'Build')
-rw-r--r-- | Build/DesktopFile.hs | 6 |
1 files changed, 6 insertions, 0 deletions
diff --git a/Build/DesktopFile.hs b/Build/DesktopFile.hs index 9d68ff1d9..cb5a47b69 100644 --- a/Build/DesktopFile.hs +++ b/Build/DesktopFile.hs @@ -79,3 +79,9 @@ install command = do createDirectoryIfMissing True (parentDir programfile) writeFile programfile command ) + +installUser :: FilePath -> IO () +installUser command = ifM systemwideInstall + ( install command + , return () + ) |