Updated remote path

This commit is contained in:
斟酌 鵬兄 2022-08-07 22:14:45 +08:00
parent f7866cc982
commit 26888c1b95

View File

@ -146,7 +146,7 @@ function rbash_upgrade {
echo "Updating $__SCRIPT"
__uuid TMPID
TMPFILE=/tmp/$TMPID
__download "https://git.astropenguin.net/?p=utils.git;a=blob_plain;f=bash/bashrc/rbashrc;hb=HEAD" > $TMPFILE
__download "https://git.k8s.astropenguin.net/penguin/utils/raw/branch/master/bash/bashrc/rbashrc" > $TMPFILE
if [ -z "$1" ]; then
MC_NAME="<MACHINE_NAME>"
@ -179,7 +179,7 @@ function rbash_upgrade {
function rbash_run {
echo "Getting: $1"
__cacheDownload "https://git.astropenguin.net/?p=utils.git;a=blob_plain;f=$1;hb=HEAD"
__cacheDownload "https://git.k8s.astropenguin.net/penguin/utils/raw/branch/master/$1"
shift
__uuid TMPID
TMPFILE=/tmp/$TMPID
@ -203,7 +203,7 @@ function __ns {
fi
echo " $1"
__cacheDownload "https://git.astropenguin.net/?p=utils.git;a=blob_plain;f=bash/bashrc/$FPATH;hb=HEAD"
__cacheDownload "https://git.k8s.astropenguin.net/penguin/utils/raw/branch/master/bash/bashrc/$FPATH"
shift
__uuid TMPID
TMPFILE=/tmp/$TMPID