11 lines
		
	
	
		
			314 B
		
	
	
	
		
			Plaintext
		
	
	
	
	
	
		
		
			
		
	
	
			11 lines
		
	
	
		
			314 B
		
	
	
	
		
			Plaintext
		
	
	
	
	
	
| 
								 | 
							
								#!/bin/sh
							 | 
						||
| 
								 | 
							
								set -e
							 | 
						||
| 
								 | 
							
								
							 | 
						||
| 
								 | 
							
								# Detect if /etc/hostid is a conffile of previous spl package, migrate if yes
							 | 
						||
| 
								 | 
							
								# hostid file should preserve even when package is purged
							 | 
						||
| 
								 | 
							
								if $(dpkg-query --showformat='${Conffiles}\n' --show spl >/dev/null 2>&1); then
							 | 
						||
| 
								 | 
							
								        dpkg-maintscript-helper rm_conffile /etc/hostid -- "$@"
							 | 
						||
| 
								 | 
							
								fi
							 | 
						||
| 
								 | 
							
								
							 | 
						||
| 
								 | 
							
								#DEBHELPER#
							 |