Skip to content

Commit

Permalink
profiles: wget: unify wget2 into wget profile
Browse files Browse the repository at this point in the history
According to @rusty-snake[1]:

> Distributions started to replace wget with wget2 (I.e. `wget` and
> `wget2` are the same binary where one of them is a symlink to the
> other).

So move all custom entries (other than `private-bin`) from wget2.profile
into wget.profile and turn wget2.profile into more of a redirect to
wget.profile.

[1] #6542 (review)
  • Loading branch information
kmk3 committed Nov 25, 2024
1 parent 66a2818 commit c0718e9
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 6 deletions.
3 changes: 2 additions & 1 deletion etc/profile-m-z/wget.profile
Original file line number Diff line number Diff line change
Expand Up @@ -7,6 +7,7 @@ include wget.local
# Persistent global definitions
include globals.local

noblacklist ${HOME}/.config/wget
noblacklist ${HOME}/.local/share/wget
noblacklist ${HOME}/.netrc
noblacklist ${HOME}/.wget-hsts
Expand Down Expand Up @@ -55,7 +56,7 @@ private-bin wget
private-cache
private-dev
# Depending on workflow you can add the next line to your wget.local.
#private-etc alternatives,ca-certificates,crypto-policies,pki,resolv.conf,ssl,wgetrc
#private-etc alternatives,ca-certificates,crypto-policies,pki,resolv.conf,ssl,wget2rc,wgetrc
#private-tmp

dbus-user none
Expand Down
5 changes: 0 additions & 5 deletions etc/profile-m-z/wget2.profile
Original file line number Diff line number Diff line change
Expand Up @@ -8,12 +8,7 @@ include wget2.local
# added by included profile
#include globals.local

noblacklist ${HOME}/.config/wget
ignore noblacklist ${HOME}/.wgetrc

private-bin wget2
# Depending on workflow you can add the next line to your wget2.local.
#private-etc wget2rc

# Redirect
include wget.profile

0 comments on commit c0718e9

Please sign in to comment.