[vlc-commits] snap: look for VLC configuration in non-versioned directory.

Konstantin Pavlov git at videolan.org
Tue May 29 18:40:04 CEST 2018


vlc/vlc-3.0 | branch: master | Konstantin Pavlov <thresh at videolan.org> | Tue May 29 19:33:54 2018 +0300| [c2bb759264e1603d2a01ebcb13d7d9971af9512e] | committer: Jean-Baptiste Kempf

snap: look for VLC configuration in non-versioned directory.

snap sets $HOME to per-revision directory, e.g.
/home/thresh/snap/$revision/, which means the configuration will not be
inherited between updates.

(cherry picked from commit 33b2413d9aefa6900983ba897bd483850b700f67)
Signed-off-by: Jean-Baptiste Kempf <jb at videolan.org>

> http://git.videolan.org/gitweb.cgi/vlc/vlc-3.0.git/?a=commit;h=c2bb759264e1603d2a01ebcb13d7d9971af9512e
---

 extras/package/snap/vlc-snap-wrapper.sh | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/extras/package/snap/vlc-snap-wrapper.sh b/extras/package/snap/vlc-snap-wrapper.sh
index 19d6231b66..161981283e 100755
--- a/extras/package/snap/vlc-snap-wrapper.sh
+++ b/extras/package/snap/vlc-snap-wrapper.sh
@@ -31,4 +31,4 @@ export KDE_FORK_SLAVES=1
 ## Neon PATCH! make KIO look for slaves in a dynamic location depending on $SNAP
 export KF5_LIBEXEC_DIR=$SNAP/usr/lib/$ARCH/libexec/kf5
 
-exec $SNAP/usr/bin/vlc "$@"
+exec $SNAP/usr/bin/vlc --config=$SNAP_USER_COMMON/vlcrc "$@"



More information about the vlc-commits mailing list