mirror of
				https://git.launchpad.net/livecd-rootfs
				synced 2025-10-31 17:04:10 +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/ .." |     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 \ |     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 |          | 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." |        echo "Documentation has been restored successfully." | ||||||
|        rm /etc/dpkg/dpkg.cfg.d/excludes.dpkg-tmp |        rm /etc/dpkg/dpkg.cfg.d/excludes.dpkg-tmp | ||||||
|     fi |     fi | ||||||
|  | |||||||
		Loading…
	
	
			
			x
			
			
		
	
		Reference in New Issue
	
	Block a user