From 381c0e075785cd4d50d7b656e01a6d5a3d63f15c 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 0000000..a34346a --- /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