Add info on connecting to removable-media interface in snap description

Signed-off-by: 林博仁(Buo-Ren Lin) <Buo.Ren.Lin@gmail.com>
This commit is contained in:
林博仁(Buo-Ren Lin) 2018-03-29 23:44:23 +08:00
parent 366dc5d3f8
commit 68c24925bc

View file

@ -15,6 +15,13 @@ description: |
- To point out subtle caveats, corner cases and pitfalls that may cause an - To point out subtle caveats, corner cases and pitfalls that may cause an
advanced user's otherwise working script to fail under future advanced user's otherwise working script to fail under future
circumstances. circumstances.
By default ShellCheck can only check non-hidden files under /home, to make
ShellCheck be able to check files under /media and /run/media you must
connect it to the `removable-media` interface manually:
# snap connect shellcheck:removable-media
version: git version: git
grade: devel grade: devel
confinement: strict confinement: strict