• Hugo Lefeuvre's avatar
    packaging: install repo and keys · c902ea1b
    Hugo Lefeuvre authored
    Currently it is very difficult for non-power-users to get Ring
    automatically updated when using the Debian package from the website.
    This is because configuring the Ring package repository requires
    command line operations.
    We want the Ring Debian/Ubuntu/whatever-Debian-based package (the
    one from the website, not the official one from the Debian archive)
    to make sure Ring's repository url and GnuPG key are installed as
    trusted source together with the binaries so that Ring gets
    transparently updated along with system updates.
    In order to do that, we have to change some things from the official
    package we have in the Debian archive:
    * we need to provide both daemon and client in a single ring-all
    package. Otherwise we will not be able to provide a one-click install
    (users would have to install daemon and client in two separate steps
    and that doesn't make much sense to non-geek users).
    So, replace ring by ring-all and keep building ring-daemon as before
    (we still want to provide daemon-only packages).
    * we need to add prerm and postinst scripts which will take care of
    installing the repo and keys (and this has to be done in different
    ways depending on the distribution) in the ring-all case.
    Also, remove transition package ring-gnome which has already
    disappeared from the Debian package some time ago.
    Change-Id: I34d5e5ba000d5d750c8db55c65b536a237a738b5
    Reviewed-by: Sébastien Blin's avatarSebastien Blin <sebastien.blin@savoirfairelinux.com>
ring-all.postinst 7.25 KB