I am working on a tool that can uninstall any arbitrary package or set
of packages based on package receipts, package identifiers or
packages. In the course of testing on Growl (com.growl.growl.pkg), I
noticed that the Growl 1.2 package metadata seems to be incorrect.

In particular, Growl specifies BOTH a default install location of
"Library/PreferencePanes" and has all its package paths rooted with
"Library/PreferencePanes":

%uninstall -n --remove all com.growl.growl.pkg
============================================================================
Uninstalling "com.growl.growl.pkg"...
  Searching for package identifier for "com.growl.growl.pkg"...
Uninstalling by identifier: "com.growl.growl.pkg"...
  from location: "/Library/PreferencePanes/"...
    Would remove: /Library/PreferencePanes/Library/PreferencePanes/
Growl.prefPane/Contents/Resources/zh_TW.lproj/WebKitPrefs.nib
    Would remove: /Library/PreferencePanes/Library/PreferencePanes/
Growl.prefPane/Contents/Resources/zh_TW.lproj/Localizable.strings
    ...

Compare this with other similar packages:

%uninstall -n --remove all /Library/Receipts/TiVoDesktop.pkg
============================================================================
Uninstalling "/Library/Receipts/TiVoDesktop.pkg"...
Uninstalling by path: "/Library/Receipts/TiVoDesktop.pkg"...
Uninstalling package: "TiVoDesktop.pkg"...
  from location: "/"...
    Would remove: /Library/StartupItems/TiVoDesktop/TiVoDesktop
    Would remove: /Library/StartupItems/TiVoDesktop/
StartupParameters.plist
    Would remove: /Library/StartupItems/TiVoDesktop
    Would remove: /Library/StartupItems
      Skipping restricted directory...
    Would remove: /Library/QuickTime
    Would remove: /Library/PreferencePanes/TiVoDesktop.prefPane/
Contents/Resources/tivo.icns
    ...

%uninstall -n --remove all com.apple.pkg.X11User
============================================================================
Uninstalling "com.apple.pkg.X11User"...
  Searching for package identifier for "com.apple.pkg.X11User"...
Uninstalling by identifier: "com.apple.pkg.X11User"...
  from location: "/"...
    Would remove: /usr/X11R6
    Would remove: /usr/X11/var/cache/fontconfig
      Checking directory: /usr/X11/var/cache/fontconfig
    Would remove: /usr/X11/var/cache
      Checking directory: /usr/X11/var/cache
    Would remove: /usr/X11/var
      Checking directory: /usr/X11/var
    Would remove: /usr/X11/share/xcb/xvmc.xml
    Would remove: /usr/X11/share/xcb/xv.xml
    Would remove: /usr/X11/share/xcb/xtest.xml
    Would remove: /usr/X11/share/xcb/xproto.xml
    Would remove: /usr/X11/share/xcb/xprint.xml
    Would remove: /usr/X11/share/xcb/xinerama.xml
    Would remove: /usr/X11/share/xcb/xfixes.xml
    Would remove: /usr/X11/share/xcb/xf86dri.xml
    ...

Regards,

Grant

-- 
You received this message because you are subscribed to the Google Groups 
"Growl Discuss" group.
To post to this group, send email to [email protected].
To unsubscribe from this group, send email to 
[email protected].
For more options, visit this group at 
http://groups.google.com/group/growldiscuss?hl=en.

Reply via email to