diff options
author | Alexander Larsson <alexl@redhat.com> | 2015-05-21 18:52:13 +0200 |
---|---|---|
committer | Alexander Larsson <alexl@redhat.com> | 2015-05-21 18:54:06 +0200 |
commit | 8ffacee14c150bdbdb69b1b82f69e1066414f3da (patch) | |
tree | 2d32721a24dcfb62808a7ea237932912e4a9c14b /triggers/mime-database.trigger | |
parent | 3a68d242a6cd96c7262fea799b5bcf6193da2e38 (diff) | |
download | xdg-app-8ffacee14c150bdbdb69b1b82f69e1066414f3da.tar.gz |
Change /self to /app
This changes the application prefix to /app, which has the
advantage of being the same length as /usr. This may help
making some packages relocatable.
We make /self a symlink to /app for now, to keep existing images
work, but at some point we will probably remove this.
Diffstat (limited to 'triggers/mime-database.trigger')
-rwxr-xr-x | triggers/mime-database.trigger | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/triggers/mime-database.trigger b/triggers/mime-database.trigger index 8a6d3ae..f8edc17 100755 --- a/triggers/mime-database.trigger +++ b/triggers/mime-database.trigger @@ -1,5 +1,5 @@ #!/bin/sh -if test \( -x "$(which update-mime-database 2>/dev/null)" \) -a \( -d /self/exports/share/mime/packages \); then - exec update-mime-database /self/exports/share/mime +if test \( -x "$(which update-mime-database 2>/dev/null)" \) -a \( -d /app/exports/share/mime/packages \); then + exec update-mime-database /app/exports/share/mime fi |