hotfix: Organized examples
This commit is contained in:
parent
0b5ed81b78
commit
8e8cb05674
14
examples/nullpatch-raspbian.fix
Normal file
14
examples/nullpatch-raspbian.fix
Normal file
@ -0,0 +1,14 @@
|
|||||||
|
hotfix: This hotfix does nothing.
|
||||||
|
info: >
|
||||||
|
It is true, this hotfix really doesn't do anything.
|
||||||
|
It is just included as an example. This particular
|
||||||
|
example will only work on Raspbian (Raspberry Pi),
|
||||||
|
see the source for details!
|
||||||
|
author: Noccy <cvagnetoft@gmail.com>
|
||||||
|
lang: bash
|
||||||
|
for:
|
||||||
|
- lsb.id=='raspbian'
|
||||||
|
---
|
||||||
|
|
||||||
|
info "Hello World"
|
||||||
|
exec "ls -al"
|
14
examples/nullpatch-ubuntu.fix
Normal file
14
examples/nullpatch-ubuntu.fix
Normal file
@ -0,0 +1,14 @@
|
|||||||
|
hotfix: This hotfix does nothing.
|
||||||
|
info: >
|
||||||
|
It is true, this hotfix really doesn't do anything.
|
||||||
|
It is just included as an example. This particular
|
||||||
|
example will only work on Ubuntu 16.04 or later,
|
||||||
|
see the source for details!
|
||||||
|
author: Noccy <cvagnetoft@gmail.com>
|
||||||
|
lang: bash
|
||||||
|
for:
|
||||||
|
- lsb.id=='ubuntu' and lsb.release>='16.04'
|
||||||
|
---
|
||||||
|
|
||||||
|
info "Hello World"
|
||||||
|
exec "ls -al"
|
Loading…
Reference in New Issue
Block a user