diff --git a/examples/nullpatch-raspbian.fix b/examples/nullpatch-raspbian.fix new file mode 100644 index 0000000..353e696 --- /dev/null +++ b/examples/nullpatch-raspbian.fix @@ -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 +lang: bash +for: + - lsb.id=='raspbian' +--- + +info "Hello World" +exec "ls -al" diff --git a/examples/nullpatch-ubuntu.fix b/examples/nullpatch-ubuntu.fix new file mode 100644 index 0000000..46d9078 --- /dev/null +++ b/examples/nullpatch-ubuntu.fix @@ -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 +lang: bash +for: + - lsb.id=='ubuntu' and lsb.release>='16.04' +--- + +info "Hello World" +exec "ls -al" diff --git a/share/nullpatch.fix b/examples/nullpatch.fix similarity index 100% rename from share/nullpatch.fix rename to examples/nullpatch.fix