Skip to content

Commit b920681

Browse files
committed
profiles: wget: unify wget2 into wget profile
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] netblue30#6542 (review)
1 parent 66a2818 commit b920681

File tree

2 files changed

+2
-6
lines changed

2 files changed

+2
-6
lines changed

etc/profile-m-z/wget.profile

+2-1
Original file line numberDiff line numberDiff line change
@@ -7,6 +7,7 @@ include wget.local
77
# Persistent global definitions
88
include globals.local
99

10+
noblacklist ${HOME}/.config/wget
1011
noblacklist ${HOME}/.local/share/wget
1112
noblacklist ${HOME}/.netrc
1213
noblacklist ${HOME}/.wget-hsts
@@ -55,7 +56,7 @@ private-bin wget
5556
private-cache
5657
private-dev
5758
# Depending on workflow you can add the next line to your wget.local.
58-
#private-etc alternatives,ca-certificates,crypto-policies,pki,resolv.conf,ssl,wgetrc
59+
#private-etc alternatives,ca-certificates,crypto-policies,pki,resolv.conf,ssl,wgetrc,wget2rc
5960
#private-tmp
6061

6162
dbus-user none

etc/profile-m-z/wget2.profile

-5
Original file line numberDiff line numberDiff line change
@@ -8,12 +8,7 @@ include wget2.local
88
# added by included profile
99
#include globals.local
1010

11-
noblacklist ${HOME}/.config/wget
12-
ignore noblacklist ${HOME}/.wgetrc
13-
1411
private-bin wget2
15-
# Depending on workflow you can add the next line to your wget2.local.
16-
#private-etc wget2rc
1712

1813
# Redirect
1914
include wget.profile

0 commit comments

Comments
 (0)