hotfix: Organized examples
This commit is contained in:
		
							
								
								
									
										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"
 | 
			
		||||
		Reference in New Issue
	
	Block a user