From 1be8360939cbff2c294ab242d565294f19c7c8f8 Mon Sep 17 00:00:00 2001 From: Marek Marczykowski Date: Mon, 6 Feb 2012 19:06:37 +0100 Subject: [PATCH] vm/mimeopen: add missing misc-post-stop.sh script (#423) --- vm-systemd/misc-post-stop.sh | 8 ++++++++ 1 file changed, 8 insertions(+) create mode 100755 vm-systemd/misc-post-stop.sh diff --git a/vm-systemd/misc-post-stop.sh b/vm-systemd/misc-post-stop.sh new file mode 100755 index 00000000..a34346a4 --- /dev/null +++ b/vm-systemd/misc-post-stop.sh @@ -0,0 +1,8 @@ +#!/bin/sh + +# Save default applications for DispVM + +su -c 'mkdir -p /home_volatile/user/.local/share/applications' user +su -c 'cp -a /home/user/.local/share/applications/defaults.list /home_volatile/user/.local/share/applications/' user + +exit 0