|
|
@ -87,6 +87,11 @@ if [ -f /etc/dpkg/dpkg.cfg.d/excludes ] || [ -f /etc/dpkg/dpkg.cfg.d/excludes.dp
|
|
|
|
if dpkg --verify --verify-format rpm | awk '/..5...... \/usr\/share\/doc/ {exit 1}'; 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
|
|
|
|
|
|
|
|
else
|
|
|
|
|
|
|
|
echo "There are still files missing from /usr/share/doc/:"
|
|
|
|
|
|
|
|
dpkg --verify --verify-format rpm | awk '/..5...... \/usr\/share\/doc/ {print " " $2}'
|
|
|
|
|
|
|
|
echo "You may want to try running this script again or you can remove"
|
|
|
|
|
|
|
|
echo "/etc/dpkg/dpkg.cfg.d/excludes.dpkg-tmp and restore the files manually."
|
|
|
|
fi
|
|
|
|
fi
|
|
|
|
fi
|
|
|
|
fi
|
|
|
|
|
|
|
|
|
|
|
|