[packagekit] Res: Res: Res: The file list dialog

Richard Hughes hughsient at gmail.com
Mon Jul 28 00:15:16 PDT 2008


On Sun, 2008-07-27 at 07:18 -0700, dantti85-pk at yahoo.com.br wrote:
> 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)

Yes, I thought of this, but then you get the following:

/etc/pam.d/pm-hibernate
/etc/pam.d/pm-powersave
/etc/pam.d/pm-suspend
/etc/pam.d/pm-suspend-hybrid
/etc/pm

^- directory/file?

/etc/pm-utils-hd-apm-restore.conf
/etc/pm/config.d
/etc/pm/power.d
/etc/pm/sleep.d
/etc/security/console.apps/pm-hibernate
/etc/security/console.apps/pm-powersave
/etc/security/console.apps/pm-suspend
/etc/security/console.apps/pm-suspend-hybrid
/usr/bin/on_ac_power
/usr/bin/pm-hibernate
/usr/bin/pm-is-supported
/usr/bin/pm-powersave
/usr/bin/pm-suspend
/usr/bin/pm-suspend-hybrid
/usr/bin/pm-utils-bugreport-info.sh
/usr/lib/pm-utils
/usr/lib/pm-utils/bin
/usr/lib/pm-utils/bin/pm-action
/usr/lib/pm-utils/bin/pm-pmu
/usr/lib/pm-utils/bin/pm-reset-swap
/usr/lib/pm-utils/defaults
/usr/lib/pm-utils/functions
/usr/lib/pm-utils/module.d
/usr/lib/pm-utils/module.d/kernel
/usr/lib/pm-utils/module.d/tuxonice
/usr/lib/pm-utils/module.d/uswsusp
/usr/lib/pm-utils/pm-functions

(it's an empty directory)

Richard.





More information about the PackageKit mailing list