diff options
Diffstat (limited to 'usr.sbin/sysinstall')
-rw-r--r-- | usr.sbin/sysinstall/index.c | 4 | ||||
-rw-r--r-- | usr.sbin/sysinstall/package.c | 1 |
2 files changed, 5 insertions, 0 deletions
diff --git a/usr.sbin/sysinstall/index.c b/usr.sbin/sysinstall/index.c index 034e042..8b1a4ef 100644 --- a/usr.sbin/sysinstall/index.c +++ b/usr.sbin/sysinstall/index.c @@ -626,6 +626,7 @@ index_extract(Device *dev, PkgNodePtr top, PkgNodePtr who, Boolean depended) int status = DITEM_SUCCESS; PkgNodePtr tmp2; IndexEntryPtr id = who->data; + WINDOW *w = savescr(); if (id && id->deps && strlen(id->deps)) { char t[1024], *cp, *cp2; @@ -662,6 +663,7 @@ index_extract(Device *dev, PkgNodePtr top, PkgNodePtr who, Boolean depended) if (DITEM_STATUS(status) == DITEM_SUCCESS) id->installed = 1; } + restorescr(w); return status; } @@ -721,6 +723,7 @@ index_initialize(char *path) return DITEM_FAILURE; } + dialog_clear_norefresh(); msgNotify("Attempting to fetch %s file from selected media.", path); fp = mediaDevice->get(mediaDevice, path, TRUE); if (!fp) { @@ -735,6 +738,7 @@ index_initialize(char *path) restorescr(w); return DITEM_FAILURE; } + dialog_clear_norefresh(); msgNotify("Located INDEX, now reading package data from it..."); index_init(&Top, &Plist); if (index_read(fp, &Top)) { diff --git a/usr.sbin/sysinstall/package.c b/usr.sbin/sysinstall/package.c index 4af188a..2f810a7 100644 --- a/usr.sbin/sysinstall/package.c +++ b/usr.sbin/sysinstall/package.c @@ -162,6 +162,7 @@ package_extract(Device *dev, char *name, Boolean depended) sigpipe_caught = FALSE; signal(SIGPIPE, catch_pipe); + dialog_clear_norefresh(); msgNotify("Adding %s%s\nfrom %s", path, depended ? " (as a dependency)" : "", dev->name); pipe(pfd); pid = fork(); |