Use https
This commit is contained in:
parent
78e9854453
commit
5087fdbc74
@ -146,7 +146,7 @@ function rbash_upgrade {
|
|||||||
echo "Updating $__SCRIPT"
|
echo "Updating $__SCRIPT"
|
||||||
__uuid TMPID
|
__uuid TMPID
|
||||||
TMPFILE=/tmp/$TMPID
|
TMPFILE=/tmp/$TMPID
|
||||||
__download "http://git.astropenguin.net/?p=utils.git;a=blob_plain;f=bash/bashrc/rbashrc;hb=HEAD" > $TMPFILE
|
__download "https://git.astropenguin.net/?p=utils.git;a=blob_plain;f=bash/bashrc/rbashrc;hb=HEAD" > $TMPFILE
|
||||||
|
|
||||||
if [ -z "$1" ]; then
|
if [ -z "$1" ]; then
|
||||||
MC_NAME="<MACHINE_NAME>"
|
MC_NAME="<MACHINE_NAME>"
|
||||||
@ -179,7 +179,7 @@ function rbash_upgrade {
|
|||||||
|
|
||||||
function rbash_run {
|
function rbash_run {
|
||||||
echo "Getting: $1"
|
echo "Getting: $1"
|
||||||
__cacheDownload "http://git.astropenguin.net/?p=utils.git;a=blob_plain;f=$1;hb=HEAD"
|
__cacheDownload "https://git.astropenguin.net/?p=utils.git;a=blob_plain;f=$1;hb=HEAD"
|
||||||
shift
|
shift
|
||||||
__uuid TMPID
|
__uuid TMPID
|
||||||
TMPFILE=/tmp/$TMPID
|
TMPFILE=/tmp/$TMPID
|
||||||
@ -203,7 +203,7 @@ function __ns {
|
|||||||
fi
|
fi
|
||||||
|
|
||||||
echo " $1"
|
echo " $1"
|
||||||
__cacheDownload "http://git.astropenguin.net/?p=utils.git;a=blob_plain;f=bash/bashrc/$FPATH;hb=HEAD"
|
__cacheDownload "https://git.astropenguin.net/?p=utils.git;a=blob_plain;f=bash/bashrc/$FPATH;hb=HEAD"
|
||||||
shift
|
shift
|
||||||
__uuid TMPID
|
__uuid TMPID
|
||||||
TMPFILE=/tmp/$TMPID
|
TMPFILE=/tmp/$TMPID
|
||||||
|
4
python/reg-rename.py
Normal file → Executable file
4
python/reg-rename.py
Normal file → Executable file
@ -74,7 +74,9 @@ class RAction:
|
|||||||
if test:
|
if test:
|
||||||
return "R \"%s\" will be renamed to \"%s\"" % ( _from, _to )
|
return "R \"%s\" will be renamed to \"%s\"" % ( _from, _to )
|
||||||
else:
|
else:
|
||||||
os.rename( os.path.join( root, _from ), os.path.join( root, _to ) )
|
target_loc = os.path.join( root, _to )
|
||||||
|
os.makedirs( os.path.dirname( target_loc ), exist_ok = True )
|
||||||
|
os.rename( os.path.join( root, _from ), target_loc )
|
||||||
return "R \"%s\" -> \"%s\"" % ( _from, _to )
|
return "R \"%s\" -> \"%s\"" % ( _from, _to )
|
||||||
|
|
||||||
class RegReplace:
|
class RegReplace:
|
||||||
|
Loading…
Reference in New Issue
Block a user