diff options
author | maxice8 <thinkabit.ukim@gmail.com> | 2019-01-01 21:09:25 -0200 |
---|---|---|
committer | Toyam Cox <aviator45003@gmail.com> | 2019-01-01 18:10:40 -0500 |
commit | 581e593aa91dce9a45e5bce466e02eb4edb52c40 (patch) | |
tree | 54801a621319766524dd0e2e77e736cca1c78310 /xuname | |
parent | 9f4faddbc8ed328cca1f092e48df3c334090f1c4 (diff) | |
download | xtools-581e593aa91dce9a45e5bce466e02eb4edb52c40.tar.gz xtools-581e593aa91dce9a45e5bce466e02eb4edb52c40.tar.xz xtools-581e593aa91dce9a45e5bce466e02eb4edb52c40.zip |
xuname: fix url v0.54
Diffstat (limited to 'xuname')
-rwxr-xr-x | xuname | 10 |
1 files changed, 5 insertions, 5 deletions
diff --git a/xuname b/xuname index ed3b442..065e3c0 100755 --- a/xuname +++ b/xuname @@ -9,12 +9,12 @@ HOLD=$(xbps-query -H) VM=$(dmesg | awk '/Hypervisor detected/{print $NF}') CPU=$(cat /proc/cpuinfo |awk '/^vendor_id/{print $NF;exit}') REPO=$(xbps-query --regex -p repository -s '.' | cut -d/ -f2- | sort -u | awk ' - /^\/repo.voidlinux.eu\/current\/multilib/ {m=m"m"} - /^\/repo.voidlinux.eu\/current\/debug/ {d=d"d"} - /^\/repo.voidlinux.eu\/current\/.*\/nonfree/ {n=n"n"} - /^\/repo.voidlinux.eu\/current/ {r=r"r"} + /^\/alpha.de.repo.voidlinux.org\/current\/multilib/ {m=m"m"} + /^\/alpha.de.repo.voidlinux.org\/current\/debug/ {d=d"d"} + /^\/alpha.de.repo.voidlinux.org\/current\/.*\/nonfree/ {n=n"n"} + /^\/alpha.de.repo.voidlinux.org\/current/ {r=r"r"} /xdowngrade-/ {D=D"D"} - !/repo.voidlinux.eu/ && !/xdowngrade-/ {F=F"F"} + !/alpha.de.voidlinux.org/ && !/xdowngrade-/ {F=F"F"} END { print r m d n D F } ') |