mirror of
				https://git.launchpad.net/livecd-rootfs
				synced 2025-10-31 08:54:06 +00:00 
			
		
		
		
	Verify only documentation that should have been restored after unminimization
This commit is contained in:
		
							parent
							
								
									93fc7c56f2
								
							
						
					
					
						commit
						8244beb6d1
					
				| @ -79,7 +79,7 @@ if [ -f /etc/dpkg/dpkg.cfg.d/excludes ] || [ -f /etc/dpkg/dpkg.cfg.d/excludes.dp | ||||
|     echo "Reinstalling packages with system documentation in /usr/share/doc/ .." | ||||
|     dpkg --verify --verify-format rpm | awk '/..5......   \/usr\/share\/doc/ {print $2}' | sed 's|/[^/]*$||' | sort |uniq \ | ||||
|          | xargs dpkg -S | sed 's|, |\n|g;s|: [^:]*$||' | uniq | DEBIAN_FRONTEND=noninteractive xargs apt-get install --reinstall -y | ||||
|     if dpkg --verify --verify-format rpm> /dev/null; then | ||||
|     if dpkg --verify --verify-format rpm | awk '/..5......   \/usr\/share\/doc/ {exit 1}'; then | ||||
|        echo "Documentation has been restored successfully." | ||||
|        rm /etc/dpkg/dpkg.cfg.d/excludes.dpkg-tmp | ||||
|     fi | ||||
|  | ||||
		Loading…
	
	
			
			x
			
			
		
	
		Reference in New Issue
	
	Block a user