Lines Matching refs:pkgadm_dir
103 static char *pkgadm_dir;
134 pkgadm_dir = get_PKGADM();
138 if ((pkgadm_dir = strdup(cfdir)) == NULL) {
142 (void) snprintf(tmpcf, sizeof (tmpcf), "%s/contents", pkgadm_dir);
215 if (pkgadm_dir == NULL) {
236 newserver = pkgopenserver(NULL, pkgadm_dir, B_FALSE);
247 (void) snprintf(contents, sizeof (contents), "%s/contents", pkgadm_dir);
282 (void) snprintf(logfile, sizeof (logfile), "%s/" PKGLOG, pkgadm_dir);
378 if (pkgadm_dir == NULL) {
397 newserver = pkgopenserver(NULL, pkgadm_dir, readonly);
558 "%s/%s", pkgadm_dir, LOCKFILE);