From 6225a97d6d1102d8d5fc85dc59ad91b60f416a66 Mon Sep 17 00:00:00 2001 From: Nicolas Reynolds Date: Sun, 5 Feb 2012 03:38:41 -0300 Subject: Use libretools' cleansystem --- chcleanup | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'chcleanup') diff --git a/chcleanup b/chcleanup index 83c9f3f..a893320 100755 --- a/chcleanup +++ b/chcleanup @@ -2,6 +2,6 @@ [ ! -f ~/cleansystem ] && exit 1 -sudo pacman --noconfirm -Rcs $(comm -23 <(pacman -Qq | sort) <(sort ~/cleansystem)) +sudo pacman --noconfirm -Rcs $(comm -23 <(pacman -Qq | sort) <(sort /etc/libretools.d/cleansystem)) exit $? -- cgit v1.2.3-54-g00ecf From 2f7e3155e766e552f53dbadab18f4e2aff824cd4 Mon Sep 17 00:00:00 2001 From: Nicolas Reynolds Date: Fri, 24 Feb 2012 18:50:44 -0300 Subject: Informe removed packages --- chcleanup | 6 +++++- 1 file changed, 5 insertions(+), 1 deletion(-) (limited to 'chcleanup') diff --git a/chcleanup b/chcleanup index a893320..d1c71c7 100755 --- a/chcleanup +++ b/chcleanup @@ -2,6 +2,10 @@ [ ! -f ~/cleansystem ] && exit 1 -sudo pacman --noconfirm -Rcs $(comm -23 <(pacman -Qq | sort) <(sort /etc/libretools.d/cleansystem)) +packages=($(comm -23 <(pacman -Qq | sort) <(sort /etc/libretools.d/cleansystem))) + +echo "Removing: ${packages[@]}" + +sudo pacman --noconfirm -Rcs ${packages[@]} exit $? -- cgit v1.2.3-54-g00ecf From a0890dedb0ed2ba5c959ddd8cddf52fe4695baa9 Mon Sep 17 00:00:00 2001 From: Nicolás Reynolds Date: Sun, 8 Apr 2012 10:42:17 -0300 Subject: Use system clean file --- chcleanup | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'chcleanup') diff --git a/chcleanup b/chcleanup index d1c71c7..7074b84 100755 --- a/chcleanup +++ b/chcleanup @@ -1,6 +1,6 @@ #!/bin/bash -[ ! -f ~/cleansystem ] && exit 1 +[ ! -f /etc/libretools.d/cleansystem ] && exit 1 packages=($(comm -23 <(pacman -Qq | sort) <(sort /etc/libretools.d/cleansystem))) -- cgit v1.2.3-54-g00ecf