From 79979311dfb286475057314ba7fc01c43c3af5c1 Mon Sep 17 00:00:00 2001 From: Daniel Knight Date: Mon, 6 May 2019 14:18:36 +0100 Subject: [PATCH] https://github.com/MichaIng/DietPi/issues/2751 --- dietpi/dietpi-cleaner | 10 +++++++--- 1 file changed, 7 insertions(+), 3 deletions(-) diff --git a/dietpi/dietpi-cleaner b/dietpi/dietpi-cleaner index 3d9cbf7391..e18f97b340 100644 --- a/dietpi/dietpi-cleaner +++ b/dietpi/dietpi-cleaner @@ -407,9 +407,13 @@ Would you like to continue and start the cleaning process?" && Run_Cleaners else - G_AGP man manpages - G_AGA - rm -Rf /usr/share/{man,doc,doc-base} + if G_WHIP_YESNO '[WARNING] Removing man pages and docs from the system, may break some APT packages (https://github.com/MichaIng/DietPi/issues/2751).\n\nNB: If unsure, please select "Cancel".\n\nDo you wish to continue?'; then + + G_AGP man manpages + G_AGA + rm -Rf /usr/share/{man,doc,doc-base} + + fi fi