- Timestamp:
- Apr 5, 2016, 6:13:58 PM (5 years ago)
- Location:
- lmd/trunk/fuentes
- Files:
-
- 2 edited
Legend:
- Unmodified
- Added
- Removed
-
lmd/trunk/fuentes/debian/changelog
r1108 r1109 1 lmd (2.4.34-lliurex1) xenial; urgency=medium 2 3 * Removed method to detect lliurex 13 4 5 -- M.Angel Juan <m.angel.juan@gmail.com> Tue, 05 Apr 2016 18:13:21 +0200 6 1 7 lmd (2.4.34) xenial; urgency=medium 2 8 -
lmd/trunk/fuentes/lmd-server.install/usr/share/n4d/python-plugins/LmdServer.py
r928 r1109 741 741 742 742 ret_list=[]; 743 for name in os.listdir(ltsp_dir): 744 dir=ltsp_dir+name 745 746 needs_update=False 747 if (name!='images' and os.path.isdir(dir)): 748 proc = subprocess.Popen(["chroot "+dir +" lliurex-version"], stdout=subprocess.PIPE, shell=True) 749 (out, err) = proc.communicate() 750 751 if ((not "16.05" in out) and out!="" ): 752 # check nbd... 753 for nbd_descriptor in os.listdir(nbd_dir): 754 if (self.line_in_file("["+ltsp_dir+name+"]", nbd_dir+nbd_descriptor)): 755 needs_update=True 756 if (needs_update==True): 757 ret_list.append(name) 758 743 744 #OBSOLETE REMOVED METHOD 745 #RETURN EMPTY LIST TO LMD-GUI TO AVOID LLIUREX 13 WARNING 746 #for name in os.listdir(ltsp_dir): 747 # dir=ltsp_dir+name 748 # 749 # needs_update=False 750 # if (name!='images' and os.path.isdir(dir)): 751 # proc = subprocess.Popen(["chroot "+dir +" lliurex-version"], stdout=subprocess.PIPE, shell=True) 752 # (out, err) = proc.communicate() 753 # 754 # if ((not "16.05" in out) and out!="" ): 755 # # check nbd... 756 # for nbd_descriptor in os.listdir(nbd_dir): 757 # if (self.line_in_file("["+ltsp_dir+name+"]", nbd_dir+nbd_descriptor)): 758 # needs_update=True 759 # if (needs_update==True): 760 # ret_list.append(name) 761 # 759 762 return ret_list 760 763
Note: See TracChangeset
for help on using the changeset viewer.