forked from ungleich-public/cdist
		
	shellcheck: remove unused var
This commit is contained in:
		
					parent
					
						
							
								3b3ac95ac3
							
						
					
				
			
			
				commit
				
					
						250f3d3fb8
					
				
			
		
					 1 changed files with 1 additions and 3 deletions
				
			
		| 
						 | 
					@ -18,7 +18,7 @@
 | 
				
			||||||
# along with cdist. If not, see <http://www.gnu.org/licenses/>.
 | 
					# along with cdist. If not, see <http://www.gnu.org/licenses/>.
 | 
				
			||||||
#
 | 
					#
 | 
				
			||||||
#
 | 
					#
 | 
				
			||||||
# Retrieve the status of a package - parsed dpkg output
 | 
					# Retrieve the status of a package - parsed apk output
 | 
				
			||||||
#
 | 
					#
 | 
				
			||||||
 | 
					
 | 
				
			||||||
if [ -f "$__object/parameter/name" ]; then
 | 
					if [ -f "$__object/parameter/name" ]; then
 | 
				
			||||||
| 
						 | 
					@ -27,8 +27,6 @@ else
 | 
				
			||||||
   name="$__object_id"
 | 
					   name="$__object_id"
 | 
				
			||||||
fi
 | 
					fi
 | 
				
			||||||
 | 
					
 | 
				
			||||||
output=
 | 
					 | 
				
			||||||
 | 
					 | 
				
			||||||
if [ "$(apk list -I "$name")" ]; then
 | 
					if [ "$(apk list -I "$name")" ]; then
 | 
				
			||||||
    echo present
 | 
					    echo present
 | 
				
			||||||
else
 | 
					else
 | 
				
			||||||
| 
						 | 
					
 | 
				
			||||||
		Loading…
	
	Add table
		Add a link
		
	
		Reference in a new issue