#!/bin/bash #Panel for BigLinux # #Authors: # Bruno Goncalves Araujo # #License: GPLv2 or later ################################################# . /usr/share/bigcontrolcenter/default/theme-categories.sh.htm #Translation export TEXTDOMAINDIR="/usr/share/locale-langpack" export TEXTDOMAIN=bigcontrolcenter-system-repair echo ' ' title=$"Limpar o sistema" apply=$"Aplicar" close=$"Sair" back=$"Voltar para tela de configuracao" #title echo "$title" #header open_header echo "$title" '
' $"Libere espaco no HD." close_header #confere as variaveis que sao traduzidar com um p_ antes do nome ########## # cache ########## if [ "$p_cache" = "yes" ] then rm -Rf /home/$USER/.cache/.* 2> /dev/null rm -Rf /home/$USER/.cache/* 2> /dev/null fi ############# # thumbnail ############# if [ "$p_thumbnail" = "yes" ] then rm -Rf /home/$USER/.thumbnails/.* 2> /dev/null rm -Rf /home/$USER/.thumbnails/* 2> /dev/null fi ########### # Firefox ########### if [ "$p_firefox" = "yes" ] then rm -Rf /home/$USER/.mozilla/firefox/*default/Cache/* 2> /dev/null rm -Rf /home/$USER/.mozilla/firefox/*default/Cache/.* 2> /dev/null fi ########## # Lixo ########## if [ "$p_trash" = "yes" ] then rm -Rf /home/$USER/.local/share/Trash/files/* 2> /dev/null rm -Rf /home/$USER/.local/share/Trash/files/.* 2> /dev/null fi ################## # Nepomuk/Strigi ################## if [ "$p_nepomuk" = "yes" ] then rm -Rf $(bigkdehome)/share/apps/nepomuk/ fi #Exibir resposta para o usuario echo "




" echo $"Configuracao aplicada." echo "
"