install

installer
Log | Files | Refs | README | LICENSE | git clone https://git.ne02ptzero.me/git/install

commit 4ebd09c79c8bf66e70a3319833dd380c61ca6910
parent 697bd211a6199d3cdeb491d07e881e1935e9aa60
Author: Ne02ptzero <louis@ne02ptzero.me>
Date:   Thu, 12 Jan 2017 15:11:16 +0100

Fix(Final installations): Clean & Grub

Diffstat:
Mscreens/install/install.py | 4++--
1 file changed, 2 insertions(+), 2 deletions(-)

diff --git a/screens/install/install.py b/screens/install/install.py @@ -995,7 +995,7 @@ class Install: def grub(self): print("Installing grub...") layout = self.conf_lst["partitionning.layout"] - root = [p for p in layout if p["flag"] == "Root"] + root = [p for p in layout if p["flag"] == "Root"][0] self.exec(["grub-install", self.conf_lst["partitionning.disk"]]) with open("/boot/grub/grub.cfg", "w+") as fd: @@ -1010,7 +1010,7 @@ class Install: # This function clean the entire system def final_clean(self): print("Cleaning system...") - self.e(["rm", "-rf", "/packages"]) + self.exec(["rm", "-rf", "/packages"]) # Exiting chroot os.fchdir(self.real_root)