feat(gnome): Implement askpass

This commit is contained in:
RJ Trujillo 2023-08-04 10:19:07 -06:00
parent 586d10e84f
commit 812d654e3a
2 changed files with 7 additions and 1 deletions

View File

@ -101,6 +101,7 @@ RUN if grep -v "gnome" <<< "${IMAGE_NAME}"; then \
gnome-shell-extension-appindicator \
gnome-shell-extension-gsconnect \
gnome-shell-extension-system76-scheduler && \
openssh-askpass \
rpm-ostree override remove \
gnome-tour \
yelp \

View File

@ -1,2 +1,7 @@
SUDO_ASKPASS='/usr/bin/ksshaskpass'
#!/usr/bin/env bash
if grep -qv "gnome" <<< $(cat /etc/default/bazzite); then
SUDO_ASKPASS='/usr/bin/ksshaskpass'
else
SUDO_ASKPASS='/usr/libexec/openssh/gnome-ssh-askpass'
fi
export SUDO_ASKPASS