update URL
This commit is contained in:
parent
0c4d7f18d5
commit
84e01b674d
@ -49,7 +49,7 @@ Custom Prompt Shell Settings for Bash
|
||||
|
||||
1. Download file `install.sh`:
|
||||
|
||||
$ wget https://git.sr.ht/~heckyel/hyperterm/blob/master/install.sh -O "$HOME/install.sh"
|
||||
$ wget https://hgit.conocimientoslibres.ga/software/hyperterm.git/plain/install.sh -O "$HOME/install.sh"
|
||||
|
||||
2. Run file `install.sh`
|
||||
|
||||
|
@ -26,12 +26,12 @@ function _url_exists() {
|
||||
}
|
||||
|
||||
function _urls() {
|
||||
URL_1="https://git.sr.ht/~heckyel/hyperterm"
|
||||
URL_1="https://hgit.conocimientoslibres.ga/software/hyperterm.git"
|
||||
URL_2="https://notabug.org/heckyel/hyperterm"
|
||||
|
||||
if [[ $(_url_exists "$URL_1") -eq 0 ]]; then
|
||||
URL="$URL_1"
|
||||
RAW="$URL_1/blob/master"
|
||||
RAW="$URL_1/plain"
|
||||
elif [[ $(_url_exists "$URL_2") -eq 0 ]]; then
|
||||
URL="$URL_2"
|
||||
RAW="$URL_2/raw/master"
|
||||
@ -88,8 +88,8 @@ function updbashrc() {
|
||||
msg "Puede reportarnos errores en https://todo.sr.ht/~heckyel/hyperterm" \
|
||||
"You can report errors issues in https://todo.sr.ht/~heckyel/hyperterm"
|
||||
|
||||
msg "Consigue tu copia de HyperTerm en: https://git.sr.ht/~heckyel/hyperterm" \
|
||||
"Get your HyperTerm copy on: https://git.sr.ht/~heckyel/hyperterm"
|
||||
msg "Consigue tu copia de HyperTerm en: https://hgit.conocimientoslibres.ga/software/hyperterm.git" \
|
||||
"Get your HyperTerm copy on: https://hgit.conocimientoslibres.ga/software/hyperterm.git"
|
||||
printf '%b\n' "$RESET"
|
||||
else
|
||||
if [[ $(_url_exists "$URL") -eq 0 ]]; then
|
||||
|
Loading…
x
Reference in New Issue
Block a user