mirror of
https://github.com/ublue-os/bazzite.git
synced 2025-01-30 12:32:37 +00:00
019704d757
Instead of the raw key being assigned, a key wrapped in quotations was incorrectly assigned
12 lines
347 B
Bash
Executable File
12 lines
347 B
Bash
Executable File
#!/usr/bin/env bash
|
|
|
|
IMAGE_INFO="/usr/share/ublue-os/image-info.json"
|
|
BASE_IMAGE_NAME=$(jq -r '."base-image-name"' < $IMAGE_INFO)
|
|
|
|
if [[ ${BASE_IMAGE_NAME} == 'kinoite' ]]; then
|
|
SUDO_ASKPASS='/usr/bin/ksshaskpass'
|
|
elif [[ ${BASE_IMAGE_NAME} == 'silverblue' ]]; then
|
|
SUDO_ASKPASS='/usr/libexec/openssh/gnome-ssh-askpass'
|
|
fi
|
|
export SUDO_ASKPASS
|