mirror of
				https://git.proxmox.com/git/llvm-toolchain
				synced 2025-10-27 17:22:20 +00:00 
			
		
		
		
	
		
			
				
	
	
		
			19 lines
		
	
	
		
			542 B
		
	
	
	
		
			Bash
		
	
	
	
	
	
			
		
		
	
	
			19 lines
		
	
	
		
			542 B
		
	
	
	
		
			Bash
		
	
	
	
	
	
| #!/bin/sh
 | |
| 
 | |
| set -e
 | |
| 
 | |
| if test "$1" = "remove"; then
 | |
|     if command -v update-binfmts >/dev/null; then
 | |
|         update-binfmts --package llvm-@LLVM_VERSION@-runtime \
 | |
|             --remove llvm-@LLVM_VERSION@-runtime.binfmt /usr/bin/lli-@LLVM_VERSION@ || true
 | |
|         if test -f /var/lib/binfmts/llvm-@LLVM_VERSION@.binfmt; then
 | |
|             # Purge old file
 | |
|             update-binfmts --package llvm-@LLVM_VERSION@-runtime \
 | |
|                 --remove llvm-@LLVM_VERSION@.binfmt /usr/bin/lli-@LLVM_VERSION@ || true
 | |
|         fi
 | |
|     fi
 | |
| fi
 | |
| 
 | |
| #DEBHELPER#
 | |
| 
 | 
