Skip to content

Commit

Permalink
abolish --i2p and move to update-i2pbrowser instead
Browse files Browse the repository at this point in the history
  • Loading branch information
Patrick Schleizer committed Sep 9, 2019
1 parent 188cc1e commit ac21f88
Show file tree
Hide file tree
Showing 2 changed files with 10 additions and 15 deletions.
11 changes: 10 additions & 1 deletion usr/bin/update-i2pbrowser
Expand Up @@ -7,4 +7,13 @@ export SCRIPTNAME="$(basename "$BASH_SOURCE")"

export ICON="/usr/share/icons/anon-icon-pack/tbupdate.ico"

update-torbrowser --i2p "$@"
export IDENTIFIER="i2pbrowser-downloader"
export tb_install_folder="i2pb"
export tb_install_folder_dot=".i2pb"
export tb_title="i2p Browser"
export tb_wiki="i2p_Browser"
export tb_browser_name="i2p-browser"
export tb_settings_folder="i2pbrowser.d"
export tb_bin="i2pbrowser"

update-torbrowser "$@"
14 changes: 0 additions & 14 deletions usr/bin/update-torbrowser
Expand Up @@ -305,20 +305,6 @@ tb_parse_cmd_options() {
[ -n "$tb_onion" ] || tb_onion="true"
shift
;;
--i2p)
## This option downloads a Tor Browser Bundle to a custom path,
## intended to be used with i2p. It does no modification to the
## browser itself.
IDENTIFIER="i2pbrowser-downloader"
tb_install_folder="i2pb"
tb_install_folder_dot=".i2pb"
tb_title="i2p Browser"
tb_wiki="i2p_Browser"
tb_browser_name="i2p-browser"
tb_settings_folder="i2pbrowser.d"
tb_bin="i2pbrowser"
shift
;;
--)
shift
break
Expand Down

0 comments on commit ac21f88

Please sign in to comment.