summaryrefslogtreecommitdiff
path: root/doc/forum/5.3.5_import_errors/comment_3_a4774959fd93039d49196e7cff232089._comment
blob: c861f1ccf207c101097024f0687866ea82a81183 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
[[!comment format=mdwn
 username="picca"
 avatar="http://cdn.libravatar.org/avatar/7e61c80d28018b10d31f6db7dddb864c"
 subject="comment 3"
 date="2018-05-01T07:07:54Z"
 content="""
* Do you think that I should use a dedicated config-soleil.hs file instead of the config.hs file ?

* I use the combinesModes in order to set the right mode.

    +rra :: Property UnixLike
    +rra = fetch `onChange` execmode
    +    where
    +      fetch :: Property UnixLike
    +      fetch = property \"install rra scripts\"
    +              (liftIO $ toResult <$> download \"https://archives.eyrie.org/software/devel/backport\" \"/usr/local/bin/backport\")
    +
    +      execmode :: Property UnixLike
    +      execmode = File.mode \"/usr/local/bin/backport\" (combineModes (ownerWriteMode:readModes ++ executeModes))

"""]]