icons: Fix uninstall.
authorBen Pfaff <blp@cs.stanford.edu>
Fri, 1 Apr 2022 01:52:42 +0000 (18:52 -0700)
committerBen Pfaff <blp@cs.stanford.edu>
Fri, 1 Apr 2022 01:53:17 +0000 (18:53 -0700)
The uninstall target for the icons looked for filenames that began with
"pspp", but the new names for the application icons don't start that way.

Fixes: 25e030629aed ("Rename icon files to match full application ID.")
src/ui/gui/icons/automake.mk

index 2876f8a5c07b6aea8f6d2c9bcaa07605c95fee61..e0116ab73f1b09a13f9fe63dde70014c8c7051cc 100644 (file)
@@ -41,6 +41,7 @@ uninstall-ext-icons:
                                (test ! "`printf '%s %s %s' . .. *`" = '. .. *' || test -f '*')) 2> /dev/null ; then \
                                  rm -rf $(themedir)/$$size/$$context/application-x-spss-* ; \
                                  rm -rf $(themedir)/$$size/$$context/pspp* ; \
+                                 rm -rf $(themedir)/$$size/$$context/org.fsf.pspp*; \
                        fi ; \
                done ; \
        done