Beispiel #1
0
 def rewire (logger, file):
     if os.path.islink (file):
         s = os.readlink (file)
         if s.startswith ('/') and self.settings.system_root not in s:
             new_dest = os.path.join (self.settings.system_root, s[1:])
             loggedos.remove (logger, file)
             loggedos.symlink (logger, new_dest, file)
Beispiel #2
0
 def rewire(logger, file):
     if os.path.islink(file):
         s = os.readlink(file)
         if s.startswith('/') and self.settings.system_root not in s:
             new_dest = os.path.join(self.settings.system_root, s[1:])
             loggedos.remove(logger, file)
             loggedos.symlink(logger, new_dest, file)
Beispiel #3
0
 def execute (self, logger):
     loggedos.remove (logger, self.file)
Beispiel #4
0
 def execute(self, logger):
     loggedos.remove(logger, self.file)