From: Frank Brehm Date: Thu, 16 Dec 2021 16:19:29 +0000 (+0100) Subject: Adding rpm-addsign-wrapper.expect X-Git-Tag: 0.4.1~4^2~15 X-Git-Url: https://git.uhu-banane.org/?a=commitdiff_plain;h=854c60726d878fe227c3e62ef289f31bc9c4ede9;p=pixelpark%2Fpp-admin-tools.git Adding rpm-addsign-wrapper.expect --- diff --git a/rpm-addsign-wrapper.expect b/rpm-addsign-wrapper.expect new file mode 100755 index 0000000..51261eb --- /dev/null +++ b/rpm-addsign-wrapper.expect @@ -0,0 +1,8 @@ +#!/bin/expect +set f [lindex $argv 0] +set p [lindex $argv 1] +spawn rpm --addsign $f +expect "Enter pass phrase:" +send -- "$p\r" +expect eof +