From cede5f5a794ebf91a8ca824cf5bfd5e96aa8c463 Mon Sep 17 00:00:00 2001 From: Kylie McClain Date: Sun, 15 Feb 2015 23:47:30 -0500 Subject: make-colors-themes: remove plank themes during uninstallation --- make-colors-themes | 8 +++++++- 1 file changed, 7 insertions(+), 1 deletion(-) diff --git a/make-colors-themes b/make-colors-themes index 6ff723a..72f2be1 100755 --- a/make-colors-themes +++ b/make-colors-themes @@ -85,7 +85,13 @@ uninstall_theme() { printf " \"Shiki-$color\"" rm -rf "$DESTDIR$HOME/.themes/Shiki-$color/" "$DESTDIR/usr/share/themes/Shiki-$color/" done - printf '\n\n\n' + printf '\nRemoving Plank themes...' + for theme in plank/*;do + theme=$(basename "$theme") + printf " \"$theme\"" + rm -rf "$DESTDIR$HOME/.local/share/plank/themes/$theme" "$DESTDIR/usr/share/plank/themes/$theme" + done + printf '\n\n' } fix_line_endings() { -- cgit v1.2.3