From 4e5f5eaf481bd7244bf6bc41e602022f9a2c8e04 Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?Philip=20M=C3=BCller?= <philm@manjaro.org>
Date: Sat, 31 Aug 2019 05:21:11 -0400
Subject: [PATCH] [postcfg] adopt to 'opt/mhwd' folder

---
 src/modules/postcfg/main.py | 8 ++++----
 1 file changed, 4 insertions(+), 4 deletions(-)

diff --git a/src/modules/postcfg/main.py b/src/modules/postcfg/main.py
index 94f6f61b71..89182b927d 100644
--- a/src/modules/postcfg/main.py
+++ b/src/modules/postcfg/main.py
@@ -116,12 +116,12 @@ class ConfigController:
         if not office_package:
             libcalamares.utils.warning("no office suite selected, {!s}".format(office_package))
         else:
-            # For PoC we added the Office Packages to mhwd-live overlay in 18.1-rc7
-            cmd = ["pacman", "-S", office_package, "--noconfirm", "--config", "/opt/pacman-mhwd.conf" ]
-            self.mount("opt")
+            # For PoC we added the Office Packages to mhwd-live overlay in 18.1.0
+            cmd = ["pacman", "-S", office_package, "--noconfirm", "--config", "/opt/mhwd/pacman-mhwd.conf" ]
+            self.mount("opt/mhwd")
             self.mount("etc/resolv.conf")
             target_env_call(cmd)
-            self.umount("opt")
+            self.umount("opt/mhwd")
             self.umount("etc/resolv.conf")
 
         return None
-- 
GitLab