Lines Matching refs:script
46 from .templates import script
144 poltype[CGI] = _("Web Application/Script (CGI)")
445 raise ValueError(_("Only Daemon apps can use an init script.."))
1138 tmp = re.sub("TEMPLATETYPE", self.name, script.users)
1143 tmp = re.sub("TEMPLATETYPE", self.name, script.admin_trans)
1147 newsh += re.sub("TEMPLATETYPE", self.name, script.min_login_user_default_context)
1149 newsh += re.sub("TEMPLATETYPE", self.name, script.x_login_user_default_context)
1154 temp = re.sub("TEMPLATETYPE", self.file_name, script.compile)
1160 newsh += re.sub("DOMAINTYPE", self.name, script.manpage)
1163 newsh += re.sub("FILENAME", self.program, script.restorecon)
1165 newsh += re.sub("FILENAME", self.initscript, script.restorecon)
1168 newsh += re.sub("FILENAME", i, script.restorecon)
1171 newsh += re.sub("FILENAME", i, script.restorecon)
1175 t1 = re.sub("PORTNUM", "%d" % i, script.tcp_ports)
1180 t1 = re.sub("PORTNUM", "%d" % i, script.udp_ports)
1185 newsh += re.sub("TEMPLATEFILE", self.file_name, script.rpm)
1387 out += "%s # %s\n" % (self.write_sh(out_dir), _("Setup Script"))