[packagekit] Res: Res: Res: The file list dialog
dantti85-pk at yahoo.com.br
dantti85-pk at yahoo.com.br
Sun Jul 27 07:18:04 PDT 2008
>[hughsie at hughsie-work src]$ rpm -ql gnome-user-share
>/etc/gconf/schemas/desktop_gnome_file_sharing.schemas
>/etc/xdg/autostart/gnome-user-share.desktop
>/usr/bin/gnome-file-share-properties
>/usr/libexec/gnome-user-share
>is /usr/libexec/gnome-user-share a directory or a file? It's quite
>difficult to put metrics on this sort of thing.
if follow my logic each line of it would be a file, and i think
all of then are files.. is /usr/libexec/gnome-user-share a dir?
if you just guess that the first occurrence
of every non-slash ending part of the string is a file you
will only be wrong if some package has an empty dir...
(always comparing to the next lines so if i got a line like:
/usr/libexec/gnome-user-share/g-u-s, now i'll change the
/usr/libexec/gnome-user-share to be a dir with g-u-s inside)
what do you think?
Daniel.
----- Mensagem original ----
De: Richard Hughes <hughsient at gmail.com>
Para: PackageKit users and developers list <packagekit at lists.freedesktop.org>
Enviadas: Domingo, 27 de Julho de 2008 5:02:32
Assunto: Re: [packagekit] Res: Res: The file list dialog
On Sat, 2008-07-26 at 20:05 -0700, dantti85-pk at yahoo.com.br wrote:
> Richard i dont know if i understood correctly but i think
> we could guess the directory structure
> This is what i got from dpkg -L, as you said some backends might be
> different
> but how different?
[hughsie at hughsie-work src]$ rpm -ql gnome-user-share
/etc/gconf/schemas/desktop_gnome_file_sharing.schemas
/etc/xdg/autostart/gnome-user-share.desktop
/usr/bin/gnome-file-share-properties
/usr/libexec/gnome-user-share
is /usr/libexec/gnome-user-share a directory or a file? It's quite
difficult to put metrics on this sort of thing.
Richard.
_______________________________________________
PackageKit mailing list
PackageKit at lists.freedesktop.org
http://lists.freedesktop.org/mailman/listinfo/packagekit
Novos endereços, o Yahoo! que você conhece. Crie um email novo com a sua cara @ymail.com ou @rocketmail.com.
http://br.new.mail.yahoo.com/addresses
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.freedesktop.org/archives/packagekit/attachments/20080727/daaa8b12/attachment-0003.htm>
More information about the PackageKit
mailing list