Lines Matching refs:script
169 char script[PATH_MAX]; in main() local
930 (void) snprintf(script, sizeof (script), "%s/preremove", pkgbin); in main()
931 if (access(script, F_OK) != 0) { in main()
937 echoDebug(DBG_PKGREMOVE_POC_NODEL, pkginst, script, in main()
941 echoDebug(DBG_PKGREMOVE_POC_DBUPD, pkginst, script, in main()
948 echoDebug(DBG_PKGREMOVE_EXEPOC_GZ, pkginst, script); in main()
951 echoDebug(DBG_PKGREMOVE_EXEPOC_LZ, pkginst, script, in main()
958 script, NULL), ERR_PREREMOVE); in main()
961 PROC_USER, PROC_GRP, SHELL, script, in main()
1010 (void) snprintf(script, sizeof (script), "%s/postremove", pkgbin); in main()
1011 if (access(script, F_OK) != 0) { in main()
1017 echoDebug(DBG_PKGREMOVE_PIC_NODEL, pkginst, script, in main()
1021 echoDebug(DBG_PKGREMOVE_PIC_DBUPD, pkginst, script, in main()
1028 echoDebug(DBG_PKGREMOVE_EXEPIC_GZ, pkginst, script); in main()
1031 echoDebug(DBG_PKGREMOVE_EXEPIC_LZ, pkginst, script, in main()
1038 PROC_GRP, SHELL, "-x", script, NULL), in main()
1042 PROC_GRP, SHELL, script, NULL), in main()
1120 char script[PATH_MAX]; in rmclass() local
1137 (void) snprintf(script, sizeof (script), "%s/r.%s", pkgbin, aclass); in rmclass()
1138 if (access(script, F_OK) != 0) { in rmclass()
1139 (void) snprintf(script, sizeof (script), "%s/r.%s", in rmclass()
1141 if (access(script, F_OK) != 0) in rmclass()
1142 script[0] = '\0'; in rmclass()
1144 if (script[0] != '\0') { in rmclass()
1182 if (!ept->ftype || (ept->ftype == '^' && !script[0])) { in rmclass()
1200 } else if (script[0]) { in rmclass()
1275 if (script[0]) { in rmclass()
1277 set_ulimit(script, ERR_CASFAIL); in rmclass()
1280 CAS_GRP, SHELL, "-x", script, NULL), in rmclass()
1284 CAS_GRP, SHELL, script, NULL), in rmclass()