From 5a651e8ee5723b27f69a64cb603f60bb81bb8228 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Ga=C3=ABtan?= Date: Fri, 21 Apr 2023 10:22:11 +0200 Subject: [PATCH] Fix #112 Update Ubuntu expect syntax (#113) Update Ubuntu expect syntax --- expects/expect-ubuntu.sh | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/expects/expect-ubuntu.sh b/expects/expect-ubuntu.sh index 39c280e..be470ef 100755 --- a/expects/expect-ubuntu.sh +++ b/expects/expect-ubuntu.sh @@ -179,13 +179,13 @@ send -- "y\r" expect -exact "Real name: " send -- "$REALNAME\r" -expect -exact "E-mail address: " +expect -exact "Email address: " send -- "$EMAIL\r" expect -exact "Comment: " send -- "$COMMENT\r" -expect -exact "Change (N)ame, (C)omment, (E)-mail or (O)kay/(Q)uit? " +expect -exact "Change (N)ame, (C)omment, (E)mail or (O)kay/(Q)uit? " send -- "O\r" # Send new Admin PIN @@ -241,7 +241,7 @@ expect -exact "Enter Admin PIN: " stty -echo send -- "$ADMIN_PIN\r" -expect -exact "Set touch policy of ENC key to on? \[y/N\]: " +expect -exact "Set touch policy of DEC key to on? \[y/N\]: " send -- "y\r" expect eof