yd: Use yt-dlp instead of youtube-dl
[sunny256-utils.git] / firefox
blobcef21920945ebf8c550a4ae6177bec01620c2135
1 #!/usr/bin/env bash
3 #=======================================================================
4 # firefox
5 # File ID: 14cc7a8c-3746-11e4-9e92-c80aa9e67bbd
6 # [Description]
7 # License: GNU General Public License version 2 or later.
8 #=======================================================================
10 xmessage -default okay "No. Use Brave."
11 exit 1
13 unset file
14 for f in /opt/firefox/firefox /usr/bin/firefox; do
15 test -x "$f" && { file="$f"; break; }
16 done
17 if test "$1" = "--version"; then
18 "$file" --version
19 else
20 sess -t c_firefox -- "$file" "$@"