diff options
author | Kylie McClain <somasissounds@gmail.com> | 2015-02-15 23:47:30 -0500 |
---|---|---|
committer | Kylie McClain <somasissounds@gmail.com> | 2015-02-15 23:47:30 -0500 |
commit | cede5f5a794ebf91a8ca824cf5bfd5e96aa8c463 (patch) | |
tree | aa3eea48f9c90ec372d1666eb2235ed7e4a88f1f | |
parent | a0818dd3e5faa91d1a61d7d00ef548e64ce9e203 (diff) |
make-colors-themes: remove plank themes during uninstallation
-rwxr-xr-x | make-colors-themes | 8 |
1 files changed, 7 insertions, 1 deletions
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() { |