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

Konstantin Pavlov git at videolan.org
Tue May 29 18:39:21 CEST 2018


vlc | branch: master | Konstantin Pavlov <thresh at videolan.org> | Tue May 29 19:33:54 2018 +0300| [33b2413d9aefa6900983ba897bd483850b700f67] | committer: Konstantin Pavlov

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.

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

 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