Changeset 8489


Ignore:
Timestamp:
Mar 20, 2019, 1:01:27 PM (6 months ago)
Author:
daduve
Message:

Added updategrub2

File:
1 edited

Legend:

Unmodified
Added
Removed
  • first-aid-kit/trunk/fuentes/first-aid-kit.install/usr/share/first-aid-kit/KernelBox.py

    r8488 r8489  
    1212import sys
    1313import os
     14import subprocess
    1415import apt
    1516import platform
     
    527528                try:
    528529                        self.cache.commit()
    529                         #time.sleep(3) 
     530                        #os.system('update-grub2')
     531                        proc=subprocess.Popen('update-grub2',shell=True, stdin=None, stdout=open("/dev/null","w"), stderr=None, executable="/bin/bash")
     532                        proc.wait()
    530533                except Exception as e:
    531534                        self.core.dprint("Error in kernel_install_thread: %s"%e)       
Note: See TracChangeset for help on using the changeset viewer.