F
F
FulgerX20072019-06-19 10:26:26
Building projects
FulgerX2007, 2019-06-19 10:26:26

What to add to the SPEC file so that when installing the package it asks to enter data?

Hi all.
What to add to the SPEC file so that when installing the package it asks to enter data?
For example, when installing an RPM package to ask for data:

Git repository user: git_user
Git repository password:

Answer the question

In order to leave comments, you need to log in

1 answer(s)
F
FulgerX2007, 2019-06-20
@FulgerX2007

Found this solution

echo -n "Destination country : "
if exec </dev/tty; then
    read  country;
fi

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question