Changeset 1442


Ignore:
Timestamp:
May 9, 2016, 1:49:00 PM (3 years ago)
Author:
jrpelegrina
Message:

Fix slave_blacklist

Location:
zero-center/trunk/fuentes
Files:
2 edited

Legend:

Unmodified
Added
Removed
  • zero-center/trunk/fuentes/install-files/usr/share/zero-center/zero-center.py

    r1436 r1442  
    10591059       
    10601060        def app_clicked(self,widget,app):
    1061                 if not os.environ["MASTER_SERVER_IP"]:
    1062                         if self.blacklist[app]:
    1063                                 self.open_dialog("Warning",_("<b>%s</b> Operation not allowed on a slave server"),False)
    1064                                 return -1
     1061                if  "MASTER_SERVER_IP" in os.environ:
     1062                        if app["ID"] in self.blacklist:
     1063                                self.open_dialog("Warning",_("Operation not allowed on a slave server"),False)
     1064                                return -1
    10651065                if app["ID"] in self.configured_apps:
    10661066                        ret=self.open_dialog("Warning",_("<b>%s</b> is already configured. Do you want to execute it again?")%self.get_name(app),True)
  • zero-center/trunk/fuentes/n4dvars/SLAVE_BLACKLIST

    r1438 r1442  
    1111                        "install-moodle": ["moodle"],
    1212                        "lliurex-owncloud":["owncloud"],
    13                         "lliurex-pmb-installer":["pmb","opac"],
     13                        "zero-lliurex-pmb-installer":["pmb","opac"],
    1414                        "lliurex-freeradius":[]
    1515                },
Note: See TracChangeset for help on using the changeset viewer.