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