9 lines
264 B
Bash
Raw Normal View History

2023-08-04 10:19:07 -06:00
#!/usr/bin/env bash
source /etc/default/bazzite
if [[ ${BASE_IMAGE_NAME} == 'kinoite' ]]; then
2023-08-04 10:19:07 -06:00
SUDO_ASKPASS='/usr/bin/ksshaskpass'
elif [[ ${BASE_IMAGE_NAME} == 'silverblue' ]]; then
2023-08-04 10:19:07 -06:00
SUDO_ASKPASS='/usr/libexec/openssh/gnome-ssh-askpass'
fi
export SUDO_ASKPASS