Baptiste Daroussin <bapt <at> FreeBSD.org> writes:

> 
> On Thu, Oct 11, 2012 at 09:17:52AM +0300, Sergey V. Dyatko wrote:
> > Hi,
> > 
> > The ports tree is now using pkgng as the default package manager for
> > HEAD. Thus, I follow instructions from UPDATING (20121010) and got
> > following error: 
> > 
> > Installing xfce4-power-manager-1.2.0...pkg: xfce4-power-manager-1.2.0
> > conflicts with opera-12.02 (installs files into the same place).
> > Problematic file: /usr/local/share/icons/hicolor/icon-theme.cache
> > ...
> > so. question is: does line 'share/icons/hicolor/icon-theme.cache' are
> > needed on pkg_plist ?
> > ...
 
> no icon.cache should be in the plist as it is generated :)
> ...

$ grep -i icon-theme.cache /usr/ports/www/opera/pkg-plist 
share/icons/hicolor/icon-theme.cache

$ grep -i icon-theme.cache /var/db/pkg/opera-12.02/+CONTENTS 
@unexec /bin/rm %D/share/icons/hicolor/icon-theme.cache 2>/dev/null || /usr/bin
/true
share/icons/hicolor/icon-theme.cache

$ man pkg_create
...
     @unexec command
             Execute command as part of the deinstallation process.  Expansion
             of special % sequences is the same as for @exec.  This command is
             not executed during the package add, as @exec is, but rather when
             the package is deleted.  This is useful for deleting links and
             other ancillary files that were created as a result of adding the
             package, but not directly known to the package's table of con-
             tents (and hence not automatically removable).
...

I recently tried to make aware opera port maintainer about it
Maintained by: din...@freebsd.org
but with no effect.
jb

 
 




_______________________________________________
freebsd-xfce@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-xfce
To unsubscribe, send any mail to "freebsd-xfce-unsubscr...@freebsd.org"

Reply via email to