🔒 Repository is read-only – file editing is disabled.

recipes/gui/sshaskpass/sshaskpass.post-install main

9 linii Raw ← Powrót
123456789
INFO="\033[1;36m"
NORMAL="\033[0;39m"
if [ -f etc/sudo.conf ]; then
 if ( ! grep openssh/ssh-askpass /etc/sudo.conf > /dev/null );then
 	echo "# Path to askpass helper program
Path askpass /usr/libexec/openssh/ssh-askpass" >> etc/sudo.conf
	printf "${INFO}/etc/sudo.conf adjusted${NORMAL}\n"
 fi
fi