Slax specs for debian

This commit is contained in:
TomasM
2017-10-08 05:35:31 -04:00
parent 182d6449c1
commit 9c98f90992
10 changed files with 49 additions and 20 deletions
+21
View File
@@ -0,0 +1,21 @@
#!/bin/bash
rm -f /var/lib/apt/lists/deb.*
rm -f /var/log/*
rm -f /var/log/*/*
rm -f /var/log/*/*/*
rm -f /var/cache/apt/archives/*.deb
rm -f /var/cache/apt/*.bin
rm -f /var/cache/debconf/*-old
rm -f /var/lib/dhcp/dhclient.leases
rm -f /root/.bash_history
rm -f /root/.wget-hsts
rm -Rf /usr/share/doc/*
rm -Rf /usr/share/locale/??
rm -Rf /usr/share/locale/??_*
rm -Rf /usr/share/locale/??@*
rm -Rf /usr/share/locale/???
rm -Rf /usr/share/i18n/locales/*_*
rm -Rf /usr/share/man/??
rm -Rf /usr/share/man/*_*