e0dfdb6afa
Spotted by: QAT
140 lines
7 KiB
Bash
140 lines
7 KiB
Bash
#!/bin/sh
|
|
# $FreeBSD$
|
|
|
|
if [ "$2" != "POST-DEINSTALL" \
|
|
-o -d %%PREFIX%%/%%ACROBASE%% ]; then
|
|
exit 0
|
|
fi
|
|
|
|
cat <<EOT | while read F; do rm -f %%PREFIX%%/$F; done
|
|
share/applications/AdobeReader.desktop
|
|
share/applications/defaults.list.new
|
|
share/icons/hicolor/.xdg-icon-resource-dummy
|
|
share/icons/hicolor/128x128/apps/AdobeReader8.png
|
|
share/icons/hicolor/128x128/apps/adobe.pdf.png
|
|
share/icons/hicolor/128x128/apps/vnd.adobe.pdx.png
|
|
share/icons/hicolor/128x128/apps/vnd.adobe.xdp+xml.png
|
|
share/icons/hicolor/128x128/apps/vnd.adobe.xfdf.png
|
|
share/icons/hicolor/128x128/apps/vnd.fdf.png
|
|
share/icons/hicolor/128x128/mimetypes/application-pdf.png
|
|
share/icons/hicolor/128x128/mimetypes/application-vnd.adobe.pdx.png
|
|
share/icons/hicolor/128x128/mimetypes/application-vnd.adobe.xdp+xml.png
|
|
share/icons/hicolor/128x128/mimetypes/application-vnd.adobe.xfdf.png
|
|
share/icons/hicolor/128x128/mimetypes/application-vnd.fdf.png
|
|
share/icons/hicolor/16x16/apps/AdobeReader8.png
|
|
share/icons/hicolor/16x16/apps/adobe.pdf.png
|
|
share/icons/hicolor/16x16/apps/vnd.adobe.pdx.png
|
|
share/icons/hicolor/16x16/apps/vnd.adobe.xdp+xml.png
|
|
share/icons/hicolor/16x16/apps/vnd.adobe.xfdf.png
|
|
share/icons/hicolor/16x16/apps/vnd.fdf.png
|
|
share/icons/hicolor/16x16/mimetypes/application-pdf.png
|
|
share/icons/hicolor/16x16/mimetypes/application-vnd.adobe.pdx.png
|
|
share/icons/hicolor/16x16/mimetypes/application-vnd.adobe.xdp+xml.png
|
|
share/icons/hicolor/16x16/mimetypes/application-vnd.adobe.xfdf.png
|
|
share/icons/hicolor/16x16/mimetypes/application-vnd.fdf.png
|
|
share/icons/hicolor/192x192/apps/AdobeReader8.png
|
|
share/icons/hicolor/192x192/apps/adobe.pdf.png
|
|
share/icons/hicolor/192x192/apps/vnd.adobe.pdx.png
|
|
share/icons/hicolor/192x192/apps/vnd.adobe.xdp+xml.png
|
|
share/icons/hicolor/192x192/apps/vnd.adobe.xfdf.png
|
|
share/icons/hicolor/192x192/apps/vnd.fdf.png
|
|
share/icons/hicolor/192x192/mimetypes/application-pdf.png
|
|
share/icons/hicolor/192x192/mimetypes/application-vnd.adobe.pdx.png
|
|
share/icons/hicolor/192x192/mimetypes/application-vnd.adobe.xdp+xml.png
|
|
share/icons/hicolor/192x192/mimetypes/application-vnd.adobe.xfdf.png
|
|
share/icons/hicolor/192x192/mimetypes/application-vnd.fdf.png
|
|
share/icons/hicolor/20x20/apps/AdobeReader8.png
|
|
share/icons/hicolor/20x20/apps/adobe.pdf.png
|
|
share/icons/hicolor/20x20/apps/vnd.fdf.png
|
|
share/icons/hicolor/20x20/apps/vnd.adobe.pdx.png
|
|
share/icons/hicolor/20x20/apps/vnd.adobe.xdp+xml.png
|
|
share/icons/hicolor/20x20/apps/vnd.adobe.xfdf.png
|
|
share/icons/hicolor/20x20/mimetypes/application-pdf.png
|
|
share/icons/hicolor/20x20/mimetypes/application-vnd.fdf.png
|
|
share/icons/hicolor/20x20/mimetypes/application-vnd.adobe.pdx.png
|
|
share/icons/hicolor/20x20/mimetypes/application-vnd.adobe.xdp+xml.png
|
|
share/icons/hicolor/20x20/mimetypes/application-vnd.adobe.xfdf.png
|
|
share/icons/hicolor/22x22/apps/AdobeReader8.png
|
|
share/icons/hicolor/22x22/apps/adobe.pdf.png
|
|
share/icons/hicolor/22x22/apps/vnd.adobe.pdx.png
|
|
share/icons/hicolor/22x22/apps/vnd.adobe.xdp+xml.png
|
|
share/icons/hicolor/22x22/apps/vnd.adobe.xfdf.png
|
|
share/icons/hicolor/22x22/apps/vnd.fdf.png
|
|
share/icons/hicolor/22x22/mimetypes/application-pdf.png
|
|
share/icons/hicolor/22x22/mimetypes/application-vnd.adobe.pdx.png
|
|
share/icons/hicolor/22x22/mimetypes/application-vnd.adobe.xdp+xml.png
|
|
share/icons/hicolor/22x22/mimetypes/application-vnd.adobe.xfdf.png
|
|
share/icons/hicolor/22x22/mimetypes/application-vnd.fdf.png
|
|
share/icons/hicolor/24x24/apps/AdobeReader8.png
|
|
share/icons/hicolor/24x24/apps/adobe.pdf.png
|
|
share/icons/hicolor/24x24/apps/vnd.adobe.pdx.png
|
|
share/icons/hicolor/24x24/apps/vnd.adobe.xdp+xml.png
|
|
share/icons/hicolor/24x24/apps/vnd.adobe.xfdf.png
|
|
share/icons/hicolor/24x24/apps/vnd.fdf.png
|
|
share/icons/hicolor/24x24/mimetypes/application-pdf.png
|
|
share/icons/hicolor/24x24/mimetypes/application-vnd.adobe.pdx.png
|
|
share/icons/hicolor/24x24/mimetypes/application-vnd.adobe.xdp+xml.png
|
|
share/icons/hicolor/24x24/mimetypes/application-vnd.adobe.xfdf.png
|
|
share/icons/hicolor/24x24/mimetypes/application-vnd.fdf.png
|
|
share/icons/hicolor/32x32/apps/AdobeReader8.png
|
|
share/icons/hicolor/32x32/apps/adobe.pdf.png
|
|
share/icons/hicolor/32x32/apps/vnd.adobe.pdx.png
|
|
share/icons/hicolor/32x32/apps/vnd.adobe.xdp+xml.png
|
|
share/icons/hicolor/32x32/apps/vnd.adobe.xfdf.png
|
|
share/icons/hicolor/32x32/apps/vnd.fdf.png
|
|
share/icons/hicolor/32x32/mimetypes/application-pdf.png
|
|
share/icons/hicolor/32x32/mimetypes/application-vnd.adobe.pdx.png
|
|
share/icons/hicolor/32x32/mimetypes/application-vnd.adobe.xdp+xml.png
|
|
share/icons/hicolor/32x32/mimetypes/application-vnd.adobe.xfdf.png
|
|
share/icons/hicolor/32x32/mimetypes/application-vnd.fdf.png
|
|
share/icons/hicolor/36x36/apps/AdobeReader8.png
|
|
share/icons/hicolor/36x36/apps/adobe.pdf.png
|
|
share/icons/hicolor/36x36/apps/vnd.adobe.pdx.png
|
|
share/icons/hicolor/36x36/apps/vnd.adobe.xdp+xml.png
|
|
share/icons/hicolor/36x36/apps/vnd.adobe.xfdf.png
|
|
share/icons/hicolor/36x36/apps/vnd.fdf.png
|
|
share/icons/hicolor/36x36/mimetypes/application-pdf.png
|
|
share/icons/hicolor/36x36/mimetypes/application-vnd.adobe.pdx.png
|
|
share/icons/hicolor/36x36/mimetypes/application-vnd.adobe.xdp+xml.png
|
|
share/icons/hicolor/36x36/mimetypes/application-vnd.adobe.xfdf.png
|
|
share/icons/hicolor/36x36/mimetypes/application-vnd.fdf.png
|
|
share/icons/hicolor/48x48/apps/AdobeReader8.png
|
|
share/icons/hicolor/48x48/apps/adobe.pdf.png
|
|
share/icons/hicolor/48x48/apps/vnd.adobe.pdx.png
|
|
share/icons/hicolor/48x48/apps/vnd.adobe.xdp+xml.png
|
|
share/icons/hicolor/48x48/apps/vnd.adobe.xfdf.png
|
|
share/icons/hicolor/48x48/apps/vnd.fdf.png
|
|
share/icons/hicolor/48x48/mimetypes/application-pdf.png
|
|
share/icons/hicolor/48x48/mimetypes/application-vnd.adobe.pdx.png
|
|
share/icons/hicolor/48x48/mimetypes/application-vnd.adobe.xdp+xml.png
|
|
share/icons/hicolor/48x48/mimetypes/application-vnd.adobe.xfdf.png
|
|
share/icons/hicolor/48x48/mimetypes/application-vnd.fdf.png
|
|
share/icons/hicolor/64x64/apps/AdobeReader8.png
|
|
share/icons/hicolor/64x64/apps/adobe.pdf.png
|
|
share/icons/hicolor/64x64/apps/vnd.adobe.pdx.png
|
|
share/icons/hicolor/64x64/apps/vnd.adobe.xdp+xml.png
|
|
share/icons/hicolor/64x64/apps/vnd.adobe.xfdf.png
|
|
share/icons/hicolor/64x64/apps/vnd.fdf.png
|
|
share/icons/hicolor/64x64/mimetypes/application-pdf.png
|
|
share/icons/hicolor/64x64/mimetypes/application-vnd.adobe.pdx.png
|
|
share/icons/hicolor/64x64/mimetypes/application-vnd.adobe.xdp+xml.png
|
|
share/icons/hicolor/64x64/mimetypes/application-vnd.adobe.xfdf.png
|
|
share/icons/hicolor/64x64/mimetypes/application-vnd.fdf.png
|
|
share/icons/hicolor/96x96/apps/AdobeReader8.png
|
|
share/icons/hicolor/96x96/apps/adobe.pdf.png
|
|
share/icons/hicolor/96x96/apps/vnd.adobe.pdx.png
|
|
share/icons/hicolor/96x96/apps/vnd.adobe.xdp+xml.png
|
|
share/icons/hicolor/96x96/apps/vnd.adobe.xfdf.png
|
|
share/icons/hicolor/96x96/apps/vnd.fdf.png
|
|
share/icons/hicolor/96x96/mimetypes/application-pdf.png
|
|
share/icons/hicolor/96x96/mimetypes/application-vnd.adobe.pdx.png
|
|
share/icons/hicolor/96x96/mimetypes/application-vnd.adobe.xdp+xml.png
|
|
share/icons/hicolor/96x96/mimetypes/application-vnd.adobe.xfdf.png
|
|
share/icons/hicolor/96x96/mimetypes/application-vnd.fdf.png
|
|
EOT
|
|
|
|
cat <<EOT | while read D; do rmdir %%PREFIX%%/$D > /dev/null 2>&1 || true; done
|
|
share/icons/hicolor/20x20/mimetypes
|
|
share/icons/hicolor/20x20/apps
|
|
share/icons/hicolor/20x20
|
|
EOT
|