[Users] spec file and config_template.xml

Truong Anh Tuan tuanta at iwayvietnam.com
Sun May 29 17:09:57 CEST 2016


On 05/28/2016 12:58 PM, Barry De Graaff wrote:
> 
> Hello Tuan,
> 
> Thanks for your spec file for ownCloud Zimlet.

You are welcome.

> Can you add something to deal with
> config_template.xml
> 
> This is a file with admin configuration, it is also present in pgp-zimlet. One
> probably does NOT want to overwrite that file (if modified) on updates.
> 
> So old version, config_template.xml (not changed by admin), means to upgrade it
> if changes occur on rpm update... otherwise leave it untouched.

The technique I currently us to deal with a RPM zimlet package is to
make a zip file and put into the package.
Once RPM package is installed, that zip file is simply copied to the
folder /opt/zimbra/zimlets-extra then let "zmzimletctl deploy" do the
rest (in %post installation)

Therefore, I have no idea how to deal with your issue now.
Anything we can do with "zmzimletctl deploy"? Or any other ideas?

> Can you take a look at that please? In the mean time I am testing your packages on
> another production server, that is NOT the alliance one, as that run Ubuntu.

How can you use a Yum repo on Ubuntu?
Or you will convert RPM to DEB by alien, won't you?

-- 
Rgds,
Tuan

-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 181 bytes
Desc: OpenPGP digital signature
URL: <http://lists.zetalliance.org/pipermail/users_lists.zetalliance.org/attachments/20160529/2f8bee39/attachment.sig>


More information about the Users mailing list