| Server IP : 173.249.148.11 / Your IP : 216.73.216.6 Web Server : Apache/2.4.68 (AlmaLinux) System : Linux developmentwebsite.ca 4.18.0-553.168.1.el8_10.x86_64 #1 SMP Thu Sep 24 18:05:46 UTC 2026 x86_64 User : devinter ( 1006) PHP Version : 8.3.35 Disable Function : NONE MySQL : ON | cURL : ON | WGET : ON | Perl : ON | Python : ON | Sudo : ON | Pkexec : ON Directory : /snap/core24/1643/bin/ |
Upload File : |
#!/bin/sh
PATH="$PATH:/usr/share/sensible-utils/bin"
# Prevent recursive loops, where these values are set to this script
program="$(realpath "$(command -v "$0")")"
Try()
{
# global $candidate
[ -z "$candidate" ] && return
# Prevent recursive loops, where environment variables are set to this script
[ x$(realpath "$(command -v "$candidate" || true)" || true) = "x$program" ] && return
# interpret like environ (7) man page. Do not use eval in order to not leak variables
sh -c "$candidate \"\$@\"" EDITOR "$@"
ret=$?
# Operating system command not found
[ "$ret" -ne 126 ] && [ "$ret" -ne 127 ] && exit "$ret"
}
candidate="$BROWSER"
Try "$@"
if test -n "$DISPLAY"; then
if test -n "$GNOME_DESKTOP_SESSION_ID"; then
if test -x /usr/bin/gnome-www-browser; then
exec /usr/bin/gnome-www-browser "$@"
elif test -x /usr/bin/x-www-browser; then
exec /usr/bin/x-www-browser "$@"
elif test -x /usr/bin/gnome-terminal && test -x /usr/bin/www-browser; then
exec /usr/bin/gnome-terminal -x /usr/bin/www-browser "$@"
fi
fi
if test -x /usr/bin/x-www-browser; then
exec /usr/bin/x-www-browser "$@"
elif test -x /usr/bin/x-terminal-emulator && test -x /usr/bin/www-browser; then
exec /usr/bin/x-terminal-emulator -x /usr/bin/www-browser "$@"
fi
elif test -x /usr/bin/www-browser; then
exec /usr/bin/www-browser "$@"
fi
echo "Couldn't find a suitable web browser!" >&2
echo "Set the BROWSER environment variable to your desired browser." >&2
exit 1