El Saturday 11 January 2014, Andrey Kozhevnikov escribió:
> There are reasons for chmod 666 in /usr/share/appname

There are reasons for being 666 permissions, I got that, but isn't it possible 
the make that directory with such permissions as default?

Sorry, I'm trying to understand the problem. :)
 
> Also i'm using scriptlets for closing my applications before 
> installation new version/remove and so on

That's a neat feature, indeed!

How are you doing it, by the way? I'm still looking at how the packaging 
works, and in general the internals of Sailfish, but it might be possible that 
you could subscribe to some signal D-Bus signal from PackageKit to know when 
the application is upgraded. You can easily (but probably inefficiently) listen 
to the Changed signal, and then check if your application has changed. There 
has to be a better way, so I'll try to investigate.

-- 
Alex (a.k.a. suy) | GPG ID 0x0B8B0BC2
http://barnacity.net/ | http://disperso.net
_______________________________________________
SailfishOS.org Devel mailing list

Reply via email to