apps on different partitions/media
Alexander Larsson
alexl at redhat.com
Mon Apr 11 11:32:57 UTC 2016
On mån, 2016-04-11 at 12:26 +0100, Robert McQueen wrote:
> Hi all,
>
> An alternative approach is if xdg-app could support a mode where
> apps
> were installed in a 3rd (or Nth) place which wasn't simply on the
> system
> or in the user's home directory. What would it take to add some kind
> of
> --external mode to xdg-app where it could manage an app
> repo/deployments
> on another path which wasn't the system one or the user one?
Its kind of a hack, but could you not just patch in symlinks in the
right place in the xdg-app system repo.
So, for instance:
mkdir -p /var/lib/xdg-app/app/com.endlessm.OldApp/x86_64/master/
ln -s /old/install/dir /var/lib/xdg-app/app/com.endlessm.OldApp/x86_64/master/old-version
ln -s old-version active
You have to add a metadata file to the app too.
I think xdg-app would pick this up as an installed app fine, and if you set up the right
config in the system repo it may even update it correctly.
--
=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=
Alexander Larsson Red Hat, Inc
alexl at redhat.com alexander.larsson at gmail.com
He's a shy drug-addicted filmmaker on a mission from God. She's a
transdimensional kleptomaniac soap star looking for love in all the wrong
places. They fight crime!
More information about the xdg-app
mailing list