19 lines
623 B
Bash
19 lines
623 B
Bash
#!/bin/sh
|
|
|
|
install_deps() {
|
|
# @@@ Support other distros
|
|
MENU="$1"
|
|
if [ "$FILE" = "ClientesMac_rev34.zip" ] ; then
|
|
echo
|
|
elif [ "$FILE" = "ClientesLinux_DEB64_Rev25.zip" ] ; then
|
|
# Source: https://fran.cr/instalar-firma-digital-costa-rica-gnu-linux-ubuntu-debian/
|
|
get_pass "$MENU" "$TITLE" | sudo -Sk sh -c '
|
|
apt install -y p11-kit pcscd binutils bubblewrap icedtea-netx
|
|
systemctl enable --now pcscd.socket
|
|
'
|
|
elif [ "$FILE" = "ClientesLinux_CentOS7_Rev6" ] ; then
|
|
echo
|
|
elif [ "$FILE" = "ClientesLinux_RPM64_Rev24" ] ; then
|
|
echo
|
|
fi
|
|
}
|