Remove tar sterr output on installscreen.

Add eject to installer.
This commit is contained in:
Arne Fitzenreiter
2010-08-12 18:02:58 +02:00
parent 156bae21d4
commit 23ed79cb49
2 changed files with 3 additions and 2 deletions

View File

@@ -0,0 +1 @@
../common/eject

View File

@@ -441,7 +441,7 @@ int main(int argc, char *argv[])
}
snprintf(commandstring, STRING_SIZE,
"/bin/tar -C /harddisk -xvf /cdrom/" SNAME "-" VERSION ".tlz --lzma");
"/bin/tar -C /harddisk -xvf /cdrom/" SNAME "-" VERSION ".tlz --lzma 2>/dev/null");
if (runcommandwithprogress(60, 4, title, commandstring, INST_FILECOUNT,
ctr[TR_INSTALLING_FILES]))
@@ -538,7 +538,7 @@ int main(int argc, char *argv[])
}
mysystem("umount /cdrom");
snprintf(commandstring, STRING_SIZE, "eject /dev/%s", sourcedrive);
snprintf(commandstring, STRING_SIZE, "/usr/bin/eject /dev/%s", sourcedrive);
mysystem(commandstring);
if (!unattended) {