Просмотр исходного кода

snapcraft: Point home and config dir towards non-versioned snap home (fixes #3730)

Jakob Borg 9 лет назад
Родитель
Сommit
562d2f67a6
1 измененных файлов с 1 добавлено и 1 удалено
  1. 1 1
      snapcraft.yaml.template

+ 1 - 1
snapcraft.yaml.template

@@ -13,7 +13,7 @@ confinement: strict
 
 apps:
   syncthing:
-    command: syncthing
+    command: env HOME="$SNAP_USER_COMMON" XDG_CONFIG_HOME="$SNAP_USER_COMMON" "$SNAP/syncthing"
     plugs: [home, network, network-bind]
 
 parts: