summaryrefslogtreecommitdiffstats
path: root/examples/yesno
diff options
context:
space:
mode:
authorpgen <p.gen.progs@gmail.com>2019-03-20 00:25:48 +0100
committerpgen <p.gen.progs@gmail.com>2019-03-20 00:25:48 +0100
commit31cf4b4f8519186c87ee58b458e21f43f524ea76 (patch)
treee2afef4d8878785aaa8aa9f3644b14394b284fa1 /examples/yesno
parente82fb24e8a4bda56ed388803b8ba2f05c5d85ff9 (diff)
Improve the specfile
RPMs can now be created for more platforms, including SLE_11_SP4 and SLE_12_SP2.
Diffstat (limited to 'examples/yesno')
-rw-r--r--examples/yesno/README3
-rw-r--r--[-rwxr-xr-x]examples/yesno/yesno.sh0
2 files changed, 3 insertions, 0 deletions
diff --git a/examples/yesno/README b/examples/yesno/README
index bfbbd33..0565ff5 100644
--- a/examples/yesno/README
+++ b/examples/yesno/README
@@ -1,6 +1,9 @@
With this example you will discover how easily you can ask a user to
confirm a previous choice
+First, make sure to make yesno.sh executable (chmod +x yesno.sh) and
+enter: ./yesno.sh
+
The screenshot shows three use cases, one when just hitting 'Enter',
one when moving the cursor to YES before hitting 'Enter' and the last
one when just hitting 'q'
diff --git a/examples/yesno/yesno.sh b/examples/yesno/yesno.sh
index d0d9b47..d0d9b47 100755..100644
--- a/examples/yesno/yesno.sh
+++ b/examples/yesno/yesno.sh