Пример #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)
Пример #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)
Пример #3
0
 def execute (self, logger):
     loggedos.remove (logger, self.file)
Пример #4
0
 def execute(self, logger):
     loggedos.remove(logger, self.file)