update: add --yes and --skip arguments to install command
This commit is contained in:
parent
ea28e9ee1b
commit
7fdd396aef
@ -8,7 +8,7 @@ msgid ""
|
||||
msgstr ""
|
||||
"Project-Id-Version: PACKAGE VERSION\n"
|
||||
"Report-Msgid-Bugs-To: \n"
|
||||
"POT-Creation-Date: 2024-08-01 19:30+0300\n"
|
||||
"POT-Creation-Date: 2024-08-15 04:25+0300\n"
|
||||
"PO-Revision-Date: YEAR-MO-DA HO:MI+ZONE\n"
|
||||
"Last-Translator: FULL NAME <EMAIL@ADDRESS>\n"
|
||||
"Language-Team: LANGUAGE <LL@li.org>\n"
|
||||
@ -270,7 +270,7 @@ msgstr "Failed to parse configuration file"
|
||||
msgid "Copying all the targets"
|
||||
msgstr ""
|
||||
|
||||
#: src/cmd/gen.c:61 src/cmd/pull.c:150
|
||||
#: src/cmd/gen.c:61 src/cmd/pull.c:152
|
||||
#, fuzzy
|
||||
msgid "Failed to copy the target:"
|
||||
msgstr "Failed to open the directory: %s"
|
||||
@ -324,19 +324,19 @@ msgstr "Failed to get the location header"
|
||||
msgid "All the target checks were successful"
|
||||
msgstr ""
|
||||
|
||||
#: src/cmd/pull.c:144
|
||||
#: src/cmd/pull.c:146
|
||||
msgid "Install the target?"
|
||||
msgstr ""
|
||||
|
||||
#: src/cmd/pull.c:145
|
||||
#: src/cmd/pull.c:147
|
||||
msgid "Skipping target"
|
||||
msgstr ""
|
||||
|
||||
#: src/cmd/pull.c:178
|
||||
#: src/cmd/pull.c:180
|
||||
msgid "Installing all the requirements"
|
||||
msgstr ""
|
||||
|
||||
#: src/cmd/pull.c:181
|
||||
#: src/cmd/pull.c:183
|
||||
#, fuzzy
|
||||
msgid "Failed to run the "
|
||||
msgstr "Failed to init curl"
|
||||
|
@ -133,10 +133,12 @@ copy:
|
||||
cur = repo_cfg.t_first;
|
||||
info(_("Copying all the targets"));
|
||||
|
||||
char **argv = malloc(sizeof(char *));
|
||||
char **argv = malloc(sizeof(char *) * 3);
|
||||
int argc = 1, indx = 1;
|
||||
|
||||
argv[0] = "install";
|
||||
argv[1] = "--skip";
|
||||
argv[2] = "--yes";
|
||||
|
||||
while (cur && ++counter > 0) {
|
||||
target_print(cur);
|
||||
|
Loading…
Reference in New Issue
Block a user