Pull up following revision(s) (requested by martin in ticket #82): usr.sbin/sysinst/util.c: revision 1.30 usr.sbin/sysinst/msg.mi.fr: revision 1.19 usr.sbin/sysinst/msg.mi.de: revision 1.15 usr.sbin/sysinst/msg.mi.es: revision 1.16 usr.sbin/sysinst/msg.mi.pl: revision 1.22 usr.sbin/sysinst/msg.mi.en: revision 1.21 PR 54473: fix error prompt when a set file is missingdiff -r1.13.2.1 -r1.13.2.2 src/usr.sbin/sysinst/msg.mi.de
(msaitoh)
--- src/usr.sbin/sysinst/msg.mi.de 2019/08/18 13:21:40 1.13.2.1
+++ src/usr.sbin/sysinst/msg.mi.de 2019/08/18 13:25:21 1.13.2.2
@@ -1,14 +1,14 @@ | @@ -1,14 +1,14 @@ | |||
1 | /* $NetBSD: msg.mi.de,v 1.13.2.1 2019/08/18 13:21:40 msaitoh Exp $ */ | 1 | /* $NetBSD: msg.mi.de,v 1.13.2.2 2019/08/18 13:25:21 msaitoh Exp $ */ | |
2 | 2 | |||
3 | /* | 3 | /* | |
4 | * Copyright 1997 Piermont Information Systems Inc. | 4 | * Copyright 1997 Piermont Information Systems Inc. | |
5 | * All rights reserved. | 5 | * All rights reserved. | |
6 | * | 6 | * | |
7 | * Written by Philip A. Nelson for Piermont Information Systems Inc. | 7 | * Written by Philip A. Nelson for Piermont Information Systems Inc. | |
8 | * | 8 | * | |
9 | * Redistribution and use in source and binary forms, with or without | 9 | * Redistribution and use in source and binary forms, with or without | |
10 | * modification, are permitted provided that the following conditions | 10 | * modification, are permitted provided that the following conditions | |
11 | * are met: | 11 | * are met: | |
12 | * 1. Redistributions of source code must retain the above copyright | 12 | * 1. Redistributions of source code must retain the above copyright | |
13 | * notice, this list of conditions and the following disclaimer. | 13 | * notice, this list of conditions and the following disclaimer. | |
14 | * 2. Redistributions in binary form must reproduce the above copyright | 14 | * 2. Redistributions in binary form must reproduce the above copyright | |
@@ -669,28 +669,31 @@ message resolv | @@ -669,28 +669,31 @@ message resolv | |||
669 | } | 669 | } | |
670 | 670 | |||
671 | /* Called with: Example | 671 | /* Called with: Example | |
672 | * $0 = target prefix /target/etc | 672 | * $0 = target prefix /target/etc | |
673 | * $1 = error message No such file or directory | 673 | * $1 = error message No such file or directory | |
674 | */ | 674 | */ | |
675 | message realdir | 675 | message realdir | |
676 | {Konnte nicht in das Verzeichnis $0 wechseln: $1 | 676 | {Konnte nicht in das Verzeichnis $0 wechseln: $1 | |
677 | Installation abgebrochen.} | 677 | Installation abgebrochen.} | |
678 | 678 | |||
679 | message delete_xfer_file | 679 | message delete_xfer_file | |
680 | {Nach der Installation löschen} | 680 | {Nach der Installation löschen} | |
681 | 681 | |||
682 | /* Called with: Example | |||
683 | * $0 = set name base | |||
684 | */ | |||
682 | message notarfile | 685 | message notarfile | |
683 | {Das Release-Paket %s existiert nicht.} | 686 | {Das Release-Paket $0 existiert nicht.} | |
684 | 687 | |||
685 | message endtarok | 688 | message endtarok | |
686 | {Alle Distributionspakete wurden erfolgreich entpackt.} | 689 | {Alle Distributionspakete wurden erfolgreich entpackt.} | |
687 | 690 | |||
688 | message endtar | 691 | message endtar | |
689 | {Beim Entpacken der Distributionspakete sind Probleme aufgetreten. | 692 | {Beim Entpacken der Distributionspakete sind Probleme aufgetreten. | |
690 | Ihre Installation ist daher unvollständig. | 693 | Ihre Installation ist daher unvollständig. | |
691 | 694 | |||
692 | Sie haben %d Distributionssets ausgewählt. %d davon wurden nicht | 695 | Sie haben %d Distributionssets ausgewählt. %d davon wurden nicht | |
693 | gefunden und %d wegen eines Fehlers übersprungen. | 696 | gefunden und %d wegen eines Fehlers übersprungen. | |
694 | Von %d zu entpackenden Paketen sind %d erfolgreich und %d | 697 | Von %d zu entpackenden Paketen sind %d erfolgreich und %d | |
695 | mit Fehler entpackt worden. | 698 | mit Fehler entpackt worden. | |
696 | 699 |
--- src/usr.sbin/sysinst/msg.mi.en 2019/08/18 13:21:40 1.19.2.1
+++ src/usr.sbin/sysinst/msg.mi.en 2019/08/18 13:25:21 1.19.2.2
@@ -1,14 +1,14 @@ | @@ -1,14 +1,14 @@ | |||
1 | /* $NetBSD: msg.mi.en,v 1.19.2.1 2019/08/18 13:21:40 msaitoh Exp $ */ | 1 | /* $NetBSD: msg.mi.en,v 1.19.2.2 2019/08/18 13:25:21 msaitoh Exp $ */ | |
2 | 2 | |||
3 | /* | 3 | /* | |
4 | * Copyright 1997 Piermont Information Systems Inc. | 4 | * Copyright 1997 Piermont Information Systems Inc. | |
5 | * All rights reserved. | 5 | * All rights reserved. | |
6 | * | 6 | * | |
7 | * Written by Philip A. Nelson for Piermont Information Systems Inc. | 7 | * Written by Philip A. Nelson for Piermont Information Systems Inc. | |
8 | * | 8 | * | |
9 | * Redistribution and use in source and binary forms, with or without | 9 | * Redistribution and use in source and binary forms, with or without | |
10 | * modification, are permitted provided that the following conditions | 10 | * modification, are permitted provided that the following conditions | |
11 | * are met: | 11 | * are met: | |
12 | * 1. Redistributions of source code must retain the above copyright | 12 | * 1. Redistributions of source code must retain the above copyright | |
13 | * notice, this list of conditions and the following disclaimer. | 13 | * notice, this list of conditions and the following disclaimer. | |
14 | * 2. Redistributions in binary form must reproduce the above copyright | 14 | * 2. Redistributions in binary form must reproduce the above copyright | |
@@ -642,28 +642,31 @@ message resolv | @@ -642,28 +642,31 @@ message resolv | |||
642 | } | 642 | } | |
643 | 643 | |||
644 | /* Called with: Example | 644 | /* Called with: Example | |
645 | * $0 = target prefix /target | 645 | * $0 = target prefix /target | |
646 | * $1 = error message No such file or directory | 646 | * $1 = error message No such file or directory | |
647 | */ | 647 | */ | |
648 | message realdir | 648 | message realdir | |
649 | {Could not change to directory $0: $1. | 649 | {Could not change to directory $0: $1. | |
650 | Install aborted.} | 650 | Install aborted.} | |
651 | 651 | |||
652 | message delete_xfer_file | 652 | message delete_xfer_file | |
653 | {Delete after install} | 653 | {Delete after install} | |
654 | 654 | |||
655 | /* Called with: Example | |||
656 | * $0 = set name base | |||
657 | */ | |||
655 | message notarfile | 658 | message notarfile | |
656 | {Release set %s does not exist.} | 659 | {Release set $0 does not exist.} | |
657 | 660 | |||
658 | message endtarok | 661 | message endtarok | |
659 | {All selected distribution sets unpacked successfully.} | 662 | {All selected distribution sets unpacked successfully.} | |
660 | 663 | |||
661 | message endtar | 664 | message endtar | |
662 | {There were problems unpacking distribution sets. | 665 | {There were problems unpacking distribution sets. | |
663 | Your installation is incomplete. | 666 | Your installation is incomplete. | |
664 | 667 | |||
665 | You selected %d distribution sets. %d sets couldn't be found | 668 | You selected %d distribution sets. %d sets couldn't be found | |
666 | and %d were skipped after an error occurred. Of the %d | 669 | and %d were skipped after an error occurred. Of the %d | |
667 | that were attempted, %d unpacked without errors and %d with errors. | 670 | that were attempted, %d unpacked without errors and %d with errors. | |
668 | 671 | |||
669 | Aborting installation. Please recheck your distribution source | 672 | Aborting installation. Please recheck your distribution source |
--- src/usr.sbin/sysinst/msg.mi.es 2019/08/18 13:21:40 1.14.2.1
+++ src/usr.sbin/sysinst/msg.mi.es 2019/08/18 13:25:21 1.14.2.2
@@ -1,14 +1,14 @@ | @@ -1,14 +1,14 @@ | |||
1 | /* $NetBSD: msg.mi.es,v 1.14.2.1 2019/08/18 13:21:40 msaitoh Exp $ */ | 1 | /* $NetBSD: msg.mi.es,v 1.14.2.2 2019/08/18 13:25:21 msaitoh Exp $ */ | |
2 | 2 | |||
3 | /* | 3 | /* | |
4 | * Copyright 1997 Piermont Information Systems Inc. | 4 | * Copyright 1997 Piermont Information Systems Inc. | |
5 | * All rights reserved. | 5 | * All rights reserved. | |
6 | * | 6 | * | |
7 | * Written by Philip A. Nelson for Piermont Information Systems Inc. | 7 | * Written by Philip A. Nelson for Piermont Information Systems Inc. | |
8 | * | 8 | * | |
9 | * Redistribution and use in source and binary forms, with or without | 9 | * Redistribution and use in source and binary forms, with or without | |
10 | * modification, are permitted provided that the following conditions | 10 | * modification, are permitted provided that the following conditions | |
11 | * are met: | 11 | * are met: | |
12 | * 1. Redistributions of source code must retain the above copyright | 12 | * 1. Redistributions of source code must retain the above copyright | |
13 | * notice, this list of conditions and the following disclaimer. | 13 | * notice, this list of conditions and the following disclaimer. | |
14 | * 2. Redistributions in binary form must reproduce the above copyright | 14 | * 2. Redistributions in binary form must reproduce the above copyright | |
@@ -658,28 +658,31 @@ message resolv | @@ -658,28 +658,31 @@ message resolv | |||
658 | } | 658 | } | |
659 | 659 | |||
660 | /* Called with: Example | 660 | /* Called with: Example | |
661 | * $0 = target prefix /target | 661 | * $0 = target prefix /target | |
662 | * $1 = error message No such file or directory | 662 | * $1 = error message No such file or directory | |
663 | */ | 663 | */ | |
664 | message realdir | 664 | message realdir | |
665 | {No se ha podido cambiar el directorio a $0: $1 | 665 | {No se ha podido cambiar el directorio a $0: $1 | |
666 | Instalación interrumpida.} | 666 | Instalación interrumpida.} | |
667 | 667 | |||
668 | message delete_xfer_file | 668 | message delete_xfer_file | |
669 | {A eliminar después de la instalación} | 669 | {A eliminar después de la instalación} | |
670 | 670 | |||
671 | /* Called with: Example | |||
672 | * $0 = set name base | |||
673 | */ | |||
671 | message notarfile | 674 | message notarfile | |
672 | {El conjunto %s no existe.} | 675 | {El conjunto $0 no existe.} | |
673 | 676 | |||
674 | message endtarok | 677 | message endtarok | |
675 | {Todos los conjuntos de distribución han sido desempaquetados | 678 | {Todos los conjuntos de distribución han sido desempaquetados | |
676 | correctamente.} | 679 | correctamente.} | |
677 | 680 | |||
678 | message endtar | 681 | message endtar | |
679 | {Ha habido problemas al desempaquetar los conjuntos de la distribución. | 682 | {Ha habido problemas al desempaquetar los conjuntos de la distribución. | |
680 | Su instalación está incompleta. | 683 | Su instalación está incompleta. | |
681 | 684 | |||
682 | Ha seleccionado %d conjuntos de distribución. %d conjuntos no han sido | 685 | Ha seleccionado %d conjuntos de distribución. %d conjuntos no han sido | |
683 | encontrados, y %d han sido omitidos después de que ocurriera un | 686 | encontrados, y %d han sido omitidos después de que ocurriera un | |
684 | error. De los %d que se han intentado, %d se han desempaquetado | 687 | error. De los %d que se han intentado, %d se han desempaquetado | |
685 | sin errores y %d con errores. | 688 | sin errores y %d con errores. |
--- src/usr.sbin/sysinst/msg.mi.fr 2019/08/18 13:21:40 1.17.2.1
+++ src/usr.sbin/sysinst/msg.mi.fr 2019/08/18 13:25:21 1.17.2.2
@@ -1,14 +1,14 @@ | @@ -1,14 +1,14 @@ | |||
1 | /* $NetBSD: msg.mi.fr,v 1.17.2.1 2019/08/18 13:21:40 msaitoh Exp $ */ | 1 | /* $NetBSD: msg.mi.fr,v 1.17.2.2 2019/08/18 13:25:21 msaitoh Exp $ */ | |
2 | 2 | |||
3 | /* | 3 | /* | |
4 | * Copyright 1997 Piermont Information Systems Inc. | 4 | * Copyright 1997 Piermont Information Systems Inc. | |
5 | * All rights reserved. | 5 | * All rights reserved. | |
6 | * | 6 | * | |
7 | * Written by Philip A. Nelson for Piermont Information Systems Inc. | 7 | * Written by Philip A. Nelson for Piermont Information Systems Inc. | |
8 | * | 8 | * | |
9 | * Redistribution and use in source and binary forms, with or without | 9 | * Redistribution and use in source and binary forms, with or without | |
10 | * modification, are permitted provided that the following conditions | 10 | * modification, are permitted provided that the following conditions | |
11 | * are met: | 11 | * are met: | |
12 | * 1. Redistributions of source code must retain the above copyright | 12 | * 1. Redistributions of source code must retain the above copyright | |
13 | * notice, this list of conditions and the following disclaimer. | 13 | * notice, this list of conditions and the following disclaimer. | |
14 | * 2. Redistributions in binary form must reproduce the above copyright | 14 | * 2. Redistributions in binary form must reproduce the above copyright | |
@@ -674,28 +674,31 @@ Impossible de créer le fichier /etc/reso | @@ -674,28 +674,31 @@ Impossible de créer le fichier /etc/reso | |||
674 | * $0 = target prefix /target | 674 | * $0 = target prefix /target | |
675 | * $1 = error message No such file or directory | 675 | * $1 = error message No such file or directory | |
676 | */ | 676 | */ | |
677 | message realdir | 677 | message realdir | |
678 | { | 678 | { | |
679 | Impossible de déplacer le répertoire $0: $1 | 679 | Impossible de déplacer le répertoire $0: $1 | |
680 | Échec de l'installation.} | 680 | Échec de l'installation.} | |
681 | 681 | |||
682 | message delete_xfer_file | 682 | message delete_xfer_file | |
683 | { | 683 | { | |
684 | Effacer après l'installation | 684 | Effacer après l'installation | |
685 | } | 685 | } | |
686 | 686 | |||
687 | /* Called with: Example | |||
688 | * $0 = set name base | |||
689 | */ | |||
687 | message notarfile | 690 | message notarfile | |
688 | {Le composant %s n'existe pas.} | 691 | {Le composant $0 n'existe pas.} | |
689 | 692 | |||
690 | message endtarok | 693 | message endtarok | |
691 | { | 694 | { | |
692 | Tous les composants sont installés. Veuillez appuyer sur la touche | 695 | Tous les composants sont installés. Veuillez appuyer sur la touche | |
693 | Entrée pour continuer. | 696 | Entrée pour continuer. | |
694 | } | 697 | } | |
695 | 698 | |||
696 | message endtar | 699 | message endtar | |
697 | { | 700 | { | |
698 | L'installation des composants est terminée. Toutefois, un ou plusieurs | 701 | L'installation des composants est terminée. Toutefois, un ou plusieurs | |
699 | problèmes sont survenus au cours de leur extraction. | 702 | problèmes sont survenus au cours de leur extraction. | |
700 | 703 | |||
701 | Vous avez sélectionné %d composants. %d n'ont pu être installés, | 704 | Vous avez sélectionné %d composants. %d n'ont pu être installés, |
--- src/usr.sbin/sysinst/msg.mi.pl 2019/08/18 13:21:40 1.20.2.1
+++ src/usr.sbin/sysinst/msg.mi.pl 2019/08/18 13:25:21 1.20.2.2
@@ -1,14 +1,14 @@ | @@ -1,14 +1,14 @@ | |||
1 | /* $NetBSD: msg.mi.pl,v 1.20.2.1 2019/08/18 13:21:40 msaitoh Exp $ */ | 1 | /* $NetBSD: msg.mi.pl,v 1.20.2.2 2019/08/18 13:25:21 msaitoh Exp $ */ | |
2 | /* Based on english version: */ | 2 | /* Based on english version: */ | |
3 | /* NetBSD: msg.mi.pl,v 1.36 2004/04/17 18:55:35 atatat Exp */ | 3 | /* NetBSD: msg.mi.pl,v 1.36 2004/04/17 18:55:35 atatat Exp */ | |
4 | 4 | |||
5 | /* | 5 | /* | |
6 | * Copyright 1997 Piermont Information Systems Inc. | 6 | * Copyright 1997 Piermont Information Systems Inc. | |
7 | * All rights reserved. | 7 | * All rights reserved. | |
8 | * | 8 | * | |
9 | * Written by Philip A. Nelson for Piermont Information Systems Inc. | 9 | * Written by Philip A. Nelson for Piermont Information Systems Inc. | |
10 | * | 10 | * | |
11 | * Redistribution and use in source and binary forms, with or without | 11 | * Redistribution and use in source and binary forms, with or without | |
12 | * modification, are permitted provided that the following conditions | 12 | * modification, are permitted provided that the following conditions | |
13 | * are met: | 13 | * are met: | |
14 | * 1. Redistributions of source code must retain the above copyright | 14 | * 1. Redistributions of source code must retain the above copyright | |
@@ -638,28 +638,31 @@ message resolv | @@ -638,28 +638,31 @@ message resolv | |||
638 | } | 638 | } | |
639 | 639 | |||
640 | /* Called with: Example | 640 | /* Called with: Example | |
641 | * $0 = target prefix /target | 641 | * $0 = target prefix /target | |
642 | * $1 = error message No such file or directory | 642 | * $1 = error message No such file or directory | |
643 | */ | 643 | */ | |
644 | message realdir | 644 | message realdir | |
645 | {Nie moglem przejsc do katalogu $0: $1 | 645 | {Nie moglem przejsc do katalogu $0: $1 | |
646 | Instalacja przerwana.} | 646 | Instalacja przerwana.} | |
647 | 647 | |||
648 | message delete_xfer_file | 648 | message delete_xfer_file | |
649 | {Usun po zakonczeniu instalacji} | 649 | {Usun po zakonczeniu instalacji} | |
650 | 650 | |||
651 | /* Called with: Example | |||
652 | * $0 = set name base | |||
653 | */ | |||
651 | message notarfile | 654 | message notarfile | |
652 | {Pakiet %s nie istnieje.} | 655 | {Pakiet $0 nie istnieje.} | |
653 | 656 | |||
654 | message endtarok | 657 | message endtarok | |
655 | {Wszystkie wybrane pakiety dystrybucji zostaly rozpakowane.} | 658 | {Wszystkie wybrane pakiety dystrybucji zostaly rozpakowane.} | |
656 | 659 | |||
657 | message endtar | 660 | message endtar | |
658 | {Wystapil blad w trackie rozpakowywania pakietow. | 661 | {Wystapil blad w trackie rozpakowywania pakietow. | |
659 | Twoja instalacja jest niekompletna. | 662 | Twoja instalacja jest niekompletna. | |
660 | 663 | |||
661 | Wybrales %d pakietow dystrybucyjnych. %d pakiety nie zostaly znalezione | 664 | Wybrales %d pakietow dystrybucyjnych. %d pakiety nie zostaly znalezione | |
662 | i %d zostalo pominietych z powodu bledow. Z %d docelowych, | 665 | i %d zostalo pominietych z powodu bledow. Z %d docelowych, | |
663 | %d rozpakowalo sie bez bledow i %d z bledami. | 666 | %d rozpakowalo sie bez bledow i %d z bledami. | |
664 | 667 | |||
665 | Instalacja zostala przerwana. Sprawdz zrodlo swojej dystrybucji i rozwaz | 668 | Instalacja zostala przerwana. Sprawdz zrodlo swojej dystrybucji i rozwaz |
--- src/usr.sbin/sysinst/util.c 2019/07/24 10:22:04 1.29
+++ src/usr.sbin/sysinst/util.c 2019/08/18 13:25:21 1.29.2.1
@@ -1,14 +1,14 @@ | @@ -1,14 +1,14 @@ | |||
1 | /* $NetBSD: util.c,v 1.29 2019/07/24 10:22:04 roy Exp $ */ | 1 | /* $NetBSD: util.c,v 1.29.2.1 2019/08/18 13:25:21 msaitoh Exp $ */ | |
2 | 2 | |||
3 | /* | 3 | /* | |
4 | * Copyright 1997 Piermont Information Systems Inc. | 4 | * Copyright 1997 Piermont Information Systems Inc. | |
5 | * All rights reserved. | 5 | * All rights reserved. | |
6 | * | 6 | * | |
7 | * Written by Philip A. Nelson for Piermont Information Systems Inc. | 7 | * Written by Philip A. Nelson for Piermont Information Systems Inc. | |
8 | * | 8 | * | |
9 | * Redistribution and use in source and binary forms, with or without | 9 | * Redistribution and use in source and binary forms, with or without | |
10 | * modification, are permitted provided that the following conditions | 10 | * modification, are permitted provided that the following conditions | |
11 | * are met: | 11 | * are met: | |
12 | * 1. Redistributions of source code must retain the above copyright | 12 | * 1. Redistributions of source code must retain the above copyright | |
13 | * notice, this list of conditions and the following disclaimer. | 13 | * notice, this list of conditions and the following disclaimer. | |
14 | * 2. Redistributions in binary form must reproduce the above copyright | 14 | * 2. Redistributions in binary form must reproduce the above copyright | |
@@ -906,40 +906,45 @@ extract_file(distinfo *dist, int update) | @@ -906,40 +906,45 @@ extract_file(distinfo *dist, int update) | |||
906 | owd = getcwd(NULL, 0); | 906 | owd = getcwd(NULL, 0); | |
907 | 907 | |||
908 | /* Do we need to fetch the file now? */ | 908 | /* Do we need to fetch the file now? */ | |
909 | if (fetch_fn != NULL) { | 909 | if (fetch_fn != NULL) { | |
910 | rval = fetch_fn(dist->name); | 910 | rval = fetch_fn(dist->name); | |
911 | if (rval != SET_OK) | 911 | if (rval != SET_OK) | |
912 | return rval; | 912 | return rval; | |
913 | } | 913 | } | |
914 | 914 | |||
915 | /* check tarfile exists */ | 915 | /* check tarfile exists */ | |
916 | if (!file_exists_p(path)) { | 916 | if (!file_exists_p(path)) { | |
917 | 917 | |||
918 | #ifdef SUPPORT_8_3_SOURCE_FILESYSTEM | 918 | #ifdef SUPPORT_8_3_SOURCE_FILESYSTEM | |
919 | /* | 919 | /* | |
920 | * Update path to use dist->name truncated to the first eight | 920 | * Update path to use dist->name truncated to the first eight | |
921 | * characters and check again | 921 | * characters and check again | |
922 | */ | 922 | */ | |
923 | (void)snprintf(path, sizeof path, "%s/%.8s%.4s", /* 4 as includes '.' */ | 923 | (void)snprintf(path, sizeof path, | |
924 | ext_dir_for_set(dist->name), dist->name, set_postfix(dist->name)); | 924 | "%s/%.8s%.4s", /* 4 as includes '.' */ | |
925 | ext_dir_for_set(dist->name), dist->name, | |||
926 | set_postfix(dist->name)); | |||
927 | ||||
925 | if (!file_exists_p(path)) { | 928 | if (!file_exists_p(path)) { | |
926 | #endif /* SUPPORT_8_3_SOURCE_FILESYSTEM */ | 929 | #endif /* SUPPORT_8_3_SOURCE_FILESYSTEM */ | |
930 | tarstats.nnotfound++; | |||
927 | 931 | |||
928 | tarstats.nnotfound++; | 932 | char *err = str_arg_subst(msg_string(MSG_notarfile), | |
929 | 933 | 1, &dist->name); | ||
930 | hit_enter_to_continue(MSG_notarfile, NULL); | 934 | hit_enter_to_continue(err, NULL); | |
931 | return SET_RETRY; | 935 | free(err); | |
932 | } | 936 | return SET_RETRY; | |
937 | } | |||
933 | #ifdef SUPPORT_8_3_SOURCE_FILESYSTEM | 938 | #ifdef SUPPORT_8_3_SOURCE_FILESYSTEM | |
934 | } | 939 | } | |
935 | #endif /* SUPPORT_8_3_SOURCE_FILESYSTEM */ | 940 | #endif /* SUPPORT_8_3_SOURCE_FILESYSTEM */ | |
936 | 941 | |||
937 | tarstats.nfound++; | 942 | tarstats.nfound++; | |
938 | /* cd to the target root. */ | 943 | /* cd to the target root. */ | |
939 | if (update && (dist->set == SET_ETC || dist->set == SET_X11_ETC)) { | 944 | if (update && (dist->set == SET_ETC || dist->set == SET_X11_ETC)) { | |
940 | make_target_dir("/.sysinst"); | 945 | make_target_dir("/.sysinst"); | |
941 | target_chdir_or_die("/.sysinst"); | 946 | target_chdir_or_die("/.sysinst"); | |
942 | } else if (dist->set == SET_PKGSRC) | 947 | } else if (dist->set == SET_PKGSRC) | |
943 | target_chdir_or_die("/usr"); | 948 | target_chdir_or_die("/usr"); | |
944 | else | 949 | else | |
945 | target_chdir_or_die("/"); | 950 | target_chdir_or_die("/"); |